Crate libstatgrab_sys

Crate libstatgrab_sys 

Source

Structs§

sg_cpu_percents
sg_cpu_stats
sg_disk_io_stats
sg_error_details
sg_fs_stats
sg_host_info
sg_load_stats
sg_mem_stats
sg_network_iface_stats
sg_network_io_stats
sg_page_stats
sg_process_count
sg_process_stats
sg_swap_stats
sg_user_stats

Constants§

sg_cpu_percent_source_sg_entire_cpu_percent
sg_cpu_percent_source_sg_last_diff_cpu_percent
sg_cpu_percent_source_sg_new_diff_cpu_percent
sg_error_SG_ERROR_ASPRINTF
sg_error_SG_ERROR_DEVICES
sg_error_SG_ERROR_DEVSTAT_GETDEVS
sg_error_SG_ERROR_DEVSTAT_SELECTDEVS
sg_error_SG_ERROR_DISKINFO
sg_error_SG_ERROR_ENOENT
sg_error_SG_ERROR_GETIFADDRS
sg_error_SG_ERROR_GETMNTINFO
sg_error_SG_ERROR_GETMSG
sg_error_SG_ERROR_GETPAGESIZE
sg_error_SG_ERROR_HOST
sg_error_SG_ERROR_INITIALISATION
sg_error_SG_ERROR_INVALID_ARGUMENT
sg_error_SG_ERROR_IOKIT
sg_error_SG_ERROR_KSTAT_DATA_LOOKUP
sg_error_SG_ERROR_KSTAT_LOOKUP
sg_error_SG_ERROR_KSTAT_OPEN
sg_error_SG_ERROR_KSTAT_READ
sg_error_SG_ERROR_KVM_GETSWAPINFO
sg_error_SG_ERROR_KVM_OPENFILES
sg_error_SG_ERROR_MACHCALL
sg_error_SG_ERROR_MALLOC
sg_error_SG_ERROR_MEMSTATUS
sg_error_SG_ERROR_MUTEX_LOCK
sg_error_SG_ERROR_MUTEX_UNLOCK
sg_error_SG_ERROR_NONE
sg_error_SG_ERROR_OPEN
sg_error_SG_ERROR_OPENDIR
sg_error_SG_ERROR_PARSE
sg_error_SG_ERROR_PDHADD
sg_error_SG_ERROR_PDHCOLLECT
sg_error_SG_ERROR_PDHOPEN
sg_error_SG_ERROR_PDHREAD
sg_error_SG_ERROR_PERMISSION
sg_error_SG_ERROR_PSTAT
sg_error_SG_ERROR_PUTMSG
sg_error_SG_ERROR_READDIR
sg_error_SG_ERROR_SETEGID
sg_error_SG_ERROR_SETEUID
sg_error_SG_ERROR_SETMNTENT
sg_error_SG_ERROR_SOCKET
sg_error_SG_ERROR_SPRINTF
sg_error_SG_ERROR_SWAPCTL
sg_error_SG_ERROR_SYSCONF
sg_error_SG_ERROR_SYSCTL
sg_error_SG_ERROR_SYSCTLBYNAME
sg_error_SG_ERROR_SYSCTLNAMETOMIB
sg_error_SG_ERROR_SYSINFO
sg_error_SG_ERROR_UNAME
sg_error_SG_ERROR_UNSUPPORTED
sg_error_SG_ERROR_XSW_VER_MISMATCH
sg_fs_device_type_sg_fs_alltypes
sg_fs_device_type_sg_fs_local
sg_fs_device_type_sg_fs_loopback
sg_fs_device_type_sg_fs_regular
sg_fs_device_type_sg_fs_remote
sg_fs_device_type_sg_fs_special
sg_fs_device_type_sg_fs_unknown
sg_host_state_sg_hardware_virtualized
sg_host_state_sg_paravirtual_machine
sg_host_state_sg_physical_host
sg_host_state_sg_unknown_configuration
sg_host_state_sg_virtual_machine
sg_iface_duplex_SG_IFACE_DUPLEX_FULL
sg_iface_duplex_SG_IFACE_DUPLEX_HALF
sg_iface_duplex_SG_IFACE_DUPLEX_UNKNOWN
sg_iface_updown_SG_IFACE_DOWN
sg_iface_updown_SG_IFACE_UP
sg_process_count_source_sg_entire_process_count
sg_process_count_source_sg_last_process_count
sg_process_state_SG_PROCESS_STATE_RUNNING
sg_process_state_SG_PROCESS_STATE_SLEEPING
sg_process_state_SG_PROCESS_STATE_STOPPED
sg_process_state_SG_PROCESS_STATE_UNKNOWN
sg_process_state_SG_PROCESS_STATE_ZOMBIE

Functions§

sg_disk_io_compare_name
sg_disk_io_compare_traffic
sg_drop_privileges
sg_free_stats_buf
sg_fs_compare_device_name
sg_fs_compare_mnt_point
sg_get_cpu_percents_of
sg_get_cpu_percents_r
sg_get_cpu_stats
sg_get_cpu_stats_diff
sg_get_cpu_stats_diff_between
sg_get_cpu_stats_r
sg_get_disk_io_stats
sg_get_disk_io_stats_diff
sg_get_disk_io_stats_diff_between
sg_get_disk_io_stats_r
sg_get_error
sg_get_error_arg
sg_get_error_details
sg_get_error_errno
sg_get_fs_stats
sg_get_fs_stats_diff
sg_get_fs_stats_diff_between
sg_get_fs_stats_r
sg_get_host_info
sg_get_host_info_r
sg_get_load_stats
sg_get_load_stats_r
sg_get_mem_stats
sg_get_mem_stats_r
sg_get_nelements
sg_get_network_iface_stats
sg_get_network_iface_stats_r
sg_get_network_io_stats
sg_get_network_io_stats_diff
sg_get_network_io_stats_diff_between
sg_get_network_io_stats_r
sg_get_page_stats
sg_get_page_stats_diff
sg_get_page_stats_diff_between
sg_get_page_stats_r
sg_get_process_count_of
sg_get_process_count_r
sg_get_process_stats
sg_get_process_stats_r
sg_get_swap_stats
sg_get_swap_stats_r
sg_get_user_stats
sg_get_user_stats_r
sg_get_valid_filesystems
sg_init
sg_lock_mutex
sg_network_iface_compare_name
sg_network_io_compare_name
sg_process_compare_cpu
sg_process_compare_gid
sg_process_compare_name
sg_process_compare_pid
sg_process_compare_res
sg_process_compare_size
sg_process_compare_time
sg_process_compare_uid
sg_set_valid_filesystems
sg_shutdown
sg_snapshot
sg_str_error
sg_strperror
sg_unlock_mutex

Type Aliases§

__gid_t
__pid_t
__time_t
__uid_t
gid_t
pid_t
sg_cpu_percent_source
sg_error
sg_fs_device_type
sg_host_state
sg_iface_duplex
sg_iface_updown
sg_process_count_source
sg_process_state
time_t
uid_t