🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #1463

PS info from C?

#1463
From: Durrant;f110or89;[05306
Date: Fri, 13 Nov 1992 11:42
17 lines
875 bytes
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
Technical Details
Message-ID: <1992Nov13.114227.2506@unix.brighton.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!glasgow!unix.brighton.ac.uk!jmd6

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!glasgow!unix.brighton.ac.uk!jmd6
From: jmd6@unix.brighton.ac.uk (Durrant;f110or89;[05306)
Newsgroups: comp.unix.internals
Subject: PS info from C?
Message-ID: <1992Nov13.114227.2506@unix.brighton.ac.uk>
Date: 13 Nov 92 11:42:27 GMT
Organization: University of Brighton, UK
Lines: 17