ribot Voice
Joined: 08 Sep 2003 Posts: 17 Location: eggbeer
|
Posted: Mon Sep 15, 2003 6:30 pm Post subject: linuxhelp: exec ps |
|
|
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. |
|