From: davidm@cs.arizona.edu (David Mosberger-Tang)
Subject: Re: top or syd for OSF/1 v3.0?
Date: 28 Sep 1994 17:07:41 GMT [thread overview]
Message-ID: <DAVIDM.94Sep28100741@baskerville.cs.arizona.edu> (raw)
In-Reply-To: neideck@nestvx.enet.dec.com's message of 28 Sep 1994 10:31:52 GMT
In article <36bgmoINN1m0@usenet.pa.dec.com> neideck@nestvx.enet.dec.com (Burkhard Neidecker-Lutz) writes:
Burkhard> syd works on V3.0 as is. In the top-3.3 sources just
Burkhard> eliminate the references to lastpid (the single nlist
Burkhard> call) as lastpid really is useless with the new PID
Burkhard> allocation scheme in v3.0.
Just to clarify (hopefully): I had no luck with my old V1.3 binary of
syd. However, the "syd" pointer in:
http://www.dec.com/info/misc/pub-domain-osf1.txt.html
will lead to source that does compile and work under V3.0.
In the case you still want a working top, a patch is now available
via anonymous ftp from:
ftp://cage.cs.arizona.edu/pub/davidm/top-beta3.3+alpha.patch-v3.0
The patch is relative to top-beta3.3+alpha.tar.Z (also available via
the pub-domain-osf1.txt.html page). It fixes the lastpid problem that
Burkhard mentioned (although in a slighty different manner: lastpid is
now simply the highest pid that top finds will preparing the display).
It also fixes a bug in computing process states and in computing
whether a process is swapped out. The original version used an
uninitialized variable to determine whether a process is swapped out.
The patch fixes this to use RSS==0 instead (this isn't the proper
algorithm either, but I didn't find a way to access a process's INCORE
flag via table() in the little time I was willing to spend on top).
In summary, I think it's better to use syd for now, as it provides
more information and is probably less buggy than the patched beta
version of top.
--david
--
David Mosberger-Tang; Dept. of CS; The University of Arizona; Tucson, AZ 85721
davidm@cs.arizona.edu; http://www.cs.arizona.edu/xkernel/www/people/davidm.html
prev parent reply other threads:[~1994-09-28 17:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-27 17:03 top or syd for OSF/1 v3.0? David Mosberger-Tang
1994-09-28 6:34 ` David Mosberger-Tang
1994-09-28 10:31 ` Burkhard Neidecker-Lutz
1994-09-28 17:07 ` David Mosberger-Tang [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