Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

How can I find how much memory spent by each process?

How can I find how much memory spent by each process?
thanks.
0
gabbro_lan
Asked:
gabbro_lan
  • 2
1 Solution
 
yuzhCommented:
use can use:

pmap -l pid

man pmap to learn more.

Or use:

/usr/bin/ps -e -o pid,vsz,rss,comm

where:
vsz -- memory consumption (RAM + swap space)
rss -- memory consumption (RAM only)

man ps to learn more details

0
 
yuzhCommented:
why a B grade?

Please have a look at the following page, about Proper Grading:

http://www.cityofangels.com/Experts/New_Users.htm
http://www.cityofangels.com/Experts/Member_Tips.htm

It will help you to learn how to use EE.

Thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now