1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Rep Power

    Script to fetch CPU, Memory Usage per process

    Hi All,

    Can you pass me script to fetch CPU, Memory Usage per process in the system.

  2. #2
  3. Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2006
    Rep Power
    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

IMN logo majestic logo threadwatch logo seochat tools logo