home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / aix / 13811 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.8 KB

  1. 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
  2. From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: top command on aix?
  5. Date: Thu, 28 Jan 93 06:42:48 PST
  6. Organization: Beckman Software Engineering
  7. Message-ID: <01050810.oqc78c@mbeckman.mbeckman.com>
  8. Reply-To: mbeckman@mbeckman.com
  9. Distribution: world
  10. X-Mailer: uAccess LITE - Macintosh Release: 1.5v5
  11. Lines: 26
  12.  
  13.  
  14. In article <16B648858.A9000005@tscc.macarthur.uws.edu.au> (comp.unix.aix), A9000005@tscc.macarthur.uws.edu.au writes:
  15. > Great idea!  Works well except for one problem.  I (AIX 3.1.5) find
  16. > that when a process has more that 9.9% CPU (ie 3 digits), the PID
  17. > and the % CPU become one field and hence, sort puts them at the bottom
  18. > of the list.  I pipe this to "head -23" so I only get the 23 most
  19. > hungry processes, this meant that I lost all the big ones!
  20. >  
  21. > I replaced the "sort +2r" with "sort +0.14r" to sort from column 14
  22. > on.  Column 14 is the first one after PID.
  23.  
  24. I don't have this problem on AIX 3.2. IBM must have fixed it (although I
  25. can't imagine why they were tampering with the output part of the ps program
  26. in the first place!). 
  27.  
  28.   -mel
  29.  
  30. _____________________________________________________________________
  31. | Mel beckman                  |    Internet: mbeckman@mbeckman.com |
  32. | Beckman Software Engineering |  Compuserve: 75226,2257            |
  33. | 1201 Nilgai Place            |       Voice: 805/647-1641          |
  34. | Ventura, CA 93003            |         Fax: 805/647-3125          |
  35. |______________________________|____________________________________|
  36.  "Internet is big.  Really Big.  It gives the idea of
  37.   infinity much better than infinity itself." 
  38.    (with apologies to Douglas Adams)
  39.