Date: Tue, 19 Feb 2002 01:58:35 -0600 From: "Mike Meyer" <mwm-dated-1014537515.0e16e1@mired.org> To: "Deepak Jain" <deepak@ai.net> Cc: questions@freebsd.org Subject: Re: top "STATE" question Message-ID: <15474.1451.142764.838215@guru.mired.org> In-Reply-To: <62278521@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Deepak Jain <deepak@ai.net> types: > top on a 4.2 box is using a state I am not familiar with: > > PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND > 91708 root -2 0 304K 172K RUN 0 0:21 5.03% 5.03% cp > 3080 root 28 0 2164K 1272K CPU1 0 0:02 9.52% 4.30% top > 91704 root -18 0 5852K 172K spread 1 0:20 1.32% 1.32% cp > 154 root 2 0 920K 348K select 1 7:40 0.05% 0.05% syslogd > 98070 nobody 2 0 2124K 1540K accept 0 0:00 0.05% 0.05% httpd > 3709 root 2 0 2480K 1640K sbwait 0 0:00 1.00% 0.05% sendmail > 3708 root 2 0 2448K 1576K select 1 0:00 1.00% 0.05% sendmail > > What does a "spread" state mean? This server is a multiprocessor box if it > helps. Actually, it's obvious from the top that you've got an smp machine. You don't get CPU1 and a C column on up machines. > man on top, cp, and ps make no mention of it. That's because what's being shown is a reason the developer gave for putting the process in a sleep state. In fact, that's what all the lower case ones are. From checking the kernel, the process is in an i/o wait for things on a networked file system of some kind. Are you possibly copying files over the network? <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15474.1451.142764.838215>