Miguel asked about cool tools. Talk to Ken, he's the man.
------- Forwarded Message
Date: Fri, 23 May 1997 05:20:54 -0500
From: "Ken McDonell" <kenmcd@gonzo.melbourne.sgi.com>
To: ptg@melbourne.sgi.com
cc: lm@cthulhu
Subject: scary ... irix and linux exchange simple PCP PDUs
After minor brain-failure on my part, we have success at exchanging
the PDU headers (with no translation for the PDU body).
linux -> linux -> linux
[guest@linux pcp]$ ./pdu-client -D1 -h linux.engr.sgi.com 12345
pdu-client: PID 12334
pdu-client: connected fd=3
[12334]pmXmitPDU: DATA_X fd=3 len=16
000: 10 700b 302e 12345678
[12334]pmGetPDU: DATA_X fd=3 len=16 from=12329 moreinput? no
000: 10 700b 3029 12345678
linux -> irix -> linux
[guest@linux pcp]$ ./pdu-client -D1 -h bozo.melbourne.sgi.com 12345
pdu-client: PID 12333
pdu-client: connected fd=3
[12333]pmXmitPDU: DATA_X fd=3 len=16
000: 10 700b 302d 12345678
[12333]pmGetPDU: DATA_X fd=3 len=16 from=29807 moreinput? no
000: 10 700b 746f 12345678
irix -> linux -> irix
bozo 8% ./pdu-client -D1 -h linux.engr.sgi.com 12345
pdu-client: PID 29821
pdu-client: connected fd=3
[29821]pmXmitPDU: DATA_X fd=3 len=16
000: 10 700b 747d 12345678
[29821]pmGetPDU: DATA_X fd=3 len=16 from=12329 moreinput? no
000: 10 700b 3029 12345678
Now moving onto the translation of the PDU body for each PDU type.
------- End of Forwarded Message
|