lkml.org 
[lkml]   [2008]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How to find out, what "pdflush" is working on
From
Date

> [...]
>> Is there a way to find out what a certain instance of "pdflush" is
>> working on? Like which block-device or which fliesystem it is
>> writing to? [...]

Something based upon the following systemtap script may help:

probe kernel.function("__writeback_single_inode") {
if (execname() == "pdflush")
printf("pdflush %d writeback bdev %x inode %x\n", tid(), $inode->i_rdev, $inode->i_ino)
}

Other fields are available as $inode->FOO.

- FChE


\
 
 \ /
  Last update: 2008-09-26 23:29    [W:0.056 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site