4 Sep
2019
4 Sep
'19
09:07
On 4/9/19 6:38 pm, Carlos E. R. wrote:
Hi,
Can I find the percent of cpu load for a process inside a script?
At worst, I can find it out from "top", but I wonder if there is a more direct way.
I'm looking at "/proc/21500/stat" or "/proc/21500/statm", but I have no idea what each value is, where are those virtual files documented.
Won't KSysGuard do this for you? BC -- A three-year-old boy was examining his testicles while taking a bath. "Mum" he asked, "are these my brains?" "Not yet," she replied. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org