UNIX SunOS perfromance

Anthony E. Sterrett sterrett at manta.NOSC.MIL
Wed Mar 7 04:26:50 AEST 1990


We are trying to make some performance measurements on unix systems, We
are taking perfromance measurement of certain Ada programs under
SunOS 4.0.3 running in a Sun 3. Since we are running Ada (Verdix)
we do not have a complier option that allows profiling. Idealy, We 
would write a program which on the basis of PID provide

-user cpu time
-system cpu time
-page faults
-swaps
-block inputs/outputs
- average and max access times for disks, io-sizes etc

There is a syscall getrusage() in SunOS which gives much of this
stuff but only for the current process or terminated child
we need it on a per PID basis. We also could useprofil() 
but that has to be call from the current process(which is a
Ada porgram). Thanks 

Any ideas.

Tony Sterrett
(619) 553-4078
Code 411
NOSC
San Diego Ca
I speak only for myself.          



More information about the Comp.unix.questions mailing list