TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:11971] howto question



Dave Erickson wrote:
> 
#!/bin/sh
top:
ps aux > /path/to/file
sleep 30s
goto top

is that what you wanted?

> Dave Sherohman wrote:
> >
> > Dave Erickson said:
> > > I would like to use the "rt" program to display "top" in my root window.
> >
> > Given the way that top operates, I'm not so sure that this is possible the
> > way you're thinking of doing it.  In theory, I suppose you could have top
> > dump its data into a named pipe and use that as the source for rt, but that
> > doesn't seem like a very useful way to do it...
> >
> > There is, however, another option which is probably closer to what you want:
> > Use a maximized, transparent Eterm with top running in it.  (Any other *term
> > that supports transparency would work, of course, and you'd probably want to
> > set it to 'stay on bottom' if your window manager supports it.)
> >
> 
> What if I used "ps aux" and set it to refresh every so often? This is
> what I tried first but I am not quite sure about how to output "ps" to a
> file.
> 
> --
> Dave Erickson
> "I'd rather be a failure in something that
>  I love than a success in something I don't."
>                          -- George Burns
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org

-- 
Adam Maloney
Systems Administrator
Internet Exposure, Inc.