linux command

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • softy78692
    New Member
    • Jun 2007
    • 2

    linux command

    hi,
    i want to know the linux command to see memory utilization by each process individually. i have tried commands like top, ps aux,free. it does n't give the exact figure. they all considering the figure using shared memory by different process. should i have to right some scripts for identifying this.
    plz reply .
    Thanks and Regards
    Rehan Sabir
  • arne
    Recognized Expert Contributor
    • Oct 2006
    • 315

    #2
    Originally posted by softy78692
    hi,
    i want to know the linux command to see memory utilization by each process individually. i have tried commands like top, ps aux,free. it does n't give the exact figure. they all considering the figure using shared memory by different process. should i have to right some scripts for identifying this.
    plz reply .
    Thanks and Regards
    Rehan Sabir
    Have a look at /proc/<PID>/. The files stat, statm and status may contain what you need.

    HTH,
    arne

    Comment

    Working...