From owner-freebsd-questions Mon Mar 3 14: 5:25 2003 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 33CF337B401 for ; Mon, 3 Mar 2003 14:05:24 -0800 (PST) Received: from peedub.jennejohn.org (p62.246.202.123.tisdip.tiscali.de [62.246.202.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08F6043FA3 for ; Mon, 3 Mar 2003 14:05:23 -0800 (PST) (envelope-from garyj@jennejohn.org) Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.7/8.11.6) with ESMTP id h23M5KAo024568; Mon, 3 Mar 2003 23:05:20 +0100 (CET) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200303032205.h23M5KAo024568@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: "Jorge Mario G." Cc: freebsd-questions@FreeBSD.ORG Subject: Re: state of the processes? Reply-To: Gary Jennejohn In-reply-to: Your message of "Mon, 03 Mar 2003 16:54:03 EST." <3765.192.168.0.4.1046728443.squirrel@mail.linopryne.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Mar 2003 23:05:20 +0100 From: Gary Jennejohn 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 "Jorge Mario G." writes: > Hi > When i run "top" I see STATE indication the state of the proc > I would like to know where can I find information about the > different states and they do/mean > thanks > > ###### > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 2324 root 10 0 916K 304K nanslp 5:44 0.00% 0.00% svscan > 66328 root 2 0 7156K 3028K select 1:54 0.00% 0.00% httpd > ###### > I think the only place this is documented is in the source. However, the states seem pretty obvious: nanslp = sleeping in nanosleep select = waiting in select kqread = waiting on a kqueue read event piperd = waiting on a pipe read accept = waiting on accept ttyin = waiting for input from a TTY etc. --- Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message