Posted by ins0m on 09/27/07 09:54
You could simply do a parse of 'ps -aux' as C said . That won't give
you "only the hardware features"
You will get all information you need to give a detailed view.
If you are trying to get only the mem, do a "ps -aux | awk '{ print
$4}'" and for the cpu $3 (I think).
Boom, there you have your %MEM. Should be easy to write a small script
that does this few commands.
No need for a special software if you just want to have o view on the
mem / cpy usage of your processes.
Navigation:
[Reply to this message]
|