Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: pm@katz.cc.univie.ac.at (Peter Marksteiner)
Subject: Re: Getting process usage data / OSF1
Date: 1995/12/28	[thread overview]
Message-ID: <4bto9d$172e@ftp.univie.ac.at> (raw)
In-Reply-To: 4bs5sf$ktr@newsroom.hitc.com

Chris Ruegger (cruegger@eos.hitc.com) wrote:
: 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

Check the source code of top version 3.3 (available from eecs.nwu.edu),
the OSF/1 stuff is in "machine/m_decosf1.c". They use "task_info" from the 
Mach library. Working with undocumented system calls is fun.
--
           Peter Marksteiner
           Vienna University Computer Center



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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-27  5:00 Getting process usage data / OSF1 Chris Ruegger
1995-12-28  5:00 ` Peter Marksteiner [this message]
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