pcp
[Top] [All Lists]

Re: weird error

To: kenmcd@xxxxxxx
Subject: Re: weird error
From: Alan Bailey <abailey@xxxxxxxxxxxxx>
Date: Thu, 30 Nov 2000 16:19:10 -0600 (CST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <Pine.SGI.4.21.0012010851080.2281230-100000@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-pcp@xxxxxxxxxxx
Thanks for the debugging information, it's helpful.  I forgot to mention
in the first email that the simple pmda works just fine as a daemon.
Without further ado, here are three pminfo commands with the -D
profile,pdu options.  The first is just for simple.numfetch, the second is
for simple.color, and the third is for simple.color and mem.freemem:

------

lanner % pminfo -f -D profile,pdu simple.numfetch         
[3068]pmGetPDU: ERROR fd=3 len=20 from=1685 moreinput? no
000:       14     7000      695        0      102 
[3068]pmXmitPDU: CREDS fd=3 len=20
000:       14     700c      bfc  1000000      201 
[3068]pmXmitPDU: PMNS_TRAVERSE fd=3 len=36
000:       24     7010      bfc        0  f000000 706d6973 6e2e656c
65666d75 
008:   686374 
[3068]pmGetPDU: PMNS_NAMES fd=3 len=44 from=1685 moreinput? no
000:       2c     700e      695 10000000        0  1000000  f000000
706d6973 
008: 6e2e656c 65666d75 7e686374 
[3068]pmXmitPDU: PMNS_NAMES fd=3 len=44
000:       2c     700e      bfc 10000000        0  1000000  f000000
706d6973 
008: 6e2e656c 65666d75 7e686374 
[3068]pmGetPDU: PMNS_IDS fd=3 len=24 from=1685 moreinput? no
000:       18     700d      695  1000000  1000000     403f 
pmFetch: calling __pmSendProfile, context: 0
Dump Instance Profile state=INCLUDE, 0 profiles
[3068]pmXmitPDU: PROFILE fd=3 len=28
000:       1c     7002      bfc        0        0        0        0 
[3068]pmXmitPDU: FETCH fd=3 len=32
000:       20     7003      bfc        0        0        0  1000000
403f 
[3068]pmGetPDU: RESULT fd=3 len=44 from=1685 moreinput? no
000:       2c     7001      695 e0d0263a 93720a00  1000000     403f
1000000 
008:        0 ffffffff  6000000 
pmResult dump from 0x804e168 timestamp: 975622368.684691 16:12:48.684
numpmid: 1  253.0.0 (simple.numfetch): numval: 1 valfmt: 0 vlist[]:
   value 6
[3068]pmXmitPDU: DESC_REQ fd=3 len=16
000:       10     7004      bfc     403f 
[3068]pmGetPDU: DESC fd=3 len=32 from=1685 moreinput? no
000:       20     7005      695     403f  1000000 ffffffff  3000000
0 

simple.numfetch
    value 6

-------

lanner % pminfo -f -D profile,pdu simple.color
[3070]pmGetPDU: ERROR fd=3 len=20 from=1685 moreinput? no
000:       14     7000      695        0      102 
[3070]pmXmitPDU: CREDS fd=3 len=20
000:       14     700c      bfe  1000000      201 
[3070]pmXmitPDU: PMNS_TRAVERSE fd=3 len=32
000:       20     7010      bfe        0  c000000 706d6973 632e656c
726f6c6f 
[3070]pmGetPDU: PMNS_NAMES fd=3 len=40 from=1685 moreinput? no
000:       28     700e      695  d000000        0  1000000  c000000
706d6973 
008: 632e656c 726f6c6f 
[3070]pmXmitPDU: PMNS_NAMES fd=3 len=40
000:       28     700e      bfe  d000000        0  1000000  c000000
706d6973 
008: 632e656c 726f6c6f 
[3070]pmGetPDU: PMNS_IDS fd=3 len=24 from=1685 moreinput? no
000:       18     700d      695  1000000  1000000  100403f 
pmFetch: calling __pmSendProfile, context: 0
Dump Instance Profile state=INCLUDE, 0 profiles
[3070]pmXmitPDU: PROFILE fd=3 len=28
000:       1c     7002      bfe        0        0        0        0 
[3070]pmXmitPDU: FETCH fd=3 len=32
000:       20     7003      bfe        0        0        0  1000000
100403f 
[3070]pmGetPDU: RESULT fd=3 len=60 from=1685 moreinput? no
000:       3c     7001      695 24d1263a cf6b0800  1000000  100403f
3000000 
008:        0        0  6000000  1000000 6a000000  2000000 ce000000 
pmResult dump from 0x804e168 timestamp: 975622436.551887 16:13:56.551
numpmid: 1  253.0.1 (simple.color): numval: 3 valfmt: 0 vlist[]:
    inst [0 or "red"] value 6
    inst [1 or "green"] value 106
    inst [2 or "blue"] value 206
[3070]pmXmitPDU: DESC_REQ fd=3 len=16
000:       10     7004      bfe  100403f 
[3070]pmGetPDU: DESC fd=3 len=32 from=1685 moreinput? no
000:       20     7005      695  100403f        0     403f  3000000
0 

simple.color
[3070]pmXmitPDU: INSTANCE_REQ fd=3 len=32
000:       20     7006      bfe     403f        0        0 ffffffff
0 
[3070]pmGetPDU: INSTANCE fd=3 len=60 from=1685 moreinput? no
000:       3c     7007      695     403f  3000000        0  3000000
7e646572 
008:  1000000  5000000 65657267 7e7e7e6e  2000000  4000000 65756c62 
    inst [0 or "red"] value 6
    inst [1 or "green"] value 106
    inst [2 or "blue"] value 206

-----------

lanner % pminfo -f -D profile,pdu simple.color mem.freemem
[3305]pmGetPDU: ERROR fd=3 len=20 from=3285 moreinput? no
000:       14     7000      cd5        0      102 
[3305]pmXmitPDU: CREDS fd=3 len=20
000:       14     700c      ce9  1000000      201 
[3305]pmXmitPDU: PMNS_TRAVERSE fd=3 len=32
000:       20     7010      ce9        0  c000000 706d6973 632e656c
726f6c6f 
[3305]pmGetPDU: PMNS_NAMES fd=3 len=40 from=3285 moreinput? no
000:       28     700e      cd5  d000000        0  1000000  c000000
706d6973 
008: 632e656c 726f6c6f 
[3305]pmXmitPDU: PMNS_TRAVERSE fd=3 len=32
000:       20     7010      ce9        0  b000000 2e6d656d 65657266
706d656d 
[3305]pmGetPDU: PMNS_NAMES fd=3 len=40 from=3285 moreinput? no
000:       28     700e      cd5  c000000        0  1000000  b000000
2e6d656d 
008: 65657266 7e6d656d 
[3305]pmXmitPDU: PMNS_NAMES fd=3 len=56
000:       38     700e      ce9 19000000        0  2000000  c000000
706d6973 
008: 632e656c 726f6c6f  b000000 2e6d656d 65657266 7e6d656d 
[3305]pmGetPDU: PMNS_IDS fd=3 len=28 from=3285 moreinput? no
000:       1c     700d      cd5  2000000  2000000  100403f  a04000f 
pmFetch: calling __pmSendProfile, context: 0
Dump Instance Profile state=INCLUDE, 0 profiles
[3305]pmXmitPDU: PROFILE fd=3 len=28
000:       1c     7002      ce9        0        0        0        0 
[3305]pmXmitPDU: FETCH fd=3 len=36
000:       24     7003      ce9        0        0        0  2000000
100403f 
008:  a04000f 
[3305]pmGetPDU: RESULT fd=3 len=96 from=3285 moreinput? no
000:       60     7001      cd5 e2d1263a caea0c00  2000000  100403f
3000000 
008:        0        0  4000000  1000000 68000000  2000000 cc000000
100403f 
016:  3000000        0        0  4000000  1000000 68000000  2000000
cc000000 
pmResult dump from 0x804e168 timestamp: 975622626.846538 16:17:06.846
numpmid: 2  253.0.1 (simple.color): numval: 3 valfmt: 0 vlist[]:
    inst [0 or "red"] value 4
    inst [1 or "green"] value 104
    inst [2 or "blue"] value 204
  253.0.1 (simple.color): numval: 3 valfmt: 0 vlist[]:
    inst [0 or "red"] value 4
    inst [1 or "green"] value 104
    inst [2 or "blue"] value 204
[3305]pmXmitPDU: DESC_REQ fd=3 len=16
000:       10     7004      ce9  100403f 
[3305]pmGetPDU: DESC fd=3 len=32 from=3285 moreinput? no
000:       20     7005      cd5  100403f        0     403f  3000000
0 

simple.color
[3305]pmXmitPDU: INSTANCE_REQ fd=3 len=32
000:       20     7006      ce9     403f        0        0 ffffffff
0 
[3305]pmGetPDU: INSTANCE fd=3 len=60 from=3285 moreinput? no
000:       3c     7007      cd5     403f  3000000        0  3000000
7e646572 
008:  1000000  5000000 65657267 7e7e7e6e  2000000  4000000 65756c62 
    inst [0 or "red"] value 4
    inst [1 or "green"] value 104
    inst [2 or "blue"] value 204
[3305]pmXmitPDU: DESC_REQ fd=3 len=16
000:       10     7004      ce9  a04000f 
[3305]pmGetPDU: DESC fd=3 len=32 from=3285 moreinput? no
000:       20     7005      cd5  a04000f  1000000 ffffffff  3000000
110 

mem.freemem
    value 4
    value 104
    value 204

----------

Thanks,
Alan

-- 
 Alan Bailey


<Prev in Thread] Current Thread [Next in Thread>