[SSI-devel] Re: [SSI-users] changes to "top" on OpenSSI
Brought to you by:
brucewalker,
rogertsang
From: Bruce W. <br...@ka...> - 2004-10-16 05:30:30
|
Roopa, Steve, I would suggest that we just substitute the NODE column for the %mem column when the top is running in "globalview". In localview it should be idential to base top. In globalview (default), we should leave out many of the intro fields (which aren't clusterwide) and substitute the NODE column for the %mem column, which currently is bogus because it is giving the %mem of the process relative to the amount of memory on the node the top is running on and not relative to the memory on the node where each process is running. bruce > Greetings: > > The use of 'top' is not always interactive. > > One of the ways in which we use the 'top' command is as a "snapshot" > from the command line, in "batch" mode, meaning: > > # top -bn1 > > (Note: this will work under both RedHat and Debian - don't know about > other flavors.) > > This is useful in scripts, or when the machine is having some sort > of problem and we don't want to load it up further, but *do* want > to see what's hogging the CPU. The '--shownode' option is useful in > this context. If there is no explicit reason to get rid of this flag, > why not just leave it as it is, *and* add the "f or F" functionality > you describe below? > > -- > Steve Lane /"\ > Doudna Lab \ / ASCII Ribbon Campaign > U. C. Berkeley X Against HTML Email > / \ > > > On Fri, Oct 15, 2004 at 06:12:12PM +0530, Roopa Prabhu wrote: > > > > > > Hello Bruce, > > > > "top" does not allow to change columns in its display using command line > > options. One uses "f or F" option to add or remove columns from the > > display. This is an interactive command and can be set with a key press > > when top is running. So I will be replacing --shownode option with the > > corresponding key press command to show the NODE column. > > > > Thanks, > > Roopa > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Ssic-linux-users mailing list > Ssi...@li... > https://lists.sourceforge.net/lists/listinfo/ssic-linux-users > |