in reply to Getting Linux system info

If you don't want to invoke shell, Proc::ProcessTable is what you need here.