Process accounting programs for a SCO-Unix system

Process accounting programs for a SCO-Unix system

Post by C A Iss » Wed, 20 May 1992 01:23:49



I'm currently working on process accounting programs for an SCO - UNIX
system.  

I'm aware of the fact that this information can be obtained through
sadd and pacct, but for purposes of efficiency I need to obtain the
information directly from the kernel.

I'm basing my work on the use of sys/sysinfo.h. This approach,
however, is inadequate.

Specifically, I require advice or reference to pertinent documentation
concerning the following:

1. Which are the kernel data structures where data on disk and network
    utilization are stored?

2. How can I read the information stored in files generated by sadc
    (without using sar), and how should I correlate disk information
    (field devio[NDEVS][4] from the struct sa) with the respective
    devices?.

3. Which are the required steps to obtain process information from the
    process table?

4. Is there a public-domain version of the ps source code so that I
    can learn how to obtain process information?

                                THANKS!

 
 
 

1. SCO Unix, SBT Accounting Systems

  I'm having trouble locating support for the Unix version of the SBT
Accounting System ver 2.5 & .6.  If anyone has any experience with this program,
please send me your thoughts......

                             Thanks in advance,

                                David Wuensch

2. Help with Masq Problem?

3. SCO UNIX, SBT Accounting Systems

4. X windows locking up

5. SCO Unix, SBT Accounting Systems

6. appletsecurityexception on netscape unix

7. manually retrieving files from a bad taper backup

8. compile C programs with UNIX system calls (= Unix Programs??)

9. Help in programming a Client/Server application on a SCO UNIX System

10. Easy way to identify system created account or account for system services

11. MAXIMUM PROCESS SIZE under SCO UNIX ODT 1.1 and ANY OTHER 386 UNIX??