Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 2006 17:45:48 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: What denotes a 'blocked' process?
Message-ID:  <20060627074548.GA714@turion.vk2pj.dyndns.org>
In-Reply-To: <20060626124226.Y1114@ganymede.hub.org>
References:  <20060626120842.Q1114@ganymede.hub.org> <20060626124226.Y1114@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060627074548.GA714>