From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,15fb39ffc0a4452c,start X-Google-Attributes: gidfee84,public From: Chris Ruegger Subject: Getting process usage data / OSF1 Date: 1995/12/27 Message-ID: <4bs5sf$ktr@newsroom.hitc.com>#1/1 X-Deja-AN: 122948389 content-type: text/plain; charset=us-ascii organization: Hughes Information Technology Corporation x-url: news:comp.unix.osf.osf1 mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 1.12 (X11; I; SunOS 5.4 sun4m) 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