LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Help debugging filesystem activity?
@ 2008-02-11 13:17 rzryyvzy
2008-02-11 13:28 ` Guillaume Chazarain
0 siblings, 1 reply; 3+ messages in thread
From: rzryyvzy @ 2008-02-11 13:17 UTC (permalink / raw)
To: linux-kernel
My hard disk on my server is all the time readding and writing some files (I can see it with dstat). However I would like to know which files exactly are readden or written all the time. I know that each filesystem activity goes by the VFS (virtual filesystem).
Is it possible to see all current open files in the VFS?
For example with a command like:
$ cat /proc/fs/vfs/open_files
$ cat /proc/fs/vfs/reading_files
$ cat /proc/fs/vfs/writing_files
?
Is there a possibility? It should be on the VFS level to be independent of the used filesystem.
--
Best regards
--
E-Mail sent with anti-spam site TrashMail.net!
Free disposable email addresses: http://www.trashmail.net/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help debugging filesystem activity?
2008-02-11 13:17 Help debugging filesystem activity? rzryyvzy
@ 2008-02-11 13:28 ` Guillaume Chazarain
2008-02-11 13:53 ` rzryyvzy
0 siblings, 1 reply; 3+ messages in thread
From: Guillaume Chazarain @ 2008-02-11 13:28 UTC (permalink / raw)
To: rzryyvzy; +Cc: linux-kernel
On Feb 11, 2008 2:17 PM, rzryyvzy <rzryyvzy@trashmail.net> wrote:
> $ cat /proc/fs/vfs/reading_files
>
> $ cat /proc/fs/vfs/writing_files
You can try:
# echo 1 > /proc/sys/vm/block_dump
# dmesg
HTH.
--
Guillaume
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help debugging filesystem activity?
2008-02-11 13:28 ` Guillaume Chazarain
@ 2008-02-11 13:53 ` rzryyvzy
0 siblings, 0 replies; 3+ messages in thread
From: rzryyvzy @ 2008-02-11 13:53 UTC (permalink / raw)
To: linux-kernel
Guillaume Chazarain schrieb:
> On Feb 11, 2008 2:17 PM, rzryyvzy <rzryyvzy@trashmail.net> wrote:
>
>> $ cat /proc/fs/vfs/reading_files
>>
>> $ cat /proc/fs/vfs/writing_files
>>
>
> You can try:
>
> # echo 1 > /proc/sys/vm/block_dump
> # dmesg
>
Thanks, it works. This option rocks. I did not know about that.
This is what I really like in Linux: Everything is possible.
--
Best regards,
Mika Lawando
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-11 13:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-11 13:17 Help debugging filesystem activity? rzryyvzy
2008-02-11 13:28 ` Guillaume Chazarain
2008-02-11 13:53 ` rzryyvzy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).