Re: RFC: patch to trigger thread stats output from cyclictest with SIGHUP

David Sommerseth
2013-03-11T16:54:00Z

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/03/13 17:25, Paul Gortmaker wrote:
> On Mon, Mar 11, 2013 at 12:16 PM, Clark Williams
> <williams@redhat.com> wrote:
>> John,
>>
>> Steven suggested a feature for cyclictest that I'd actually been
>> whining about (internally anyway). During long rteval runs
>> there's really no feedback available if you want to know how the
>> run is progressing. Steven suggested sending SIGHUP and dumping
>> the current state. Below is a patch that seems to work for
>> cyclictest; just wanted to get some feedback on whether this
>> would be acceptable behaviour.
>
> Is USR1 already in use for something? That would be consistent
> with how things like dd use USR1 signal - to report interim stats.
>
> P.

+1 ... I was just about to say exactly the same.

- --
kind regards,

David Sommerseth

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+DCsACgkQIIWEatLf4Hc4lACdHs1Cuv4u1tJxkoDOfmKXSCiL
s/gAn1XHwrcn2jiNF2Q+0EC22aj+j1Ah
=nME1
-----END PGP SIGNATURE-----