home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / vmsnet / misc / 1026 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.9 KB

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!hamblin.math.byu.edu!arizona.edu!telcom.arizona.edu!leonard
  2. Newsgroups: vmsnet.misc
  3. Subject: Re: Nodename of given pid?
  4. Message-ID: <1992Nov21.173454.4017@arizona.edu>
  5. From: leonard@telcom.arizona.edu (Aaron Leonard)
  6. Date: 21 Nov 92 17:34:54 MST
  7. Reply-To: Leonard@Arizona.EDU
  8. References: <1992Nov13.203833.413@wega.rz.uni-ulm.de> <1992Nov13.153939.3984@arizona.edu> <20NOV199214022980@erich.triumf.ca>
  9. Distribution: world,local
  10. Organization: University of Arizona Telecommunications
  11. Nntp-Posting-Host: penny.telcom.arizona.edu
  12. Lines: 41
  13.  
  14. In article <20NOV199214022980@erich.triumf.ca>, music@erich.triumf.ca (FRED W. BACH) writes:
  15. | In article <1992Nov13.153939.3984@arizona.edu>, Leonard@Arizona.EDU writes...
  16. | #In article <1992Nov13.203833.413@wega.rz.uni-ulm.de>, ORAKEL@rzmain.rz.uni-ulm.de (Framstag)
  17. | #writes:
  18. | #| 
  19. | #| I want to find out (in DCL!) on which node a given process runs:
  20. | #| I have the process-name and his pid, but I don't know on which node on the
  21. | #| cluster it runs.
  22. | #| 
  23. | #| SHOW PROCESS/ID=pid  gives me the information, but I want it in a symbol
  24. | #| and I don't want to use temporary files.
  25. | #| 
  26. | #| Any hints?
  27. | # 
  28. | #F$GetJPI(pid,"NODENAME") does the trick, strangely enough.  (Not documented
  29. | #in the F$GetJPI help file as of V5.5-1.)
  30. | # 
  31. | #Aaron
  32. | # 
  33. |    I tried this with someone else's PID number and it complains to me
  34. |   about not enough priv's.
  35.  
  36. Well, the original poster didn't suffer from your inadequacy, because he was 
  37. capable of doing a SHOW PROCESS/ID on someone else's process.
  38.  
  39. |    More ideas?
  40.  
  41. (Quick answer for you:)
  42.  
  43. 1. $ SHOW SYS/CLUS to an output file
  44. 2. Read the output file and figure it out.
  45.  
  46. (And a question.)
  47.  
  48. If you don't have any privs, then how did you get this PID without 
  49. knowing the node name?  And what do you think you're going to
  50. accomplish now that you have the node name?
  51.  
  52. Aaron
  53.