in reply to Re: Memory Monitoring
in thread Memory Monitoring

I think there might be some portability issues, as those flags don't work on the versions of top that I have. (Solaris and MacOS):

Solaris:

$ top -n1 -c -b top: illegal option -- 1 Top version 3.5beta12 Usage: top [-ISbinqu] [-d x] [-s x] [-o field] [-U username] [number]

MacOS

$ top -n1 -c -b top: Invalid argument: -c -b top usage: top [-a | -d | -e | -c <mode>] [-F | -f] [-h] [-k] [-L | -l <samples>] [-o <key>] [-O <skey>] [-R | -r] [-s <delay>] [-T | -t] [-U <user>] [-u] [-W | -w] [-X | x] [[-n] <nprocs>]

Replies are listed 'Best First'.
Re^3: Memory Monitoring
by salva (Canon) on Apr 25, 2005 at 14:07 UTC
    oops, it seems that there are several top implementations, with incompatible command line options...