On Mon, May 12, 2003 at 22:13 -0700, Terry Lambert wrote: > > A "ps -gaxl" will print the wait channel, which may be more > informative. Out of curiousity: What is the -g switch doing? `man ps` does not list it (yes, I had my pager search for "-g", it's not just the synopsis). -------- 8< -------- snip snip -------- >8 -------- $ gunzip < /usr/share/man/man1/ps.1.gz | ident - $FreeBSD: src/bin/ps/ps.1,v 1.61 2003/04/30 19:18:50 schweikh Exp $ $ man ps 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] DESCRIPTION ... -------- 8< -------- snip snip -------- >8 -------- Looking at the source (local, considered to be up to date) I saw this: -------- 8< -------- snip snip -------- >8 -------- $ ident ps.c $FreeBSD: src/bin/ps/ps.c,v 1.62 2003/02/05 13:18:17 charnier Exp $ $ $PAGER ps.c ... while ((ch = getopt(argc, argv, PS_ARGS)) != -1) switch((char)ch) { case 'a': all = 1; break; ... case 'g': break; /* no-op */ ... -------- 8< -------- snip snip -------- >8 -------- Is the -g option there for compatibility reasons? Should the manpage state this fact? BTW is `cvs log ps.c | grep -e -g` empty, too. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig_at_gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you.Received on Tue May 13 2003 - 12:22:43 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:07 UTC