Date: Fri, 13 Dec 2002 07:48:38 -0500 From: Ken Stailey <kstailey@speakeasy.net> To: bugbusters@freebsd.org Subject: ps(1) RTFM! Message-ID: <3DF9D726.1040102@speakeasy.net>
next in thread | raw e-mail | index | archive | help
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 /usr/sbin/cron 55924 I 0:00.21 127 127 2 18328 1544 - 16 0.0 1.4 su with this: begin 644 ps.patch.current.gz M'XL("-/6^3T``W!S+G!A=&-H+F-U<G)E;G0`O59M<]I&$/XL_8H=.G4D$)8$ M&+GR.''JV`XUQ1Y>OO0+(TLG<T%(FM,)[";^[]D[\2('W,*T$X;AI+O=9U]N M=Q\^0)H=IQ[W)VHG#LB3"U/RO$A8<.RKY__]H_8O!Q#2B+A@3I(9,6-_GID9 M\\T'&IMI9JZM&7.5$<XHF=/X$1@N&4UBL(]/3M6`AB'4<Z@S\5KRL%ZO;]Z4 MAF4U3-LR&RVP+!>_)XXB]6NUVI88?IM@-]Q6V[4;ZL4%U.U6PW"@5BP7%RHH M7RMI2H.*`97[^\XG7'NC;M<`RX#IW&.K5SSJ7O4,N+V[OM:F="QT=`-&G=[0 M0!`%SZ__'*+:BU%@,BHA^YTR(NZNWIIRX_+SQ_[Z'%7KJ,J(T.Q?O>5*<^-% MMN!T1E9^0`7#4&N[(#J]:[OA'(2#0:V"88]%@OHW;R=H]$."A(XN40K,42E! M\B+:)_(BY"(O8BE8>:ILTIC1QYF7387QW[MWE[=7;]H_+453*)6MKT%%@K-( MX`VZ^R0X2G=G>`OCWS*\"ZB4XHQ[C$O(X<?^L!1F]X_18/AM-+C".I%")%@= M.3^6T`IPV>18;3'_22V^M/5F@SOM5PWNM-?>B?9>/J^;NVF#W71;MML4S8VZ MHKE?"VVW=MMQC*8%-;FVBYJJ^BEJGL.[ZKLS?%U,,`30M-5V-10/NHYG>*MF M%7^@"KV$$^`3C^,/@4IQLQ7P)\2?`LT@B:-G"!,&>8RE%I,``H][4M=4:[\$ M)*0QP7NY'1>J6JPKBJ;A`N_194>'HR/0YO7W8>0]PM&R='3X(`[!!134-S@W M5T.-/Z=$8%3E$U3UAQ0E,*!L07&J2S`I`U]QT_<R(LO"Q7)7M'F"G2B3%VI) M..,&H/2"!GQB0%7S)QXK`,\P@G^6%JX(>9DP17E@Q)N>K0R.]K68C_\WFX// M=_WA/C:S2<+X(2:EPNXX]S::CP\R6RH8X<%26]_I!,Z0?3S`[4."QH/=(>]I M+A\?8'`K7&E]E_GN7>]F'_-1@C/G@'"%_.YX][68CP^QN15QX<`N#V[OA]A+ M<*`#8@HZMFVTH>;8CG%:S$"<(UX><0E'&'O2;*29/)[&R2(&.4]^%>R^&B'" MAQ<</SF22%CR>;V%OJOP@A,3A&]KLLF.)S^':=#0FS1CMU[1C-TJ_)(<@P]K M@K&0.QS7_LUMMA6I)0EF(U%FEZ;,Z\FI2"O^%O]6EM-9D?2L6$]60T'^@(B$ M'+S@2YYQI`E(<I[F'#3./!H)5Q\B+YYFNB"*-83@=H'0D@@Q(4$&>488TCW+ M?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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DF9D726.1040102>