[opensuse-factory] getdelays command (manpage needs updating)

I am trying to use the getdelays command but am getting no output. In following up, I found no reference to a "delayacct" under the kernel command line parameters in *current* kernels. There is, however, an optional "nodelayacct" parameter documented in the 3.2.29 source. Perhaps the manpage's statement: In order to enable delay accounting, you need to specify delayacct on the kernel command line when booting the system. Is no longer the case? i.e. it appears you have to ask for it to be turned off rather than having to ask for it to be turned on. That said, in looking further, I poked around some more and I think that it documents some early version of getdelays that is no longer shipped. the "-c" param still works, but isn't documented in the command, but most importantly -- the default is to generate no output. You need to specify -d and -i getdelays [-dilv] [-w logfile] [-r bufsize] [-m cpumask] [-t tgid] [-p pid] -d: print delayacct stats -i: print IO accounting (works only with -p) -l: listen forever -v: debug on -C: container path ----- And I don't know what the output is supposed to look like with "-i" on, but it does generate output with the undocumented "-c" -- namely: printing IO accounting MYBIN read=0, write=2125111296, cancelled_write=1743396864 Whereas "-d" prints: print delayacct stats ON PID 25910 CPU count real total virtual total delay total delay average 2511 14548788248 14521269812 28907129 0.012ms IO count delay total delay average 154 8827645719 57ms SWAP count delay total delay average 0 0 0ms RECLAIM count delay total delay average 803 450266 0ms ---- Using -id prints both sections, but running getdelays with "-c" alone isn't very useful in the current version... (Thought this was just going to be a mention of the kernel param change, but.. in finding out the cause... looks like there's a bit more too it)... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Linda Walsh