🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.misc
Article #231

Re: Nodename of given pid?

#231
From: Neil Readwin
Date: Sat, 21 Nov 1992 14:31
21 lines
1545 bytes
In article <20NOV199214022980@erich.triumf.ca>, music@erich.triumf.ca (FRED W. BACH) writes:
|> #F$GetJPI(pid,"NODENAME") does the trick, strangely enough.
[...]
|>    I tried this with someone else's PID number and it complains to me
|>   about not enough priv's.

Just as it should do. To call $GETJPI to get information about a process
owned by another person requires either GROUP privilege (if they are in the
same UIC group) or WORLD privilege.

|>    More ideas?

Ask you system manager for SETPRV? If that doesn't work then you could
reconstruct the CSID from the top bits of the PID and use F$GETSYI to give
you the node name. I posted (to comp.os.vms) the DCL to do this in the last
week of September but I no longer have a copy. You could search the
archives for it or work out the details yourself. It only takes a couple of
lines. Neil :-)
-- 
 Phone: +44 71 815 5283  E-mail: nreadwin@micrognosis.co.uk
 Anything is a cause for sorrow that my mind or body has made
Technical Details
Message-ID: <By2LoI.IEo@micrognosis.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!uknet!miclon!nreadwin
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!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!uknet!miclon!nreadwin
From: nreadwin@micrognosis.co.uk (Neil Readwin)
Newsgroups: vmsnet.misc
Subject: Re: Nodename of given pid?
Message-ID: <By2LoI.IEo@micrognosis.co.uk>
Date: 21 Nov 92 14:31:29 GMT
References: <1992Nov13.203833.413@wega.rz.uni-ulm.de> <1992Nov13.153939.3984@arizona.edu> <20NOV199214022980@erich.triumf.ca>
Sender: news@micrognosis.co.uk
Distribution: world,local
Organization: Micrognosis, a division of CSK(UK) Ltd
Lines: 21