[Gllug] Anyone know the syntax for specifying a list of pids to watch in iotop?
Matthew King
matthew.king at monnsta.net
Fri Apr 16 20:37:28 UTC 2010
Richard Huxton <dev at archonet.com> writes:
> On 16/04/10 19:31, general_email at technicalbloke.com wrote:
>>
>> iotop -p 6719 -p 8942
>> Monitors the first but ignores the second pid altogether
>
> Looks like it works for me, long-version too
>
> iotop --pid=30954 --pid=22534
For bonus points, and less typing, iotop --pid={16981,45578}
Bash will automatically expand it into an incantation like Richard's.
Matthew
--
I must take issue with the term "a mere child", for it has been my
invariable experience that the company of a mere child is infinitely
preferable to that of a mere adult.
-- Fran Lebowitz
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list