KDE

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • monitor file system activity

    14 answers - 521 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi,
    When I run KDE my disk gets accessed every fraction of a second. I
    would like to find out what is doing this. I've been trying to kill
    processes but nothing short of "init 3" seems to help so far.
    Can anyone suggest a tool that will tell me in real time what file is
    being accessed by which process? Something like FileMon but for Linux
    (couldn't find the Linux version).
    Thanks!
    Navin.

    >Visit #unsub to unsubscribe <<
  • No.1 | | 805 bytes | |

    Saturday 15 July 2006 21:59, Navindra Umanee wrote:
    Hi,

    When I run KDE my disk gets accessed every fraction of a second. I
    would like to find out what is doing this. I've been trying to kill
    processes but nothing short of "init 3" seems to help so far.

    Can anyone suggest a tool that will tell me in real time what file is
    being accessed by which process? Something like FileMon but for Linux
    (couldn't find the Linux version).

    Thanks!
    Navin.

    Do you know whether or not polling is used when watching for file system
    changes? That could be one of the causes. I would suggest using either famd
    or the new inotify support (if your kernel supports it) to watch for changes
    and see if that helps.

    than that, I don't have any ideas.
  • No.2 | | 699 bytes | |

    Matt Rogers <mattr (AT) kde (DOT) orgwrote:
    Do you know whether or not polling is used when watching for file system
    changes? That could be one of the causes. I would suggest using either famd

    I am not sure. Previously "ps x" showed that gam_server was running.
    I killed gam_server but it kept respawning. I moved the binary and
    that prevented gam_server from running but didn't solve the problem.

    or the new inotify support (if your kernel supports it) to watch for changes
    and see if that helps.

    Thanks, I'll see if I can figure that out.

    Cheers,
    Navin.

    >Visit #unsub to unsubscribe <<
  • No.3 | | 799 bytes | |

    Navindra Umanee (a):
    Hi,

    When I run KDE my disk gets accessed every fraction of a second. I
    would like to find out what is doing this. I've been trying to kill
    processes but nothing short of "init 3" seems to help so far.

    Can anyone suggest a tool that will tell me in real time what file is
    being accessed by which process? Something like FileMon but for Linux
    (couldn't find the Linux version).

    lsof prints all open files for all processes.

    HTH

    Krzysztof Lichota


    >Visit #unsub to unsubscribe <<


    PGP SIGNATURE
    Version: GnuPG v1.4.2.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    cypoMcrtwD4pyJBGw6nJGo8=
    =stLT
    PGP SIGNATURE
  • No.4 | | 1173 bytes | |

    Sunday July 16 2006 09:11, Krzysztof Lichota wrote:
    Navindra Umanee (a):
    When I run KDE my disk gets accessed every fraction of a second. I
    would like to find out what is doing this. I've been trying to kill
    processes but nothing short of "init 3" seems to help so far.

    Can anyone suggest a tool that will tell me in real time what file is
    being accessed by which process? Something like FileMon but for Linux
    (couldn't find the Linux version).

    lsof prints all open files for all processes.

    Which is useless because it does not show _activity_.

    Btw, I had a similar problem on my laptop and found klaptopdaemon to print out
    some ugly "QFile: Cannot open file" error into ~/.xession-errors every few
    seconds (it's even a bug on b.k.o). I have similar activity on my pc but
    couldn't find out what's keeping the hdd busy (no klaptopdaemon here of
    course).

    Bye
    Stefan aka mETz


    >Visit #unsub to unsubscribe <<


    PGP SIGNATURE
    Version: GnuPG v1.4.3 (GNU/Linux)

    hFffDZhyEWHx2pi8Lwcp4IE=
    =JBa/
    PGP SIGNATURE
  • No.5 | | 497 bytes | |

    Sunday 16 July 2006 12:30, mETz wrote:

    Btw, I had a similar problem on my laptop and found klaptopdaemon to print
    out some ugly "QFile: Cannot open file" error into ~/.xession-errors every
    few seconds (it's even a bug on b.k.o). I have similar activity on my pc
    but couldn't find out what's keeping the hdd busy (no klaptopdaemon here of
    course).

    Try killing kded. If that fixes it, disable one module at a time and try to to
    work out the guilty party.
  • No.6 | | 344 bytes | |

    I was thinking of trying to do a file modified page for ksysguard.

    inotify can do recursive watches right? I can watch "/" ?

    Alternatively do lsof then pipe to ls to return the last modified
    and last accessed (if available) times.

    John

    >Visit #unsub to unsubscribe <<
  • No.7 | | 959 bytes | |

    Hi,

    Sat, Jul 15, 2006 at 10:59:47PM -0400, Navindra Umanee wrote:
    When I run KDE my disk gets accessed every fraction of a second. I
    would like to find out what is doing this. I've been trying to kill
    processes but nothing short of "init 3" seems to help so far.

    Can anyone suggest a tool that will tell me in real time what file is
    being accessed by which process? Something like FileMon but for Linux
    (couldn't find the Linux version).

    echo 1 /proc/sys/vm/block_dump

    Any access to block devices will be reported via syslog.
    Be careful with that. It's rather easy to fill your disk with logfiles
    with this.

    echo 0 /proc/sys/vm/block_dump

    to switch it off.

    michael


    >Visit #unsub to unsubscribe <<


    PGP SIGNATURE
    Version: GnuPG v1.4.2.2 (GNU/Linux)

    2LcHrw0w9iLKuhzLv6mzMuU=
    =lM9q
    PGP SIGNATURE
  • No.8 | | 251 bytes | |

    Michael,
    Is there a way to monitor disk I without streaming it to syslog?
    It would be good to find a way to do this in a nice way in ksysguard.
    John

    >Visit #unsub to unsubscribe <<
  • No.9 | | 1036 bytes | |

    Sun, Jul 16, 2006 at 03:50:31PM +0200, Michael Buesch wrote:
    Sunday 16 July 2006 15:53, Michael wrote:
    echo 1 /proc/sys/vm/block_dump

    Any access to block devices will be reported via syslog.
    Be careful with that. It's rather easy to fill your disk with logfiles
    with this.

    echo 0 /proc/sys/vm/block_dump

    Uhm, stupid question:
    Won't that create a bomb?
    disk access logged -syslog -write to disk -jump to beginning of line

    Hmmm, one would think so. It never happened to me though. I'm not sure
    why. Possibly because I have configured syslog-ng to not write the files
    immediately. But I thought I used it with other syslog configutations
    too. It is possible that there is some kind of saveguard in the kernel
    code for exactly this situation.

    michael


    >Visit #unsub to unsubscribe <<


    PGP SIGNATURE
    Version: GnuPG v1.4.2.2 (GNU/Linux)

    NcMr9+0gsvLQlKgQwZjhfoM=
    =TiMo
    PGP SIGNATURE
  • No.10 | | 365 bytes | |

    Thank you for the very informative responses.

    Chris was right, killing kded solved my problem. I'll try to narrow
    it down further.

    I look forward to playing around with block_dump just the same and a
    new mode in KSysGuard. :-)

    Thanks!
    Navin.


    >Visit #unsub to unsubscribe <<
  • No.11 | | 305 bytes | |

    I look forward to playing around with block_dump just the same and a
    new mode in KSysGuard. :-)

    Well someone will have to help me on how to do it :) If you find a
    good way, let me know.
    Thanks

    John

    >Visit #unsub to unsubscribe <<
  • No.12 | | 567 bytes | |

    Sunday 16 July 2006 14:50, John Tapsell wrote:

    I was thinking of trying to do a file modified page for ksysguard.

    inotify can do recursive watches right?
    I'm pretty sure it can't.

    I can watch "/" ?

    Alternatively do lsof then pipe to ls to return the last modified
    and last accessed (if available) times.

    John

    Visit #unsub to
    unsubscribe <<

    Here's a good text about testing Inotify:

    //Niels


    >Visit #unsub to unsubscribe <<
  • No.13 | | 254 bytes | |

    Chris was right, killing kded solved my problem. I'll try to narrow
    it down further.
    Culprit turned out to be KDED Media Manager.
    Thanks!
    Navin.

    >Visit #unsub to unsubscribe <<
  • No.14 | | 890 bytes | |

    Sunday 16 July 2006 15:53, Michael wrote:
    Hi,

    Sat, Jul 15, 2006 at 10:59:47PM -0400, Navindra Umanee wrote:
    When I run KDE my disk gets accessed every fraction of a second. I
    would like to find out what is doing this. I've been trying to kill
    processes but nothing short of "init 3" seems to help so far.

    Can anyone suggest a tool that will tell me in real time what file is
    being accessed by which process? Something like FileMon but for Linux
    (couldn't find the Linux version).

    echo 1 /proc/sys/vm/block_dump

    Any access to block devices will be reported via syslog.
    Be careful with that. It's rather easy to fill your disk with logfiles
    with this.

    echo 0 /proc/sys/vm/block_dump

    Uhm, stupid question:
    Won't that create a bomb?
    disk access logged -syslog -write to disk -jump to beginning of line

Re: monitor file system activity


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "KDE"

EMSDN.COM