Y
Hacker News
new
|
ask
|
show
|
jobs
by
iefbr14
697 days ago
You can calculate a cpu% from the tick information (uticks,kticks,sticks) in /proc/[pid]/stat. I've done it once in a script after spending considerable time reading the manual of proc.