Path: utzoo!utgpu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!rutgers!cs.widener.edu!brendan From: brendan@CS.WIDENER.EDU (Brendan Kehoe) Newsgroups: alt.hackers Subject: Re: Something fun Message-ID: Date: 6 Mar 91 16:56:20 GMT Sender: nobody@rutgers.rutgers.edu Reply-To: brendan@cs.widener.edu Organization: Widener CS Dept Lines: 28 Approved: nobody@rutgers.rutgers.edu In , q.p.liu wrote: > Already done by [t]csh: > > [2 lyman:11:33:12] csh > lyman% ps > PID TT STAT TIME COMMAND > 15926 p0 S 0:00 /usr/gnu/bin/bash -i > 15930 p0 S 0:00 -sh (csh) > 15931 p0 R 0:00 ps > 15855 q7 I 0:01 -bash (bash) > 15890 q7 S 0:27 emacs -f vm > lyman% [2 lyman:11:33:56] Bzz .. check out ps -x. I think sps includes a program called argv0 that does what Joe's program did. ObHack: installed a DecStation 2100 & for some reason setld was dying when trying to load the mandatory subsets. Turns out install.tmp/whoami was core dumping. The fix? Replaced it with a shell script that just did "echo root". -- Brendan Kehoe - Widener Sun Network Manager - brendan@cs.widener.edu Widener University in Chester, PA A Bloody Sun-Dec War Zone -- Brendan Kehoe - Widener Sun Network Manager - brendan@cs.widener.edu Widener University in Chester, PA A Bloody Sun-Dec War Zone