From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: lawries@btinternet.com Newsgroups: gmane.os.tru64.managers Subject: Summary: Source of unexpected disk activity Date: Wed, 12 Nov 2003 19:38:33 +0000 (GMT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <6825368.1068665913087.JavaMail.root@127.0.0.1> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1068665937 30594 80.91.224.253 (12 Nov 2003 19:38:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2003 19:38:57 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Nov 12 20:38:55 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AK0pK-0007kz-00 for ; Wed, 12 Nov 2003 20:38:54 +0100 Original-Received: (qmail 12753 invoked by uid 5); 12 Nov 2003 19:38:48 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12738 invoked by uid 49493); 12 Nov 2003 19:38:47 -0000 Original-Received: from lawries@btinternet.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-1.5/5.0):. Processed in 0.6215 secs); 12 Nov 2003 19:38:47 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 12 Nov 2003 19:38:47 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HO900LCB7WMUH@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Nov 2003 14:38:47 -0500 (EST) Original-Received: from actinium.btinternet.com (actinium.btinternet.com [194.73.73.66]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTPS id <0HO90019F7W9KU@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Nov 2003 14:38:36 -0500 (EST) Original-Received: from hassium ([194.75.226.91]) by actinium.btinternet.com with esmtp (Exim 3.22 #8) id 1AK0oz-0006GN-00 for tru64-unix-managers@ornl.gov; Wed, 12 Nov 2003 19:38:33 +0000 Original-Received: from 81.129.56.70 by hassium ([194.75.226.91]); Wed, 12 Nov 2003 19:38:33 +0000 (GMT) Original-To: tru64-unix-managers@ornl.gov X-Mailer: talk21.com WAS v2 Xref: main.gmane.org gmane.os.tru64.managers:5802 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5802 I had many helpful suggestions and thank you all, suggustions included lsof, ps, collect and top. None of these really provide what I was hoping for, so perhaps here's a challange for HP of some enterprising perl scripter. What I want is a command that will tel me who and what is creating I/O activity on a given file system, perhaps ... iomonitor PID OWNER UID % of current I/O activity ============================================= 1 100 80 2 200 10 3 100 5 4 100 5 Never mind, dream on Lawrie :-) Here are some words on the subject from Alan Rollow. Not easily. Each process has an data structure associated with it that collect resource usage data, but I'm not sure this is available of ps(1). You might want to check all the ps(1) options just to be sure. And track down a copy of "top" to see if it can collect anything. One thing you might try, is to put together a list of suspect processes and send them a SIGSTOP signal. That will stop most processes without killing them. If the load goes down, you found a good suspect. Then send the process a SIGCONT to let it run again. If there are users associated with some of the suspect processes you should check with them to see if they reason to believe their process might be causing a problem. Some knowledge of the work-load change would also be useful, since it offer a clue what changed. The obvious change was either an increase in bandwidth usage or request rate. The other interesting bit of information is average I/O size. Whether it went up or down offers some clue what might have changed. Lawrie