From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,26d5c0630814f8dd X-Google-Attributes: gidf678f,public From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson) Subject: Re: TOP for OSF/1 Date: 1996/03/30 Message-ID: <4jj1am$hu2@mulga.cs.mu.OZ.AU>#1/1 X-Deja-AN: 144986306 references: <4igl9a$1cf@news.alexia.net.au> <4jbrc8$pcg@zk2nws.zko.dec.com> organization: Comp Sci, University of Melbourne newsgroups: comp.unix.osf.misc andrew mak writes: >Can anyone tell me where can I get a copy of TOP which will >compile under OSF/1? I have tried TOP3.2 and TOP3.3, but they >won't compil under OSF/1. Any idea? Here's a poor man's "top". #!/bin/sh while true; do clear cat << EOF USER PID %CPU TIME %MEM VSZ RSS TTY S COMMAND EOF ps ax -o user,pid,pcpu,time,pmem,vsz,rss,tty,state,comm | sort -rn +2 +4 | head -20 sleep 5 done -- Fergus Henderson WWW: http://www.cs.mu.oz.au/~fjh fjh@cs.mu.oz.au PGP: finger fjh@128.250.37.3