home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!agate!doc.ic.ac.uk!uknet!glasgow!unix.brighton.ac.uk!jmd6
- From: jmd6@unix.brighton.ac.uk (Durrant;f110or89;[05306)
- Newsgroups: comp.unix.programmer
- Subject: PS type info from C question?
- Message-ID: <1992Nov13.110502.1662@unix.brighton.ac.uk>
- Date: 13 Nov 92 11:05:02 GMT
- Organization: University of Brighton, UK
- Lines: 17
-
-
- I using sunos 4.1.2.3 and I'm after getting access to
- the process information for a running process. By info
- I mean processor time used, command running, mem in use, etc.
- The sort of thing that ps returns. I think it should be
- possible through ptrace but this only terminates the process
- I attach to.
-
- On Unix SVR4 I could do this by doing an ioctrl on a process file
- in the proc virtual file system. But under sunos such nicetys are
- absent.
-
- Please mail me any sujestions.
-
- Thanks
-
- Jon Durrant (jmd6@uk.ac.bton.unix) JANET address
-