Re: Utility to assess which process is doing disk I/O
On 2005-04-13, Bob Alexander penned:
> This morning I noticed the HD light was on for a few minutes.
> Probably some disk cleanup from a cron job.
>
> I'd like to have some command which when launched would show me the
> live processes owner programs and the I/O they are doing.
>
> I tried looking for a "top like" command which showed I/O (tried
> atop and atsar but did not seem to fit).
>
> Any ideas ?
>
How about lsof?
# dpkg -p lsof
Package: lsof
Priority: standard
Section: utils
Installed-Size: 532
Maintainer: Jim Mintha <jmintha@debian.org>
Architecture: i386
Version: 4.74.dfsg.3-2
Replaces: lsof-2.2 (<< 4.73), lsof-2.0.35, lsof-2.0.36, lsof-2.0.38
Depends: libc6 (>= 2.3.2.ds1-4)
Conflicts: suidmanager (<< 0.50)
Filename: pool/main/l/lsof/lsof_4.64-1_i386.deb
Size: 335492
MD5sum: 8e750326476113d4327c2d82da641e34
Description: List open files.
Lsof is a Unix-specific diagnostic tool. Its name stands
for LiSt Open Files, and it does just that. It lists
information about any files that are open, by processes
currently running on the system.
--
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
Reply to: