MPE CI Programming for 7.5
July 22, 2008
Page 93
hp e3000
strategy
PINFO function
syntax: PINFO (pin, “item” [,status] )
where PIN can be a string, “[#P]nnn[.tin]”, or a simple integer, “0” is “me”
• 66 unique items: Alive, IPAddr, Parent, Child, Children, Proctype,
WorkGroup, SecondaryThreads, NumOpenFiles, ProgramName, etc.
• status parm is a variable name. If passed, CI sets status to PINFO error
return -- normal CI error handling bypassed
• can see non-sensitive data for any user process on system
• follows SHOWPROC’s rules for sensitive data