🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.misc
Article #232

Re: Nodename of given pid?

#232
From: Aaron Leonard
Date: Sun, 22 Nov 1992 00:34
41 lines
1992 bytes
In article <20NOV199214022980@erich.triumf.ca>, music@erich.triumf.ca (FRED W. BACH) writes:
| 
| In article <1992Nov13.153939.3984@arizona.edu>, Leonard@Arizona.EDU writes...
| #In article <1992Nov13.203833.413@wega.rz.uni-ulm.de>, ORAKEL@rzmain.rz.uni-ulm.de (Framstag)
| #writes:
| #| 
| #| I want to find out (in DCL!) on which node a given process runs:
| #| I have the process-name and his pid, but I don't know on which node on the
| #| cluster it runs.
| #| 
| #| SHOW PROCESS/ID=pid  gives me the information, but I want it in a symbol
| #| and I don't want to use temporary files.
| #| 
| #| Any hints?
| # 
| #F$GetJPI(pid,"NODENAME") does the trick, strangely enough.  (Not documented
| #in the F$GetJPI help file as of V5.5-1.)
| # 
| #Aaron
| # 
|    I tried this with someone else's PID number and it complains to me
|   about not enough priv's.

Well, the original poster didn't suffer from your inadequacy, because he was 
capable of doing a SHOW PROCESS/ID on someone else's process.

| 
|    More ideas?

(Quick answer for you:)

1. $ SHOW SYS/CLUS to an output file
2. Read the output file and figure it out.

(And a question.)

If you don't have any privs, then how did you get this PID without 
knowing the node name?  And what do you think you're going to
accomplish now that you have the node name?

Aaron
Technical Details
Message-ID: <1992Nov21.173454.4017@arizona.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!arizona.edu!telcom.arizona.edu!leonard
References: <1992Nov13.203833.413@wega.rz.uni-ulm.de> <1992Nov13.153939.3984@arizona.edu> <20NOV199214022980@erich.triumf.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!arizona.edu!telcom.arizona.edu!leonard
Newsgroups: vmsnet.misc
Subject: Re: Nodename of given pid?
Message-ID: <1992Nov21.173454.4017@arizona.edu>
From: leonard@telcom.arizona.edu (Aaron Leonard)
Date: 21 Nov 92 17:34:54 MST
Reply-To: Leonard@Arizona.EDU
References: <1992Nov13.203833.413@wega.rz.uni-ulm.de> <1992Nov13.153939.3984@arizona.edu> <20NOV199214022980@erich.triumf.ca>
Distribution: world,local
Organization: University of Arizona Telecommunications
Nntp-Posting-Host: penny.telcom.arizona.edu
Lines: 41