Article View: comp.sys.sgi.bugs
Article #63Re: PIOCPSINFO (proc) always EINVAL
From: Dave Ciemiewicz
Date: Wed, 06 Jan 1993 23:07
Date: Wed, 06 Jan 1993 23:07
22 lines
1648 bytes
1648 bytes
In article <1993Jan6.181444.26115@pixar.com>, brighton@pixar.com (Bill Carson) writes: |> Has anyone had any luck with the PIOCPSINFO ioctl? |> According to the 4.0.5 proc(4) man page: |> |> > void *p; |> > retval = ioctl(fildes, code, p); |> > |> > The argument p is a generic pointer whose type depends on the specific |> > ioctl code. Where not specifically mentioned below, its value should be |> > zero. <sys/procfs.h> contains definitions of ioctl codes and data |> > structures used by the operations. |> > ... |> > PIOCPSINFO |> > This returns miscellaneous process information such as that reported by |> > ps(1). p is a pointer to a prpsinfo structure containing at least the |> > following fields: |> > Unfortunately, the PIOCPSINFO ioctl is currently unimplemented, thus the EINVAL error. This will be remedied in the next major operating system release but there are currently no plans to have it implemented as part of the 4.0.5 series.
Technical Details
Message-ID:
<1993Jan6.230705.19016@odin.corp.sgi.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!paladin.american.edu!darwin.sura.net!spool.mu.edu!olivea!sgigate!sgi!fido!odin!bananapc.csd.sgi.com!ciemoReferences:
<1993Jan6.181444.26115@pixar.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!paladin.american.edu!darwin.sura.net!spool.mu.edu!olivea!sgigate!sgi!fido!odin!bananapc.csd.sgi.com!ciemo From: ciemo@bananapc.csd.sgi.com (Dave Ciemiewicz) Newsgroups: comp.sys.sgi.bugs Subject: Re: PIOCPSINFO (proc) always EINVAL Keywords: PIOCPSINFO proc debug Message-ID: <1993Jan6.230705.19016@odin.corp.sgi.com> Date: 6 Jan 93 23:07:05 GMT References: <1993Jan6.181444.26115@pixar.com> Sender: news@odin.corp.sgi.com (Net News) Organization: Silicon Graphics, Customer Support Division Lines: 22 Nntp-Posting-Host: bananapc.csd.sgi.com