Path: utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!usc!ucsd!nosc!manta!sterrett From: sterrett@manta.NOSC.MIL (Anthony E. Sterrett) Newsgroups: comp.unix.questions Subject: UNIX SunOS perfromance Keywords: Performance,getrusage Message-ID: <1026@manta.NOSC.MIL> Date: 6 Mar 90 18:26:50 GMT Organization: Naval Ocean Systems Center, San Diego Lines: 28 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.