Library
The perfstat API uses the perfstat kernel extension to extract various AIX® performance metrics. System component information is also retrieved from the Object Data Manager (ODM) and returned with the performance metrics. The perfstat API is thread–safe, and does not require root authority.
Verschachtelte Klassen
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
Felder
int
Retrieves individual processor usage metrics
int
Retrieves total processor usage metrics
int
Retrieves disk statistics
int
Retrieves total memory-related metrics
int
Retrieves network interfaces
int
Retrieves total memory-related metrics
int
Retrieves process-related metrics
int
static final int IDENTIFIER_LENGTH
Retrieves total processor usage metrics
name
- Reserved for future use, must be NULL
cpu
- Populated with structure
sizeof_struct
- Should be set to sizeof(perfstat_cpu_total_t)
desired_number
- Reserved for future use, must be set to 0 or 1
Retrieves individual processor usage metrics
name
- Structure containing empty string when collecting all cpu stats, or null to count CPUs
cpu
- Populated with structures, or null to count CPUs
sizeof_struct
- Should be set to sizeof(perfstat_cpu_t)
desired_number
- Set to 0 to count CPUs, set to number of cpus to return otherwise
Retrieves total memory-related metrics
name
- Reserved for future use, must be NULL
mem
- Populated with structure
sizeof_struct
- Should be set to sizeof(perfstat_memory_total_t)
desired_number
- Reserved for future use, must be set to 0 or 1
Retrieves process-related metrics
name
- Structure containing empty string when collecting all process stats, or null to count processes
procs
- Populated with structure
sizeof_struct
- Should be set to sizeof(perfstat_process_t)
desired_number
- Set to 0 to count processes, set to number of processes to return otherwise
Retrieves disk statistics
name
- Structure containing empty string when collecting all disk stats, or null to count block disks
disks
- Populated with structures, or null to count disks
sizeof_struct
- Should be set to sizeof(perfstat_disk_t)
desired_number
- Set to 0 to count disks, set to number of disks to return otherwise
Retrieves total memory-related metrics
name
- Reserved for future use, must be NULL
config
- Populated with structure
sizeof_struct
- Should be set to sizeof(perfstat_partition_config_t)
desired_number
- Reserved for future use, must be set to 0 or 1
Retrieves network interfaces
name
- Structure containing empty string when collecting all interface stats, or null to count interfaces
netints
- Populated with structures, or null to count interfaces
sizeof_struct
- Should be set to sizeof(perfstat_netinterface_t)
desired_number
- Set to 0 to count network interfaces, set to number of interfaces to return otherwise
Retrieves protocol data
name
- Structure containing empty string when collecting all protocol stats, or null to count stats
protocols
- Populated with structures, or null to count protocols
sizeof_struct
- Should be set to sizeof(perfstat_protocol_t)
desired_number
- Set to 0 to count protocols, set to number of protocols to return otherwise
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4