Memory Accounting, JDKs [was: Re: [Techtalk] Java on Linux]
Kathryn Hogg
kjh at flyballdogs.com
Thu Jan 10 19:49:38 EST 2002
> The problem is that it's hard to watch top in a cron job ;o) I need to
> know what things look like when I'm not here (and when nobody's here).
>
> That was everyone's gut response -- look at top! But then when they
> were reminded that top was a tool you watch not a tool you parse, they
> thought twice ("there must be a way in ps! let's try ps!").
would "top -b" help? From the top manpage:
b Batch mode. Useful for sending output from top to
other programs or to a file. In this mode, top will
not accept command line input. It runs until it pro
duces the number of iterations requested with the n
option or until killed. Output is plain text suitable
for display on a dumb terminal.
--
Kathryn
More information about the Techtalk
mailing list