This is one Ubuntu 9.10 server.

Also how to see memory usage per process?

Thanks

link|improve this question
feedback

2 Answers

Try this:

ps axo pid,ppid,rss,vsz,nlwp,cmd

Output columns:

  • pid - Process ID
  • ppid - Parent Process ID
  • rss - Resident Set Size - physical memory
  • vsz - Virtual Set Size - virtual memory
  • nlwp - Number of Light Weight Processes - thread count
  • cmd - Command
link|improve this answer
feedback

Use the following to show the memory use of a single process:

pmap -d <PID>
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.