Re: ps in *term from Wharf .. how pls?

Albert Dorofeev albert@mail.dma.be
Fri, 22 Jan 1999 15:32:20 +0100 (CET)


There is a nice tool called "watch". If you run like this:

watch ps

it will run 'ps' every two seconds and keep the screen
updated. It quits when you press ctrl-c
So your line will be:

*Wharf ps Gear.xpm Exec "-" aterm -tr -e watch ps au &

> I believe that the problem is that when you use the -e argument for any
> term, the lifespan of the terminal is the same as the lifespan of the
> program that you are running.  Since ps immediately quits after printing
> out some process info, the aterm quits as well.  
> 
> As for how to do what you're trying to do, I'm not sure.
> > 
> > But trying a similar thing with "ps":
> > *Wharf ps Gear.xpm Exec "-" aterm -tr -e ps au &
> > results in the aterm popping open for a split second then closing. I've tried

-- 
Albert Dorofeev http://www.tigr.net/ http://bewoner.dma.be/Albert/
fingerprint = C9 49 D0 F3 41 FA 8C D8  E9 5C 6A D4 F1 6D 65 15
Anything good in life is either illegal, immoral or fattening.

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html