Package libstatgrab-devel

Development files for libstatgrab

http://www.i-scream.org/libstatgrab

This package contains libraries, header files and manpages for
developing applications that use libstatgrab.

Library Functions (Section 3)
sg_comp_init
sg_comp_init() is called by sg_init() to run the initialisation for the globals component and each registered libstatgrab component. This registration is done...
sg_get_cpu_stats
These are the categories of data delivered by the cpu stats module: sg_get_cpu_stats() and sg_get_cpu_stats_r() deliver native cpu counters since the machine...
sg_get_disk_io_stats
The sg_get_disk_io_stats functions provide disk I/O statistics on a per disk basis. All get- and diff-functions take an optional entries parameter, which points...
sg_get_error
There are four functions to get information about the last occurred error: sg_get_error, sg_get_error_arg, sg_get_error_errno and sg_get_error_details. The...
sg_get_fs_stats
The sg_get_fs_stats functions provide statistics of mounted file systems. Both functions take an optional entries parameter, which points (when given) to a...
sg_get_host_info
These calls return details on the operating system and the machine it's running on. API Shortcut
sg_get_load_stats
These calls returns a pointer to a buffer containing information about cumulated machine load. API Shortcut
sg_get_mem_stats
Memory statistics are accessed through the sg_get_mem_stats() function and the sg_get_mem_stats_r() function. Both return a pointer to a sg_mem_stats buffer...
sg_get_network_iface_stats
The functions sg_get_network_iface_stats() and sg_get_network_iface_stats_r() return statistics about the network interfaces in the machine. Specifically, they...
sg_get_network_io_stats
The sg_get_network_io_stats functions provide network interface I/O statistics on a per interface basis. All get- and diff-functions take an optional entries...
sg_get_page_stats
The page stats module deliver the number of pages swapped in and out, either since the machine has been booted (by the sg_get_page_stats() and...
sg_get_process_stats
The sg_get_process_stats functions provide statistics about the currently running processes. Both functions, sg_get_process_stats() and...
sg_get_user_stats
The user statistics module delivers some information about logged on users. Each logon is treated separately. Both statistic get functions, sg_get_user_stats()...
sg_init
sg_init() either initialises the statgrab library and sets the initialisation counter to 1, if not already done, or increases the initialisation counter. If...
sg_internal-intro
The statgrab library is organised into components, whereby each component contains interrelated functions. Other components are made known to the globals...
sg_intro
The statgrab library provides a cross-platform interface to getting system statistics. Each of the function calls to grab some statistics returns an array of...
sg_lock_mutex
guard not MT-safe system API
sg_set_error
sg_set_error() sets the occurred error condition together with an argument. The argument is usually descriptive, eg. the file name which failed to open...
sg_vector_create
sg_vector_create() allocates and initialises a new statgrab vector with initial_used elements ready for use. Space for alloc_count elements is initially...