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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!erich.triumf.ca!music
  2. From: music@erich.triumf.ca (FRED W. BACH)
  3. Newsgroups: vmsnet.misc
  4. Subject: Re: Nodename of given pid?
  5. Date: 20 Nov 1992 14:02 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Lines: 30
  8. Distribution: world,local
  9. Message-ID: <20NOV199214022980@erich.triumf.ca>
  10. References: <1992Nov13.203833.413@wega.rz.uni-ulm.de> <1992Nov13.153939.3984@arizona.edu>
  11. NNTP-Posting-Host: erich.triumf.ca
  12. News-Software: VAX/VMS VNEWS 1.41    
  13.  
  14. In article <1992Nov13.153939.3984@arizona.edu>, Leonard@Arizona.EDU writes...
  15. #In article <1992Nov13.203833.413@wega.rz.uni-ulm.de>, ORAKEL@rzmain.rz.uni-ulm.de (Framstag)
  16. #writes:
  17. #| 
  18. #| I want to find out (in DCL!) on which node a given process runs:
  19. #| I have the process-name and his pid, but I don't know on which node on the
  20. #| cluster it runs.
  21. #| 
  22. #| SHOW PROCESS/ID=pid  gives me the information, but I want it in a symbol
  23. #| and I don't want to use temporary files.
  24. #| 
  25. #| Any hints?
  26. #F$GetJPI(pid,"NODENAME") does the trick, strangely enough.  (Not documented
  27. #in the F$GetJPI help file as of V5.5-1.)
  28. #Aaron
  29.    I tried this with someone else's PID number and it complains to me
  30.   about not enough priv's.
  31.  
  32.    More ideas?
  33.  
  34.  Fred W. Bach ,    Operations Group        |  Internet: music@erich.triumf.ca
  35.  TRIUMF (TRI-University Meson Facility)    |  Voice:  604-222-1047 loc 278/419
  36.  4004 WESBROOK MALL, UBC CAMPUS            |  FAX:    604-222-1074
  37.  University of British Columbia, Vancouver, B.C., CANADA   V6T 2A3
  38.  
  39.  These are my opinions, which should ONLY make you read, think, and question.
  40.  They do NOT necessarily reflect the views of my employer or fellow workers.
  41.