April 28th, 2013, 11:04 PM
Script to fetch CPU, Memory Usage per process
Can you pass me script to fetch CPU, Memory Usage per process in the system.
April 29th, 2013, 07:17 PM
A bit more detail of the actual need would be good - is this for every process, including system ones or just for a particular user? Is it uasge as at the moment the script is run or do you need it tracked historically? Will it be run as the root user (either directly or via sudo), or by another, standard, user?
The version of Unix you are using may also be of relevance.
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc