From owner-freebsd-questions Mon Feb 18 23:58:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mired.org (dsl-64-192-6-133.telocity.com [64.192.6.133]) by hub.freebsd.org (Postfix) with SMTP id 27C7A37B402 for ; Mon, 18 Feb 2002 23:58:38 -0800 (PST) Received: (qmail 65114 invoked by uid 100); 19 Feb 2002 07:58:35 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15474.1451.142764.838215@guru.mired.org> Date: Tue, 19 Feb 2002 01:58:35 -0600 To: "Deepak Jain" Cc: questions@freebsd.org Subject: Re: top "STATE" question In-Reply-To: <62278521@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.46 (Python 2.2; freebsd-4.5-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Deepak Jain 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? 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