On Sat, 2003-11-29 at 17:47, Andrew Cowie wrote: > On Sun, 2003-11-30 at 03:35, Renat Golubchyk wrote: > > You can also use the "watch" command, e.g. "watch ps aux" would run "ps aux" > > every 2 seconds and display the results. If you want to run it every 30 > > seconds just do "watch -n 30 ps aux". "man watch" for details. BTW, watch is > > in sys-apps/procps package, so you already have it. > > This is fantastic. I've wanted a command like this for years. > > You know what I love about the *nix community? There are always things > you don't know, but people out there will actually help and offer > suggestions. > > Thanks for the tip, Renat. > > AfC > > > -- > [EMAIL PROTECTED] mailing list >
And here is a poor man's watch in those cases where watch is not available on the system your using: while true; do clear; date; echo; ps aux; sleep 30; done -- [EMAIL PROTECTED] mailing list
