I am assuming it needs to be calculated since I am not seeing a field anywhere in there.
I am already parsing the data, but having trouble figuring out what calculation I need to do. I am looking for the same value top displays as %CPU.
I'm trying to do this purely in perl, without C or running ps in backticks...
In reply to Calculating percent cpu in linux? by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |