From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: f7344,32c594a83e2d8db X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-Thread: 111308,32c594a83e2d8db X-Google-Attributes: gid111308,public X-Google-Thread: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-09-23 06:38:56 PST Xref: gmd.de comp.client-server:1323 comp.os.vms:31173 comp.sys.dec:10288 comp.sys.hp:24905 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!sol.ctr.columbia.edu!sol.ctr.columbia.edu!twilley From: twilley@dewey.nl.nuwc.navy.mil (Jack Twilley) Newsgroups: comp.client-server,comp.os.vms,comp.sys.dec,comp.sys.hp Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice sought! Date: 23 Sep 93 09:31:22 Organization: NUWC Message-ID: References: <1993Sep20.201114.18270@alpha.montagar.com> NNTP-Posting-Host: dewey.nl.nuwc.navy.mil In-reply-to: hansg@risken.vd.volvo.se's message of Wed, 22 Sep 1993 10:45:02 GMT >>>>> "Hans" == Hans Granqvist writes: Hans> peter@volvo.volvo.se (Peter H�kansson) writes: >> ps -ef | grep stupid | wc -l (count nr of processes run by >> stupid) Hans> shouldn't this be more like: Hans> ps -ef | grep stupid | grep -v grep | wc -l Hans> (since your own `ps' will show up...)? ;-) Ummm, maybe this instead: (will work for any user excepting the current one...) ps -ef | grep stupid | grep -v 'grep stupid' | wc -l Hans> -- Hans Granqvist, hansg@vd.volvo.se, VOL.VD.HANSG quam Hans> maximum credula postero Jack. -- John M. Twilley | nautilus@acm.rpi.edu | twilley@dewey.nl.nuwc.navy.mil "Our passion is like a nuclear explosion: violent anticipation, a brilliant blast of heat and light, and a beautiful sunset..." --me