From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97197680619519.tru64-unix-managers.marc@archive.invalid> From: Charles Vachon Date: Thu, 19 Oct 2000 17:31:29 +0000 To: tru64-unix-managers Subject: SUMMARY(3): maximum PID value in TU5.0A X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97197680619519 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