From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
Subject: Re: TOP for OSF/1
Date: 1996/03/30 [thread overview]
Message-ID: <4jj1am$hu2@mulga.cs.mu.OZ.AU> (raw)
In-Reply-To: 4jbrc8$pcg@zk2nws.zko.dec.com
andrew mak <aom@melb.alexia.net.au> 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
prev parent reply other threads:[~1996-03-30 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4igl9a$1cf@news.alexia.net.au>
1996-03-17 5:00 ` TOP for OSF/1 Marc Evans
1996-03-27 5:00 ` Alan H. Martin
1996-03-29 5:00 ` Marek Pola
1996-03-30 5:00 ` Fergus Henderson [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox