From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,2b6182496ab5fff X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-01-25 09:38:16 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!out.nntp.be!propagator-SanJose!in.nntp.be!newsrouter.icnc.com!uunet!sac.uu.net!news.compaq.com!news.cpqcorp.net!nabeth.cxo.cpqcorp.net!alan Newsgroups: comp.unix.tru64 From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Distribution: world References: <8940abed.0201250632.425b2fc@posting.google.com> Reply-To: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Performance API on Tru64 Message-ID: <4Kg48.42$am1.672@news.cpqcorp.net> Date: Fri, 25 Jan 2002 17:38:08 GMT NNTP-Posting-Host: 16.112.5.128 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1011980288 16.112.5.128 (Fri, 25 Jan 2002 09:38:08 PST) NNTP-Posting-Date: Fri, 25 Jan 2002 09:38:08 PST Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:6572 In article <8940abed.0201250632.425b2fc@posting.google.com>, hoshisato@hotmail.com (Hoshisato) writes: >Hello, >>From a program on a Tru64 system I need to forward the the CPU, DISK, >IO and PAGINGINFO statistics to another node. On HP Unix I used >pstat.h and sysinfo.h, but those interfaces don't seem to exist on >Tru64. What interfaces do I need to use? A lot of performance data is available using the table(2) system call, with some available through getsysinfo(2). For other bits you may have use the undoucmented Mach interface or go reading kernel memory directly. For those cases you're best off finding the source of one of the free performance monitoring programs and see how they get the information. Monitor is one such program: ftp.digital.com:/pub/DEC/monitor.alpha.tar.Z The manual pages for table(2) and getsysinfo(2) may not document all the available data structures, so go looking through the include files. Newer versions often support getting more data than older versions. > >Thanks, > >Hans. > -- Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)