Seeing What's Going On
Hi, From time to time, I can detect patterns of activity on my system that I cannot readily tie to a particular process. E.g., right now there's a regular activity on my root device. GKrellm shows an ongoing stream of writes (I have read and write activity separated in the disk display). How might I connect this activity to the process that's causing it? Lsof is currently producing about 4500 lines of output, e.g. Thanks in advance for any ideas. Randall Schulz
Randall R Schulz wrote:
Hi,
From time to time, I can detect patterns of activity on my system that I cannot readily tie to a particular process.
Randall Schulz
If, and only if, you have kernel 2.4 you can use Filemon from Sysinternals: http://www.sysinternals.com/linux/utilities/filemon.shtml - James W.
James Wright wrote:
Randall R Schulz wrote:
Hi,
From time to time, I can detect patterns of activity on my system that I cannot readily tie to a particular process. Randall Schulz
If, and only if, you have kernel 2.4 you can use Filemon from Sysinternals:
http://www.sysinternals.com/linux/utilities/filemon.shtml
- James W.
Or this may do what you want: http://freshmeat.net/projects/sysstat/ *About:* The sysstat package contains the sar, mpstat, and iostat commands for Linux. The sar command collects and reports system activity information. This information can also be saved in a system activity file for future inspection. The iostat command reports CPU statistics and I/O statistics for tty devices and disks. The statistics reported by sar concern I/O transfer rates, paging activity, process-related activites, interrupts, network activity, memory and swap space utilization, CPU utilization, kernel activities, and TTY statistics, among others. Both UP and SMP machines are fully supported.
James, On Tuesday 03 May 2005 07:36, James Wright wrote:
Randall R Schulz wrote:
Hi,
From time to time, I can detect patterns of activity on my system that I
cannot readily tie to a particular process.
Randall Schulz
If, and only if, you have kernel 2.4 you can use Filemon from Sysinternals:
Nope. 2.6.11.
But it was worth finding out that SysInternals now has Linux software, too. Exactly one piece of Linux software, it seems, and that is accompanied by some snide commentary about how Linus broke their kernel hack...
- James W.
Randall Schulz
Randall R Schulz wrote:
James,
On Tuesday 03 May 2005 07:36, James Wright wrote:
Randall R Schulz wrote:
Hi,
From time to time, I can detect patterns of activity on my system
that I
cannot readily tie to a particular process.
Randall Schulz
If, and only if, you have kernel 2.4 you can use Filemon from Sysinternals:
Nope. 2.6.11.
But it was worth finding out that SysInternals now has Linux software, too. Exactly one piece of Linux software, it seems, and that is accompanied by some snide commentary about how Linus broke their kernel hack...
- James W.
Randall Schulz
If they are too lazy to keep up with kernel developments, we should be making fun of them instead. 2.6 has been out for a long time now and it demonstrates how leaden-footed many proprietaries are. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux for all Computing Tasks
participants (3)
-
James Wright
-
Randall R Schulz
-
Sid Boyce