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

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!uknet!miclon!nreadwin
  2. From: nreadwin@micrognosis.co.uk (Neil Readwin)
  3. Newsgroups: vmsnet.misc
  4. Subject: Re: Nodename of given pid?
  5. Message-ID: <By2LoI.IEo@micrognosis.co.uk>
  6. Date: 21 Nov 92 14:31:29 GMT
  7. References: <1992Nov13.203833.413@wega.rz.uni-ulm.de> <1992Nov13.153939.3984@arizona.edu> <20NOV199214022980@erich.triumf.ca>
  8. Sender: news@micrognosis.co.uk
  9. Distribution: world,local
  10. Organization: Micrognosis, a division of CSK(UK) Ltd
  11. Lines: 21
  12.  
  13. In article <20NOV199214022980@erich.triumf.ca>, music@erich.triumf.ca (FRED W. BACH) writes:
  14. |> #F$GetJPI(pid,"NODENAME") does the trick, strangely enough.
  15. [...]
  16. |>    I tried this with someone else's PID number and it complains to me
  17. |>   about not enough priv's.
  18.  
  19. Just as it should do. To call $GETJPI to get information about a process
  20. owned by another person requires either GROUP privilege (if they are in the
  21. same UIC group) or WORLD privilege.
  22.  
  23. |>    More ideas?
  24.  
  25. Ask you system manager for SETPRV? If that doesn't work then you could
  26. reconstruct the CSID from the top bits of the PID and use F$GETSYI to give
  27. you the node name. I posted (to comp.os.vms) the DCL to do this in the last
  28. week of September but I no longer have a copy. You could search the
  29. archives for it or work out the details yourself. It only takes a couple of
  30. lines. Neil :-)
  31. -- 
  32.  Phone: +44 71 815 5283  E-mail: nreadwin@micrognosis.co.uk
  33.  Anything is a cause for sorrow that my mind or body has made
  34.