Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Chris Ruegger <cruegger@eos.hitc.com>
Subject: Getting process usage data / OSF1
Date: 1995/12/27	[thread overview]
Message-ID: <4bs5sf$ktr@newsroom.hitc.com> (raw)

I need to write a program that will gather system resource usage of
another process:

1. max amount of shared memory used
2. max amount of virtual memory used
3. # of I/O blocks read/written
4. # of page faults
5. # of page swaps

I've looked at the  /proc file system but it does not seem to have all
the data I need.

Are there any other system calls I can used? I may *NOT* change the source
code of the running program, I have to access this data with a "snooper"
process.

Any help appreciated.
Chris



-- -------------------------------------------------------------------
Christopher Ruegger                 phone:   (301) 925-1164
                                    Email:   cruegger@eos.hitc.com
                                             car@access.digex.com




             reply	other threads:[~1995-12-27  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-27  5:00 Chris Ruegger [this message]
1995-12-28  5:00 ` Getting process usage data / OSF1 Peter Marksteiner
1995-12-28  5:00   ` Dirk Grunwald
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox