-----BEGIN PGP SIGNED MESSAGE-----
I wrote:
> Subject: monitor utility for tu 5.0
> Hi Folks,
> Is there, or will there be, a version of monitor for TU V5 ?
> I looked on Gatekeeper, but only found versions up to 4.0f.
> Keith
alan_at_nabeth.cxo.dec.com replied:
> To: Keith Lewis <keithl_at_mukluk.cc.monash.edu.au>
> Subject: Re: monitor utility for tu 5.0
> In-Reply-To: Your message of "Fri, 28 Jan 2000 17:35:42 +1100 ."
> <200001280635.RAA01402_at_mukluk.cc.monash.edu.au>
> Date: Fri, 28 Jan 100 11:16:19 -0700
> X-Mts: smtp
> Status: RO
>
> As the author of Monitor, I've had neither the time, nor the
> inclination to update it. Since the sources are part of the
> distribution, someone else may do so.
I don't know what stunned me the most - that something from DEC came
with source, or that I unpacked it several times without noticing. Must be
getting senile...
Anyway, Source! Lovely Source!
(The biggest problem was there is no machine_slot in the kernel
namelist, but I found it in the `table' syscall).
To make this run under 5.0 I had to do the following:
1) remove -DNO_TABLE_CPU from DEFINES in the Makefile
2) change cache.c to get Namei by table instead of nlist/readkmem and
comment out the pass2 stuff.
3) remove the DK_NDRIVE checks from disk.c
4) change live.c to not check for namelist[NM_NAMEI].n_value == 0 since
we get it by table now.
5) similarly change swap.c to use table instead of nlist/readkmem
6) finally had to change disk.c to remove the old disk discovery code
and just use table to build a list of all disks.
(pre_fill_disk creates the entire disk table the first time its called and
simply returns immediately every other time. This could be improved).
Well, that made it work for me.
I've re-wrapped it all back up into a tar file and placed it at
ftp://ftp.monash.edu.au/pub/keithl/monitor.v5.tar.gz
Thankyou Alan for a truely impressive utility - with source!!!
Keith
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQCVAwUBOJeII3EpE0nRVDfpAQHIEgQAqvaPROyxtoVaNdyN7/7XJFOfErCIKaP7
ndDdPiFuwYKB7ES/4hn/XIeAyYcqwNuHZscbSxSDqSjf/YCSQPc8+xo12CVv2i4B
jHlh1lz8hADtiWUo468Bn3729Olk9Mowthl4Su9xK2MdZSjwkPEjmqq2Sxedtx8W
DhvWXgbZcVU=
=w82Z
-----END PGP SIGNATURE-----
Received on Wed Feb 02 2000 - 01:29:10 NZDT