Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: avents@btco.com (Todd Aven)
Subject: Re: top or syd under Alpha OSF/1 3.0
Date: 16 Dec 1994 10:49:32 GMT	[thread overview]
Message-ID: <3crrbs$jp0@LNCSEX0000.eu.btco.com> (raw)
In-Reply-To: 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?
>  
>  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 */





      parent reply	other threads:[~1994-12-16 10:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 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