From owner-freebsd-current@FreeBSD.ORG Tue May 13 14:22:43 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E328537B404 for ; Tue, 13 May 2003 14:22:43 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 57E4443F85 for ; Tue, 13 May 2003 14:22:42 -0700 (PDT) (envelope-from Gerhard.Sittig@gmx.net) Received: (qmail 17381 invoked by uid 65534); 13 May 2003 21:22:40 -0000 Received: from p50910C83.dip0.t-ipconnect.de (EHLO mail.gsinet.sittig.org) (80.145.12.131) by mail.gmx.net (mp023-rz3) with SMTP; 13 May 2003 23:22:40 +0200 Received: (qmail 26824 invoked from network); 13 May 2003 20:54:32 -0000 Received: from shell.gsinet.sittig.org (192.168.11.153) by mail.gsinet.sittig.org with SMTP; 13 May 2003 20:54:32 -0000 Received: (from sittig@localhost) by shell.gsinet.sittig.org (8.11.3/8.11.3) id h4DKsUD26820 for freebsd-current@FreeBSD.org; Tue, 13 May 2003 22:54:30 +0200 (CEST) (envelope-from sittig) Date: Tue, 13 May 2003 22:54:30 +0200 From: Gerhard Sittig To: freebsd-current@FreeBSD.org Message-ID: <20030513225430.G26888@shell.gsinet.sittig.org> Mail-Followup-To: freebsd-current@FreeBSD.org References: <200305121726.h4CHQOM7048113@gw.catspoiler.org> <3EC07EF9.9D8CA96C@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3EC07EF9.9D8CA96C@mindspring.com>; from tlambert2@mindspring.com on Mon, May 12, 2003 at 10:13:29PM -0700 Organization: System Defenestrators Inc. Subject: Re: mtv leaves a zombie after exit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2003 21:22:44 -0000 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@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you.