Name
getrusage — return process resource accounting counters from the OS
Synopsis
any getrusage(
|
); |
Description
getrusage returns a 10-element vector of process
resource accounting counters obtained from the operating system. The slots
are: user CPU time in milliseconds, system CPU time in milliseconds, peak
resident-set size in kilobytes, soft page faults, hard page faults, swap
operations, block input operations, block output operations, voluntary
context switches and involuntary context switches.
Return Types
A 10-element vector (any) of integer counters.
Examples
Example 24.211. Inspect process resource counters
SQL> select getrusage ();