From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,46bfbe51a6a5da16 X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,46bfbe51a6a5da16 X-Google-Attributes: gidfee84,public From: "Dennis J. Sylvester" Subject: Re: CPU load and Disk I/O and load Date: 2000/04/28 Message-ID: <3909B258.CB624AB2@wcom.com>#1/1 X-Deja-AN: 616822819 Content-Transfer-Encoding: 7bit References: <38FA916C.11B07EC0@ot.com.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: pm02news.wcom.com 956936744 166.33.202.54 (Fri, 28 Apr 2000 15:45:44 GMT) MIME-Version: 1.0 NNTP-Posting-Date: Fri, 28 Apr 2000 15:45:44 GMT Newsgroups: comp.unix.osf.osf1,comp.unix.programmer Go to Compaq/s site and get 'collect'. It's a great utility and will gather almost all the data you need as well as being very configurable. It also has a playback feature that is very useful. Raj Calisa wrote: > Hi all, > > I work on Digital Unix V4.0D. I need to write a program that > determines the load on the CPU and also gather disk I/O > statistics. From these two things, I need to determine if > the system is loaded or not based some some user defined > threshold(s). > > I figured that I need to use the table(2) system call. Does the > load average that is returned by table() reflect (at least to > some extent) the load on the CPU? If not what else determines > it? > > For disk statistics, I am not sure how to interpret > tbl_dkinfo struct. Any help in this is appreciated. > > thanks. > > raj...