From owner-freebsd-bugbusters Fri Dec 13 4:48:47 2002 Delivered-To: freebsd-bugbusters@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35E9B37B401 for ; Fri, 13 Dec 2002 04:48:44 -0800 (PST) Received: from hermes.tubas.net (dsl092-164-043.wdc1.dsl.speakeasy.net [66.92.164.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E65E43EDA for ; Fri, 13 Dec 2002 04:48:43 -0800 (PST) (envelope-from kstailey@speakeasy.net) Received: from speakeasy.net (localhost.trickster.gods [127.0.0.1]) by hermes.tubas.net (8.12.6/8.12.6) with ESMTP id gBDCmcoa070345 for ; Fri, 13 Dec 2002 07:48:38 -0500 (EST) (envelope-from kstailey@speakeasy.net) Message-ID: <3DF9D726.1040102@speakeasy.net> Date: Fri, 13 Dec 2002 07:48:38 -0500 From: Ken Stailey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021205 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bugbusters@freebsd.org Subject: ps(1) RTFM! Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugbusters@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG PS(1) FreeBSD General Commands Manual PS(1) NAME ps - process status SYNOPSIS ps [-aCcefhjlmrSTuvwxZ] [-M core] [-N system] [-O fmt] [-o fmt] [-p pid] [-t tty] [-U username[,username...]] ps [-L] [...skip ahead...] KEYWORDS The following is a complete list of the available keywords and their meanings. Several of them have aliases (keywords which are synonyms). [...skip ahead...] re core residency time (in seconds; 127 = infinity) [...skip ahead...] sl sleep time (in seconds; 127 = infinity) [...snip...] NetBSD fixed it, OpenBSD inherited the fix leaving only FreeBSD broken. What is it? It's the part about 127 = infinity which only FreeBSD get's wrong. But today I have a system running -CURRENT and Internet CVS so I went from this: cartman# ps avx PID STAT TIME SL RE PAGEIN VSZ RSS LIM TSIZ %CPU %MEM COMMAND 55925 S 0:00.56 0 936 0 1728 1400 - 880 0.0 1.3 _su (csh) 55921 Is 0:00.33 938 944 22 1672 1296 - 880 0.0 1.2 -tcsh (tcsh) 361 Is 0:00.34 1277 48063 25 8888 520 - 632 0.0 0.5 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) 1 ILs 0:01.08 603 49893 23 808 256 - 448 0.0 0.2 /sbin/init -- 57596 R+ 0:00.01 0 0 0 736 328 - 440 0.0 0.3 ps avx 55915 I 0:00.34 943 959 5 24648 2288 - 144 0.0 2.1 sshd: kstailey [priv] (sshd) 55920 S 0:02.97 0 944 0 24576 2328 - 144 0.0 2.1 sshd: kstailey@ttyp0 (sshd) 352 Is 0:04.60 943 45724 33 13600 976 - 144 0.0 0.9 /usr/sbin/sshd 398 Is 0:02.20 58 48402 142 3656 296 - 40 0.0 0.3 /usr/sbin/cron [...snip...] to this: cartman# ps vax PID STAT TIME SL RE PAGEIN VSZ RSS LIM TSIZ %CPU %MEM COMMAND 55925 S 0:00.58 0 127 0 1728 1400 - 880 0.0 1.3 _su (csh) 55921 Is 0:00.33 127 127 22 1672 1296 - 880 0.0 1.2 -tcsh (tcsh) 361 Is 0:00.34 127 127 25 8888 520 - 632 0.0 0.5 sendmail: Queue runner@00:30:00 for /var/spool/clientmqueue (sendmail) 1 ILs 0:01.08 127 127 23 808 256 - 448 0.0 0.2 /sbin/init -- 57604 R+ 0:00.01 0 0 0 736 328 - 440 0.0 0.3 ps vax 55915 I 0:00.34 127 127 5 24648 2288 - 144 0.0 2.1 sshd: kstailey [priv] (sshd) 55920 S 0:03.04 0 127 0 24576 2328 - 144 0.0 2.1 sshd: kstailey@ttyp0 (sshd) 352 Is 0:04.60 127 127 33 13600 976 - 144 0.0 0.9 /usr/sbin/sshd 398 Is 0:02.20 28 127 142 3656 296 - 40 0.0 0.3 /us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?9XS\DK\TZ#SEQ`_E>(A)5$`&?V;"&8*GF-O1OTR#167APJV)14$Q9P#C?&0 M\F<7:%B0DE'PJW@\EO84V9&*X"A9H%)[&1##58!+.5$%2$U)RA)?UPJG88H6 6$J@:RR``_Q41.1O.U._?9GZEC@P````` ` end To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugbusters" in the body of the message From owner-freebsd-bugbusters Fri Dec 13 6:23:14 2002 Delivered-To: freebsd-bugbusters@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25DF337B401 for ; Fri, 13 Dec 2002 06:23:14 -0800 (PST) Received: from hermes.tubas.net (dsl092-164-043.wdc1.dsl.speakeasy.net [66.92.164.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C8F243ED4 for ; Fri, 13 Dec 2002 06:23:13 -0800 (PST) (envelope-from kstailey@speakeasy.net) Received: from speakeasy.net (localhost.trickster.gods [127.0.0.1]) by hermes.tubas.net (8.12.6/8.12.6) with ESMTP id gBDENCoa070494 for ; Fri, 13 Dec 2002 09:23:12 -0500 (EST) (envelope-from kstailey@speakeasy.net) Message-ID: <3DF9ED50.6010003@speakeasy.net> Date: Fri, 13 Dec 2002 09:23:12 -0500 From: Ken Stailey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021205 X-Accept-Language: en-us, en MIME-Version: 1.0 To: bugbusters Subject: Re: ps(1) RTFM Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugbusters@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://www.freebsd.org/cgi/query-pr.cgi?pr=46232 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugbusters" in the body of the message