From owner-freebsd-questions@FreeBSD.ORG Mon Oct 4 13:15:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1C7D16A4CE for ; Mon, 4 Oct 2004 13:15:03 +0000 (GMT) Received: from web53308.mail.yahoo.com (web53308.mail.yahoo.com [206.190.39.237]) by mx1.FreeBSD.org (Postfix) with SMTP id 7A97643D1F for ; Mon, 4 Oct 2004 13:15:03 +0000 (GMT) (envelope-from non_secure@yahoo.com) Message-ID: <20041004131500.9587.qmail@web53308.mail.yahoo.com> Received: from [80.198.126.97] by web53308.mail.yahoo.com via HTTP; Mon, 04 Oct 2004 06:15:00 PDT Date: Mon, 4 Oct 2004 06:15:00 -0700 (PDT) From: Joe Schmoe To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: tracking per process IO usage / stats ... help needed.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 13:15:04 -0000 I have a FreeBSD system (4.9) running a fair number of processes in a multi-user / shell hosting environment. One problem that routinely comes up is that the system will seem to be fine in terms of CPU, and none of the top 10 or 15 processes that I see in "top" are using much CPU ... but the load average is very high - sometimes as high as 30 or 40 ... I have good reason to suspect that the load is high due to I/O. I can see the number of processes blocking on I/O in vmstat, and I can see iostat for the entire machine, of course ... BUT HOW do I see on a per process basis which processes are using the most I/O time ? It does not help me to simply see that the system is using a lot of I/O ... I need to know which processes specifically are guilty, and to see them in some kind of ranked order, just like "top" shows me for CPU usage. So what would you recommend ? Is there some way of interpreting "top" to see that, or a way to tell "top" to show me based on I/O instead of CPU ? Any suggestions appreciated. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com