From owner-freebsd-stable@FreeBSD.ORG Tue Jun 27 07:46:02 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 768F816A402 for ; Tue, 27 Jun 2006 07:46:02 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E8DF43D78 for ; Tue, 27 Jun 2006 07:45:51 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail07.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k5R7jnig030172 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 27 Jun 2006 17:45:49 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k5R7jnN8000981; Tue, 27 Jun 2006 17:45:49 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k5R7jmLh000980; Tue, 27 Jun 2006 17:45:48 +1000 (EST) (envelope-from peter) Date: Tue, 27 Jun 2006 17:45:48 +1000 From: Peter Jeremy To: "Marc G. Fournier" Message-ID: <20060627074548.GA714@turion.vk2pj.dyndns.org> References: <20060626120842.Q1114@ganymede.hub.org> <20060626124226.Y1114@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: <20060626124226.Y1114@ganymede.hub.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: What denotes a 'blocked' process? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 07:46:02 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Looking at the sources: The 'blocked' column in vmstat is the sum of (struct vmtotal).t_dw /* jobs in ``disk wait'' (neg priority) */ and (struct vmtotal).t_pw /* jobs in page wait */ 'systat -v' splits these into two fields (Proc:d and Proc:p) as does sysctl vm.vmtotal It's difficult to map these counters onto ps output. State 'D' and 'W' should catch most of them. You might find it useful looking through the MWCHAN column for anything looking suspicious. --=20 Peter Jeremy --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEoOIr/opHv/APuIcRAlkxAJ0e1dVZU3iCrlKU6kS5L0tfHyYr/ACgjwUX fgpsw8qTHfjpF31uRYlo94o= =SROZ -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--