home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!ira.uka.de!math.fu-berlin.de!umn.edu!csus.edu!netcom.com!netcomsv!mbeckman!mbeckman
- From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
- Newsgroups: comp.unix.aix
- Subject: Re: top command on aix?
- Date: Thu, 28 Jan 93 06:42:48 PST
- Organization: Beckman Software Engineering
- Message-ID: <01050810.oqc78c@mbeckman.mbeckman.com>
- Reply-To: mbeckman@mbeckman.com
- Distribution: world
- X-Mailer: uAccess LITE - Macintosh Release: 1.5v5
- Lines: 26
-
-
- In article <16B648858.A9000005@tscc.macarthur.uws.edu.au> (comp.unix.aix), A9000005@tscc.macarthur.uws.edu.au writes:
- > Great idea! Works well except for one problem. I (AIX 3.1.5) find
- > that when a process has more that 9.9% CPU (ie 3 digits), the PID
- > and the % CPU become one field and hence, sort puts them at the bottom
- > of the list. I pipe this to "head -23" so I only get the 23 most
- > hungry processes, this meant that I lost all the big ones!
- >
- > I replaced the "sort +2r" with "sort +0.14r" to sort from column 14
- > on. Column 14 is the first one after PID.
- >
-
- I don't have this problem on AIX 3.2. IBM must have fixed it (although I
- can't imagine why they were tampering with the output part of the ps program
- in the first place!).
-
- -mel
-
- _____________________________________________________________________
- | Mel beckman | Internet: mbeckman@mbeckman.com |
- | Beckman Software Engineering | Compuserve: 75226,2257 |
- | 1201 Nilgai Place | Voice: 805/647-1641 |
- | Ventura, CA 93003 | Fax: 805/647-3125 |
- |______________________________|____________________________________|
- "Internet is big. Really Big. It gives the idea of
- infinity much better than infinity itself."
- (with apologies to Douglas Adams)
-