http://www.perlmonks.org?node_id=93437


in reply to Getting Linux system info

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