|
|
Subscribe / Log in / New account

About documentation...

About documentation...

Posted Jul 25, 2007 20:43 UTC (Wed) by mingo (guest, #31122)
In reply to: About documentation... by i3839
Parent article: Interview with Con Kolivas (APC)

any way to reset those stats?

Yeah: you can reset them on a per-task/thread basis by writing 0 to the /proc/[PID]/sched file. Then they'll go down to 0. (Unprivileged users can do it to, to their own tasks. root can reset it for everyone.)

You can reset it periodically as well if you want to sample/profile their typical sleep/block behavior.


to post comments

About documentation...

Posted Jul 25, 2007 21:54 UTC (Wed) by i3839 (guest, #31386) [Link]

Yes, I figured that out by doing the only logical thing I could think of. :-)
Good interface.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds