HP3000-L Archives

October 1997, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Steve Macsisak <[log in to unmask]>
Reply To:
Steve Macsisak <[log in to unmask]>
Date:
Tue, 30 Sep 1997 14:41:54 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (69 lines)
: >
: >Hello,
: >Does anyone know how to relate PIN (as shown in GLANCE) to PID
: >as shown in POSIX?
: >
: >I have *some* task/program/listner that is taking over the cpu, and
: >can identify it using glance, but don't know what to 'kill' to
: >get rid of it.
: >
: >[log in to unmask]
: >


Here is a command that will convert the PID in the PS output to
the MPE/iX pin number. Its basically the low order 16 bits of the PID.


shell/iX> ps -e | awk '{print $1%65536 $0}'

PIN #
0       PID TTY      TIME COMMAND
1         1          0:11 PROGEN.PUB.SYS
2     65538          0:02 LOAD.PUB.SYS
3     65539          0:01
4     65540          0:00
5     65541          0:00
6     65542          0:01
7     65543          0:00
8     65544          0:00
9     65545          0:00
10     65546          0:00
11     65547          0:00
12     65548          0:00
13     65549          0:00
14     65550          0:00
15     65551          0:00
16     65552          0:00
17     65553          0:00
18     65554          0:00
19     65555          0:00
20     65556          0:01
21     65557          0:00
22     65558          0:01
23     65559          0:00
24     65560          0:00 NMFILE.PUB.SYS
25     65561          0:00 NMLOGMON.PUB.SYS
26     65562          0:00 NMLOGICS.PUB.SYS
27     65563          0:00 NMTRCMON.PUB.SYS
28     65564          0:01 NMCONSOL.PUB.SYS
29     65565          0:00
30     65566          0:00
31     65567          0:00
32     65568          0:00
33     65569          0:00
34    131106          0:01 MEMLOGP.DIAG.SYS info=MEML
35     65571          0:00 LOG.PUB.SYS
36     65572          0:00 SYSMAIN.PUB.SYS
37    131109          0:00 DIAGMON.DIAG.SYS
38     65574          0:00 SPOOLMOM.PUB.SYS

....
etc

--
         ___
        /  /            Stephen F. Macsisak :Performance Consultant
HEWLETT/hp/PACKARD      Commercial Systems Division
      /__/              [log in to unmask] :(408)447-5851 (or MOONEY N201PC)

ATOM RSS1 RSS2