Annotation of researchv10dc/man/manb/vtimes.2v, revision 1.1

1.1     ! root        1: .TH VTIMES 2
        !             2: .CT 2 time_man
        !             3: .SH NAME
        !             4: vtimes \- get usage of time, space, and paging resources
        !             5: .SH SYNOPSIS
        !             6: .B #include <sys/vtimes.h>
        !             7: .PP
        !             8: .B vtimes(par_vm, ch_vm)
        !             9: .br
        !            10: .B struct vtimes *par_vm, *ch_vm;
        !            11: .SH DESCRIPTION
        !            12: .I Vtimes
        !            13: places accounting information for the current process in the
        !            14: area pointed to by
        !            15: .I par_vm
        !            16: and for its terminated children in the
        !            17: area pointed to by
        !            18: .I ch_vm.
        !            19: If either pointer
        !            20: is 0, the corresponding information is omitted.
        !            21: .PP
        !            22: After the call, each area contains information in the form
        !            23: .PP
        !            24: .EX
        !            25: .ta \w"struct 'u +\w'unsigned 'u +\w'vm_utime;  'u
        !            26: struct vtimes {
        !            27:        int     vm_utime;       /* user time */
        !            28:        int     vm_stime;       /* system time */
        !            29:                        /* rss = resident storage size in 512-byte pages */
        !            30:        unsigned        vm_idsrss;      /* time integral - data+stack rss */
        !            31:        unsigned        vm_ixrss;       /* time integral - text rss */
        !            32:        int     vm_maxrss;      /* maximum rss */
        !            33:        int     vm_majflt;      /* major page faults */
        !            34:        int     vm_minflt;      /* minor page faults */
        !            35:        int     vm_nswap;       /* number of swaps */
        !            36:        int     vm_inblk;       /* block reads */
        !            37:        int     vm_oublk;       /* block writes */
        !            38: };
        !            39: .EE
        !            40: .PP
        !            41: Times are expressed in clock ticks of 1/60 (or 1/50) second.
        !            42: The time integrals are computed by cumulating the number
        !            43: of 512-byte pages in use at each clock tick.
        !            44: .PP
        !            45: A major page fault results in disk activity; a minor
        !            46: fault gathers page-reference information.
        !            47: Block reads and writes are file system disk transfers;
        !            48: blocks found in the buffer pool are not counted.
        !            49: .SH SEE ALSO
        !            50: .IR time (2),
        !            51: .IR wait(2)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.