This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

linuxhelp: exec ps

Old posts that have not been replied to for several years.
Locked
r
ribot
Voice
Posts: 17
Joined: Mon Sep 08, 2003 4:01 pm
Location: eggbeer
Contact:

linuxhelp: exec ps

Post by ribot »

i have seen in a script where they use:

exec ps --format=rss --noheading $botpid

to get the memory that the bot uses. I wonder how i can do something similar to get 1) the memory usage of bash, 2) total memory usage of shell computer, 3) total processor usage of shell computer.
Locked