[][src]Crate sigar_sys

Provides low level binding to AlexYaruki/sigar, which is a independent fork version of official hyperic/sigar

Structs

__darwin_pthread_handler_rec
__va_list_tag
_opaque_pthread_attr_t
_opaque_pthread_cond_t
_opaque_pthread_condattr_t
_opaque_pthread_mutex_t
_opaque_pthread_mutexattr_t
_opaque_pthread_once_t
_opaque_pthread_rwlock_t
_opaque_pthread_rwlockattr_t
_opaque_pthread_t
fd_set
sigar_arp_list_t
sigar_arp_t
sigar_cached_proc_disk_io_t
sigar_cpu_info_list_t
sigar_cpu_info_t
sigar_cpu_list_t
sigar_cpu_perc_t
sigar_cpu_t
sigar_dir_stat_t
sigar_disk_usage_t
sigar_dump_pid_cache_t
sigar_file_attrs_t
sigar_file_system_list_t
sigar_file_system_t
sigar_file_system_usage_t
sigar_loadavg_t
sigar_mem_t
sigar_net_address_t
sigar_net_connection_list_t
sigar_net_connection_t
sigar_net_connection_walker_t
sigar_net_info_t
sigar_net_interface_config_t
sigar_net_interface_list_t
sigar_net_interface_stat_t
sigar_net_route_list_t
sigar_net_route_t
sigar_net_stat_t
sigar_nfs_v2_t
sigar_nfs_v3_t
sigar_proc_args_t
sigar_proc_cpu_t
sigar_proc_cred_name_t
sigar_proc_cred_t
sigar_proc_cumulative_disk_io_t
sigar_proc_disk_io_t
sigar_proc_env_t
sigar_proc_exe_t
sigar_proc_fd_t
sigar_proc_list_t
sigar_proc_mem_t
sigar_proc_modules_t
sigar_proc_stat_t
sigar_proc_state_t
sigar_proc_time_t
sigar_ptql_error_t
sigar_ptql_query_t
sigar_resource_limit_t
sigar_swap_t
sigar_sys_info_t
sigar_t
sigar_tcp_t
sigar_thread_cpu_t
sigar_uptime_t
sigar_version_t
sigar_who_list_t
sigar_who_t

Constants

ARG_MAX
BC_BASE_MAX
BC_DIM_MAX
BC_SCALE_MAX
BC_STRING_MAX
BIG_ENDIAN
BYTE_ORDER
CHARCLASS_NAME_MAX
CHAR_BIT
CHAR_MAX
CHAR_MIN
CHILD_MAX
CLK_TCK
COLL_WEIGHTS_MAX
EQUIV_CLASS_MAX
EXPR_NEST_MAX
FD_SETSIZE
GID_MAX
INT_MAX
INT_MIN
IOV_MAX
LINE_MAX
LINK_MAX
LITTLE_ENDIAN
LLONG_MAX
LLONG_MIN
LONG_BIT
LONG_MAX
LONG_MIN
MAX_CANON
MAX_INPUT
MAX_INTERFACE_NAME_LEN
MB_LEN_MAX
NAME_MAX
NBBY
NGROUPS_MAX
NL_ARGMAX
NL_LANGMAX
NL_MSGMAX
NL_NMAX
NL_SETMAX
NL_TEXTMAX
NZERO
OFF_MAX
OFF_MIN
OPEN_MAX
PASS_MAX
PATH_MAX
PDP_ENDIAN
PIPE_BUF
PTHREAD_DESTRUCTOR_ITERATIONS
PTHREAD_KEYS_MAX
PTHREAD_STACK_MIN
QUAD_MAX
QUAD_MIN
RE_DUP_MAX
SCHAR_MAX
SCHAR_MIN
SHRT_MAX
SHRT_MIN
SIGAR_CODE_OK

Represents OK returned from functions

SIGAR_CRED_NAME_MAX
SIGAR_ENOTIMPL
SIGAR_FIELD_NOTIMPL
SIGAR_FQDN_LEN
SIGAR_FS_INFO_LEN
SIGAR_FS_NAME_LEN
SIGAR_F_U64
SIGAR_GEXECUTE
SIGAR_GREAD
SIGAR_GWRITE
SIGAR_IFF_ALLMULTI
SIGAR_IFF_BROADCAST
SIGAR_IFF_DEBUG
SIGAR_IFF_DYNAMIC
SIGAR_IFF_LOOPBACK
SIGAR_IFF_MASTER
SIGAR_IFF_MULTICAST
SIGAR_IFF_NOARP
SIGAR_IFF_NOTRAILERS
SIGAR_IFF_POINTOPOINT
SIGAR_IFF_PROMISC
SIGAR_IFF_RUNNING
SIGAR_IFF_SLAVE
SIGAR_IFF_UP
SIGAR_INET6_ADDRSTRLEN
SIGAR_IPV6_ADDR_ANY
SIGAR_IPV6_ADDR_UNICAST
SIGAR_IPV6_ADDR_MULTICAST
SIGAR_IPV6_ADDR_LOOPBACK
SIGAR_IPV6_ADDR_LINKLOCAL
SIGAR_IPV6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ANCE
_DARWIN_FEATURE_UNIX_CONFORMANCE
_POSIX2_BC_BASE_MAX
_POSIX2_BC_DIM_MAX
_POSIX2_BC_SCALE_MAX
_POSIX2_BC_STRING_MAX
_POSIX2_EQUIV_CLASS_MAX
_POSIX2_EXPR_NEST_MAX
_POSIX2_LINE_MAX
_POSIX2_RE_DUP_MAX
_POSIX2_CHARCLASS_NAME_MAX
_POSIX2_COLL_WEIGHTS_MAX
_POSIX_AIO_LISTIO_MAX
_POSIX_AIO_MAX
_POSIX_ARG_MAX
_POSIX_CHILD_MAX
_POSIX_CLOCKRES_MIN
_POSIX_DELAYTIMER_MAX
_POSIX_HOST_NAME_MAX
_POSIX_LINK_MAX
_POSIX_LOGIN_NAME_MAX
_POSIX_MAX_CANON
_POSIX_MAX_INPUT
_POSIX_MQ_OPEN_MAX
_POSIX_MQ_PRIO_MAX
_POSIX_NAME_MAX
_POSIX_NGROUPS_MAX
_POSIX_OPEN_MAX
_POSIX_PATH_MAX
_POSIX_PIPE_BUF
_POSIX_RE_DUP_MAX
_POSIX_RTSIG_MAX
_POSIX_SEM_NSEMS_MAX
_POSIX_SEM_VALUE_MAX
_POSIX_SIGQUEUE_MAX
_POSIX_SSIZE_MAX
_POSIX_SS_REPL_MAX
_POSIX_STREAM_MAX
_POSIX_SYMLINK_MAX
_POSIX_SYMLOOP_MAX
_POSIX_THREAD_DESTRUCTOR_ITERATIONS
_POSIX_THREAD_KEYS_MAX
_POSIX_THREAD_THREADS_MAX
_POSIX_TIMER_MAX
_POSIX_TRACE_EVENT_NAME_MAX
_POSIX_TRACE_NAME_MAX
_POSIX_TRACE_SYS_MAX
_POSIX_TRACE_USER_EVENT_MAX
_POSIX_TTY_NAME_MAX
_POSIX_TZNAME_MAX
_QUAD_HIGHWORD
_QUAD_LOWWORD
_XOPEN_IOV_MAX
_XOPEN_NAME_MAX
_XOPEN_PATH_MAX
__DARWIN_64_BIT_INO_T
__DARWIN_BIG_ENDIAN
__DARWIN_BYTE_ORDER
__DARWIN_CLK_TCK
__DARWIN_C_ANSI
__DARWIN_C_FULL
__DARWIN_C_LEVEL
__DARWIN_FD_SETSIZE
__DARWIN_LITTLE_ENDIAN
__DARWIN_NBBY
__DARWIN_NON_CANCELABLE
__DARWIN_NO_LONG_LONG
__DARWIN_ONLY_64_BIT_INO_T
__DARWIN_ONLY_UNIX_CONFORMANCE
__DARWIN_ONLY_VERS_1050
__DARWIN_PDP_ENDIAN
__DARWIN_SUF_64_BIT_INO_T
__DARWIN_SUF_1050
__DARWIN_SUF_EXTSN
__DARWIN_UNIX03
__DARWIN_VERS_1050
__GNUC_VA_LIST
__PTHREAD_ATTR_SIZE__
__PTHREAD_CONDATTR_SIZE__
__PTHREAD_COND_SIZE__
__PTHREAD_MUTEXATTR_SIZE__
__PTHREAD_MUTEX_SIZE__
__PTHREAD_ONCE_SIZE__
__PTHREAD_RWLOCKATTR_SIZE__
__PTHREAD_RWLOCK_SIZE__
__PTHREAD_SIZE__
__STDC_WANT_LIB_EXT1__
sigar_file_system_type_e_SIGAR_FSTYPE_CDROM
sigar_file_system_type_e_SIGAR_FSTYPE_LOCAL_DISK
sigar_file_system_type_e_SIGAR_FSTYPE_MAX
sigar_file_system_type_e_SIGAR_FSTYPE_NETWORK
sigar_file_system_type_e_SIGAR_FSTYPE_NONE
sigar_file_system_type_e_SIGAR_FSTYPE_RAM_DISK
sigar_file_system_type_e_SIGAR_FSTYPE_SWAP
sigar_file_system_type_e_SIGAR_FSTYPE_UNKNOWN
sigar_file_type_e_SIGAR_FILETYPE_BLK

< a block device

sigar_file_type_e_SIGAR_FILETYPE_CHR

< a character device

sigar_file_type_e_SIGAR_FILETYPE_DIR

< a directory

sigar_file_type_e_SIGAR_FILETYPE_LNK

< a symbolic link

sigar_file_type_e_SIGAR_FILETYPE_NOFILE

< no file type determined

sigar_file_type_e_SIGAR_FILETYPE_PIPE

< a FIFO / pipe

sigar_file_type_e_SIGAR_FILETYPE_REG

< a regular file

sigar_file_type_e_SIGAR_FILETYPE_SOCK

< a [unix domain] socket

sigar_file_type_e_SIGAR_FILETYPE_UNKFILE

< a file of some other unknown type

sigar_net_address_t_SIGAR_AF_INET
sigar_net_address_t_SIGAR_AF_INET6
sigar_net_address_t_SIGAR_AF_LINK
sigar_net_address_t_SIGAR_AF_UNSPEC
sigar_proc_env_t_SIGAR_PROC_ENV_ALL
sigar_proc_env_t_SIGAR_PROC_ENV_KEY

Functions

error_string

Returns an error string from given code

sigar_arp_list_destroy
sigar_arp_list_get
sigar_close
sigar_cpu_get
sigar_cpu_info_list_destroy
sigar_cpu_info_list_get
sigar_cpu_list_destroy
sigar_cpu_list_get
sigar_cpu_perc_calculate
sigar_dir_stat_get
sigar_dir_usage_get
sigar_disk_usage_get
sigar_dump_pid_cache_get
sigar_file_attrs_get
sigar_file_attrs_mode_get
sigar_file_attrs_permissions_string_get
sigar_file_attrs_type_string_get
sigar_file_system_list_destroy
sigar_file_system_list_get
sigar_file_system_ping
sigar_file_system_usage_get
sigar_format_size
sigar_fqdn_get
sigar_link_attrs_get
sigar_loadavg_get
sigar_log
sigar_log_impl_file
sigar_log_impl_set
sigar_log_level_get
sigar_log_level_set
sigar_log_printf
sigar_mem_get
sigar_net_address_equals
sigar_net_address_hash
sigar_net_address_to_string
sigar_net_connection_list_destroy
sigar_net_connection_list_get
sigar_net_connection_state_get
sigar_net_connection_type_get
sigar_net_connection_walk
sigar_net_info_get
sigar_net_interface_config_get
sigar_net_interface_config_primary_get
sigar_net_interface_flags_to_string
sigar_net_interface_list_destroy
sigar_net_interface_list_get
sigar_net_interface_stat_get
sigar_net_listen_address_get
sigar_net_route_list_destroy
sigar_net_route_list_get
sigar_net_scope_to_string
sigar_net_services_name_get
sigar_net_stat_get
sigar_net_stat_port_get
sigar_nfs_client_v2_get
sigar_nfs_client_v3_get
sigar_nfs_server_v2_get
sigar_nfs_server_v3_get
sigar_open
sigar_pid_get
sigar_proc_args_destroy
sigar_proc_args_get
sigar_proc_cpu_get
sigar_proc_cred_get
sigar_proc_cred_name_get
sigar_proc_cumulative_disk_io_get
sigar_proc_disk_io_get
sigar_proc_env_get
sigar_proc_exe_get
sigar_proc_fd_get
sigar_proc_kill
sigar_proc_list_destroy
sigar_proc_list_get
sigar_proc_mem_get
sigar_proc_modules_get
sigar_proc_port_get
sigar_proc_stat_get
sigar_proc_state_get
sigar_proc_time_get
sigar_ptql_query_create
sigar_ptql_query_destroy
sigar_ptql_query_find
sigar_ptql_query_find_process
sigar_ptql_query_match
sigar_ptql_re_impl_set
sigar_resource_limit_get
sigar_rpc_ping
sigar_rpc_strerror
sigar_signum_get
sigar_strerror
sigar_swap_get
sigar_sys_info_get
sigar_tcp_get
sigar_thread_cpu_get
sigar_uptime_get
sigar_uptime_string
sigar_version_get
sigar_who_list_destroy
sigar_who_list_get

