tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY(3): maximum PID value in TU5.0A
@ 2000-10-19 17:31 Charles Vachon
  0 siblings, 0 replies; only message in thread
From: Charles Vachon @ 2000-10-19 17:31 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-19 17:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-19 17:31 SUMMARY(3): maximum PID value in TU5.0A Charles Vachon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox