* Getting process usage data / OSF1
@ 1995-12-27 5:00 Chris Ruegger
1995-12-28 5:00 ` Peter Marksteiner
0 siblings, 1 reply; 3+ messages in thread
From: Chris Ruegger @ 1995-12-27 5:00 UTC (permalink / 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Getting process usage data / OSF1
1995-12-27 5:00 Getting process usage data / OSF1 Chris Ruegger
@ 1995-12-28 5:00 ` Peter Marksteiner
1995-12-28 5:00 ` Dirk Grunwald
0 siblings, 1 reply; 3+ messages in thread
From: Peter Marksteiner @ 1995-12-28 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Getting process usage data / OSF1
1995-12-28 5:00 ` Peter Marksteiner
@ 1995-12-28 5:00 ` Dirk Grunwald
0 siblings, 0 replies; 3+ messages in thread
From: Dirk Grunwald @ 1995-12-28 5:00 UTC (permalink / raw)
>>>>> "PM" == Peter Marksteiner <pm@katz.cc.univie.ac.at> writes:
In article <4bto9d$172e@ftp.univie.ac.at> pm@katz.cc.univie.ac.at (Peter Marksteiner) writes:
PM> Check the source code of top version 3.3 (available from eecs.nwu.edu),
PM> the OSF/1 stuff is in "machine/m_decosf1.c". They use "task_info" from the
PM> Mach library. Working with undocumented system calls is fun.
PM> --
PM> Peter Marksteiner
PM> Vienna University Computer Center
--
Any idea why the Mach interface isn't documented? It indicates to me that
they'll drop it in the future.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-12-28 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-27 5:00 Getting process usage data / OSF1 Chris Ruegger
1995-12-28 5:00 ` Peter Marksteiner
1995-12-28 5:00 ` Dirk Grunwald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox