*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: vtimes | Section: 2 | Source: UNIX v10 | File: vtimes.2
VTIMES(2) System Calls Manual VTIMES(2) NAME vtimes - get usage of time, space, and paging resources SYNOPSIS #include <sys/vtimes.h> vtimes(par_vm, ch_vm) struct vtimes *par_vm, *ch_vm; DESCRIPTION Vtimes places accounting information for the current process in the area pointed to by par_vm and for its terminated children in the area pointed to by ch_vm. If either pointer is 0, the corresponding infor- mation is omitted. After the call, each area contains information in the form struct vtimes { int vm_utime; /* user time */ int vm_stime; /* system time */ /* rss = resident storage size in 512-byte pages */ unsigned vm_idsrss; /* rss time integral, data+stack */ unsigned vm_ixrss; /* rss time integral, text */ int vm_maxrss; /* maximum rss */ int vm_majflt; /* major page faults */ int vm_minflt; /* minor page faults */ int vm_nswap; /* number of swaps */ int vm_inblk; /* block reads */ int vm_oublk; /* block writes */ }; Times are expressed in clock ticks of 1/60 (or 1/50) second. The time integrals are computed by cumulating the number of 512-byte pages in use at each clock tick. A major page fault involves a disk transfer; a minor fault gathers page-reference information. Block reads and writes are file system disk transfers; blocks found in the buffer pool are not counted. SEE ALSO time(2), exit(2) VTIMES(2)

Navigation Options