From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,efc23b8849e12c,start X-Google-Attributes: gidfee84,public From: greg_nate@my-deja.com Subject: Need help with OFS v4 kernel info programming Date: 2000/04/01 Message-ID: <8c5e24$4u$1@nnrp1.deja.com>#1/1 X-Deja-AN: 605326423 X-Http-Proxy: 1.0 x41.deja.com:80 (Squid/1.1.22) for client 12.15.16.10 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sat Apr 01 18:10:22 2000 GMT X-MyDeja-Info: XMYDJUIDgreg_nate Newsgroups: comp.unix.osf.osf1 X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT) Hello all. I am attempting to write a program, very similar to the AIX program 'pstat', which is a non-interactive version of the crash program used by other unices. essentially, I want to print out the kernel tables for processes, inodes, queues, streams, etc. i have looked in /usr/include/sys and there is jsut too much stuff in there to try to sort out. can anyone give me any pointers as to where to start, for example to get the running process table list or the running inode table list. i am interested in program correctness, which is why i am hoping that someone knows a little about the alpha kernel. there are literally hundreds of structures in /usr/include/sys and i want to make sure that i am pulling info from the right ones. any help or hints are greatly appreciated. or, alternatively, if anyone might have an idea as to where i can get a peek at the AIX 'pstat' code, that would be a big help. thanks in advance. greg nate p.s. are there any other news groups that i should be posting to? I just signed up on deja and would like to know of any other alpha programming/admin groups that i can scbscribe to. thanks again Sent via Deja.com http://www.deja.com/ Before you buy.