Type Definitions

__builtin_va_list
__darwin_blkcnt_t
__darwin_blksize_t
__darwin_clock_t
__darwin_ct_rune_t
__darwin_dev_t
__darwin_fsblkcnt_t
__darwin_fsfilcnt_t
__darwin_gid_t
__darwin_id_t
__darwin_ino64_t
__darwin_ino_t
__darwin_intptr_t
__darwin_mach_port_name_t
__darwin_mach_port_t
__darwin_mbstate_t
__darwin_mode_t
__darwin_natural_t
__darwin_off_t
__darwin_pid_t
__darwin_pthread_attr_t
__darwin_pthread_cond_t
__darwin_pthread_condattr_t
__darwin_pthread_key_t
__darwin_pthread_mutex_t
__darwin_pthread_mutexattr_t
__darwin_pthread_once_t
__darwin_pthread_rwlock_t
__darwin_pthread_rwlockattr_t
__darwin_pthread_t
__darwin_ptrdiff_t
__darwin_rune_t
__darwin_sigset_t
__darwin_size_t
__darwin_socklen_t
__darwin_ssize_t
__darwin_suseconds_t
__darwin_time_t
__darwin_uid_t
__darwin_useconds_t
__darwin_uuid_string_t
__darwin_uuid_t
__darwin_va_list
__darwin_wchar_t
__darwin_wint_t
__gnuc_va_list
__int8_t
__int16_t
__int32_t
__int64_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
_bindgen_ty_1
blkcnt_t
blksize_t
caddr_t
clock_t
daddr_t
dev_t
errno_t
fd_mask
fixpt_t
fsblkcnt_t
fsfilcnt_t
gid_t
id_t
in_addr_t
in_port_t
ino64_t
ino_t
key_t
mode_t
nlink_t
off_t
pid_t
pthread_attr_t
pthread_cond_t
pthread_condattr_t
pthread_key_t
pthread_mutex_t
pthread_mutexattr_t
pthread_once_t
pthread_rwlock_t
pthread_rwlockattr_t
pthread_t
qaddr_t
quad_t
register_t
rsize_t
segsz_t
sigar_dir_usage_t
sigar_file_system_type_e
sigar_file_type_e
sigar_gid_t
sigar_int32_t
sigar_int64_t
sigar_log_impl_t
sigar_net_address_t__bindgen_ty_1
sigar_nfs_client_v2_t
sigar_nfs_client_v3_t
sigar_nfs_server_v2_t
sigar_nfs_server_v3_t
sigar_pid_t
sigar_proc_env_t__bindgen_ty_1
sigar_ptql_re_impl_t
sigar_uid_t
sigar_uint32_t
sigar_uint64_t
suseconds_t
swblk_t
syscall_arg_t
time_t
u_char
u_int
u_int8_t
u_int16_t
u_int32_t
u_int64_t
u_long
u_quad_t
u_short
uid_t
uint
useconds_t
user_addr_t
user_long_t
user_off_t
user_size_t
user_ssize_t
user_time_t
user_ulong_t
ushort
va_list

Unions

__mbstate_t
sigar_net_address_t__bindgen_ty_2