tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Charles Vachon <cvachon2 () mrn ! gouv ! qc ! ca>
To: tru64-unix-managers
Subject: SUMMARY(3): maximum PID value in TU5.0A
Date: Thu, 19 Oct 2000 17:31:29 +0000	[thread overview]
Message-ID: <97197680619519.tru64-unix-managers.marc@archive.invalid> (raw)

Hello Alpha managers,

I just received another reply to my post, from Eskil.Swahn@LDC.lu.se,
who was very kind to send me a hack for allowing top to display PID
numbers wider than the 5 digits we've all used to:

Eskil:I don't normally use the renice-function in top but I did correct
the
Eskil:cosmectic things with top.
Eskil:
Eskil:Open machine.c (actually a link) and jump to line 113 and put in
an extra
Eskil:space in the beginning of the string "  PID X ...". Change
UNAME_START at
Eskil:line 115 to '7' (You get help from the line above. It should be
the
Eskil:position of the 'X').  Then change the line with 'Proc_format' to
start
Eskil:with '%6d' and end with '%.13s' instead of '%5d' and '%.14s'.
Eskil:
Eskil:Now it looks right at least when you just want to show the
processes.
Eskil:
Eskil:Have you gotten any response from anyone who has done anymore with
it?
Eskil:
Eskil:/Eskil
Eskil:
Eskil:+------------------------------------------------------------------=
--+

Eskil:|
Eskil:|  Eskil Swahn
Eskil:|  LDC, Lund University
Eskil:|  Email: Eskil.Swahn@LDC.lu.se    Web: http://www.ldc.lu.se/
Eskil:|  Phone: +46 46 222 4986          Fax: +46 46 138225
Eskil:|
Eskil:+------------------------------------------------------------------=
--+

--

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Charles Vachon tel: (418) 627-6355 x2760
  email: cvachon2@mrn.gouv.qc.ca
  Administrateur de syst=E8me
  FRCQ/Minist=E8re des Ressources
  Naturelles du Qu=E9bec
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

                 reply	other threads:[~2000-10-19 17:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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