| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final Perfstat |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The return value is -1 in case of errors. Otherwise, the number of structures copied is returned.Structure containing empty string when collecting all cpu stats,
or null to count CPUs name,Populated with structures, or null to count CPUs cpu,Should be set to sizeof(perfstat_cpu_t) sizeof_struct, int Set to 0 to count CPUs, set to number of cpus to return otherwise desired_number)Retrieves individual processor usage metrics |
| public int | Returns: The return value is -1 in case of errors. Otherwise, the number of structures copied is returned. This is always 1.Reserved for future use, must be NULL name,Populated with structure cpu,Should be set to sizeof(perfstat_cpu_total_t) sizeof_struct, int Reserved for future use, must be set to 0 or 1 desired_number)Retrieves total processor usage metrics |
| public int | Returns: The return value is -1 in case of errors. Otherwise, the number of structures copied is returned.Structure containing empty string when collecting all disk stats,
or null to count block disks name,Populated with structures, or null to count disks disks,Should be set to sizeof(perfstat_disk_t) sizeof_struct, int Set to 0 to count disks, set to number of disks to return
otherwise desired_number)Retrieves disk statistics |
| public int | Returns: The return value is -1 in case of errors. Otherwise, the number of structures copied is returned. This is always 1.Reserved for future use, must be NULL name,Populated with structure mem,Should be set to sizeof(perfstat_memory_total_t) sizeof_struct, int Reserved for future use, must be set to 0 or 1 desired_number)Retrieves total memory-related metrics |
| public int | Returns: The return value is -1 in case of errors. Otherwise, the number of structures copied is returned.Structure containing empty string when collecting all interface
stats, or null to count interfaces name,Populated with structures, or null to count interfaces netints,Should be set to sizeof(perfstat_netinterface_t) sizeof_struct, int Set to 0 to count network interfaces, set to number of interfaces
to return otherwise desired_number)Retrieves network interfaces |
| public int | Returns: The return value is -1 in case of errors. Otherwise, the number of structures copied is returned. This is always 1.Reserved for future use, must be NULL name,Populated with structure config,Should be set to sizeof(perfstat_partition_config_t) sizeof_struct, int Reserved for future use, must be set to 0 or 1 desired_number)Retrieves total memory-related metrics |
| public int | Returns: The return value is -1 in case of errors. Otherwise, the number of structures copied is returned.Structure containing empty string when collecting all process
stats, or null to count processes name,Populated with structure procs,Should be set to sizeof(perfstat_process_t) sizeof_struct, int Set to 0 to count processes, set to number of processes to return
otherwise desired_number)Retrieves process-related metrics |
| public int | Returns: The return value is -1 in case of errors. Otherwise, the number of structures copied is returned.Structure containing empty string when collecting all protocol
stats, or null to count stats name,Populated with structures, or null to count protocols protocols,Should be set to sizeof(perfstat_protocol_t) sizeof_struct, int Set to 0 to count protocols, set to number of protocols to return
otherwise desired_number)Retrieves protocol data |