[comp.os.vms] REMOTE PID'S VIA DECNET...

gregory@BRL-LVAX.ARPA ("Daniel L. Gregory") (07/23/87)

>> Does anyone have a program to return the remote node and id of a process
>> that has logged in via SET HOST ?

>Yup. It's called NCP. SHOW KNOWN LINKS, to be precise. Gives remote node and
>user-id, plus local process ID.
>
>Nigel Arnot (Dept. Physics, Kings college, Univ. of London;  U.K)
>
>Bitnet/NetNorth/Earn:   sysmgr@ipg.ph.kcl.ac.uk (or) sysmgr%kcl.ph.vaxa@ac.uk
>       Arpa         :   sysmgr%ipg.ph.kcl.ac.uk@ucl-cs.arpa

>>>Nope.  The local process ID is the PID of REMACP.
>>>
>>>John Briggs 		Arpa:  BRIGGS@BLUTO.SCC.COM
>>>>-----

Nope again.  Assuming the person has logged in with the same username,
otherwise you will have to get the correct remote link from the local
PID:

On your local node (here V8600)
NCP> SHOW KNOW LINKS 
 
Known Link Volatile Summary as of 22-JUL-1987 10:48:16
 
   Link       Node           PID     Process     Remote link  Remote user
 
  3113    1.1 (V780)       20400096  REMACP             9224  JOE_SMITH

NCP> TELL V780 SHOW LINK 9224 CHARACTERISTICS 
 
Link Volatile Characteristics as of 22-JUL-1987 10:46:38
 
Link = 9224
 
State                    = run
PID                      = 20200F30
Remote node              =  1.3 (V8600)
Delay time               = 1
Remote link              = 3113
Remote user              = CTERM
Username                 = JOE_SMITH
Process name             = JOE_SMITH

The PID stated above is the PID on the remote node.


<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>      Dan Gregory                                GREGORY@BRL-LVAX.ARPA      <>
<>      BRL-LFD, B120                                                         <>
<>      Aberdeen Proving Grounds, MD. 21005                                   <>
<>      (301) 278-3485                                                        <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
------

gregory@BRL-LVAX.ARPA ("Daniel L. Gregory") (07/24/87)

I am reposting this as I have not seen it on the net...
--------------------------------------------------------

>> Does anyone have a program to return the remote node and id of a process
>> that has logged in via SET HOST ?

>Yup. It's called NCP. SHOW KNOWN LINKS, to be precise. Gives remote node and
>user-id, plus local process ID.
>
>Nigel Arnot (Dept. Physics, Kings college, Univ. of London;  U.K)
>
>Bitnet/NetNorth/Earn:   sysmgr@ipg.ph.kcl.ac.uk (or) sysmgr%kcl.ph.vaxa@ac.uk
>       Arpa         :   sysmgr%ipg.ph.kcl.ac.uk@ucl-cs.arpa

>>>Nope.  The local process ID is the PID of REMACP.
>>>
>>>John Briggs 		Arpa:  BRIGGS@BLUTO.SCC.COM
>>>>-----

Nope again.  Assuming the person has logged in with the same username,
otherwise you will have to get the correct remote link from the local
PID:

On your local node (here V8600)
NCP> SHOW KNOW LINKS 
 
Known Link Volatile Summary as of 22-JUL-1987 10:48:16
 
   Link       Node           PID     Process     Remote link  Remote user
 
  3113    1.1 (V780)       20400096  REMACP             9224  JOE_SMITH

NCP> TELL V780 SHOW LINK 9224 CHARACTERISTICS 
 
Link Volatile Characteristics as of 22-JUL-1987 10:46:38
 
Link = 9224
 
State                    = run
PID                      = 20200F30
Remote node              =  1.3 (V8600)
Delay time               = 1
Remote link              = 3113
Remote user              = CTERM
Username                 = JOE_SMITH
Process name             = JOE_SMITH

The PID stated above is the PID on the remote node.


<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>      Dan Gregory                                GREGORY@BRL-LVAX.ARPA      <>
<>      BRL-LFD, B120                                                         <>
<>      Aberdeen Proving Grounds, MD. 21005                                   <>
<>      (301) 278-3485                                                        <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
------
------