* top or syd under Alpha OSF/1 3.0
@ 1994-12-11 17:36 Frederick (Rick) A Niles
1994-12-12 17:53 ` oberman
1994-12-16 10:49 ` Todd Aven
0 siblings, 2 replies; 3+ messages in thread
From: Frederick (Rick) A Niles @ 1994-12-11 17:36 UTC (permalink / raw)
I got that patch the made top and syd work under OSF/1 2.0, but
it doesn't seem to work quite right under OSF/1 3.0. While the
the CPU usage is displayed, none of the processes are actually
listed. Has anyone made a patch or gotten top to work with OSF/1
3.0?
Reply to this newsgroup and/or: niles@axp745.gsfc.nasa.gov
Thanks,
Rick Niles.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: top or syd under Alpha OSF/1 3.0
1994-12-11 17:36 top or syd under Alpha OSF/1 3.0 Frederick (Rick) A Niles
@ 1994-12-12 17:53 ` oberman
1994-12-16 10:49 ` Todd Aven
1 sibling, 0 replies; 3+ messages in thread
From: oberman @ 1994-12-12 17:53 UTC (permalink / raw)
In Article <niles-1112941236430001@18.162.0.31>
niles@axp745.gsfc.nasa.gov (Frederick (Rick) A Niles) writes:
>I got that patch the made top and syd work under OSF/1 2.0, but
>it doesn't seem to work quite right under OSF/1 3.0. While the
>the CPU usage is displayed, none of the processes are actually
>listed. Has anyone made a patch or gotten top to work with OSF/1
>3.0?
This message was posted to this very newsgroup a few weeks ago. (I have not
tried it as I don't have V3.0 yet.) Note that the software must be installed
suid to root to list user processes.
==== Begin forwarded message:
From: davidm@cs.arizona.edu (David Mosberger-Tang)
A patch relative to the top available at DEC's free OSF/1 software
server is in:
ftp://cage.cs.arizona.edu/pub/davidm/top-beta3.3+alpha.patch-v3.0
It appears to work decently (be sure to install it suid---otherwise
normal users will see an empty process-list only), but no
guarantees... (this is not an official patch)
The same directory also contains the compressed tar-file syd.tar.Z
with the source for syd (a top alternative).
--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
R. Kevin Oberman
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Lawrence Livermore National Laboratory (LLNL)
Internet: koberman@llnl.gov +1 510-422-6955
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: top or syd under Alpha OSF/1 3.0
1994-12-11 17:36 top or syd under Alpha OSF/1 3.0 Frederick (Rick) A Niles
1994-12-12 17:53 ` oberman
@ 1994-12-16 10:49 ` Todd Aven
1 sibling, 0 replies; 3+ messages in thread
From: Todd Aven @ 1994-12-16 10:49 UTC (permalink / raw)
> niles@axp745.gsfc.nasa.gov (Frederick (Rick) A Niles) writes:
> I got that patch the made top and syd work under OSF/1 2.0, but
> it doesn't seem to work quite right under OSF/1 3.0. While the
> the CPU usage is displayed, none of the processes are actually
> listed. Has anyone made a patch or gotten top to work with OSF/1
> 3.0?
>
> Reply to this newsgroup and/or: niles@axp745.gsfc.nasa.gov
>
> Thanks,
> Rick Niles.
>
>>>>
I managed to find the right changes to get TOP working under OSF/1 v3.0.
The only thing I couldn't cure was the 'last pid' information at the
top left of the display, so I set it to zero. Following are the fragments
from top-3.3beta+alpha/machine/m_decosf1.c where I made the changes.
Regards,
Todd Aven
avents@btco.com
-------- change #1 ----------------
static struct nlist nlst[] = {
/* { "_mpid" }, /* 0 */
{ "_Xunix_pid" },
{ 0 }
};
---------- change #2 ---------------
/* last pid assigned */
/* Forget last_pid... it isn't at this offset and I don't
* know where to look.
*/
/* (void) getkval(mpid_offset,
* &(si->last_pid),
* sizeof(si->last_pid),
* "_mpid");
*/
si->last_pid = 0; /* A reasonable lie */
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-12-16 10:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-11 17:36 top or syd under Alpha OSF/1 3.0 Frederick (Rick) A Niles
1994-12-12 17:53 ` oberman
1994-12-16 10:49 ` Todd Aven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox