Query: sg_get_host_info
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sg_get_host_info(3) Library Functions Manual sg_get_host_info(3)NAMEsg_get_host_info - get general operating system statisticsSYNOPSIS#include <statgrab.h> sg_host_info *sg_get_host_info(void);DESCRIPTIONThis call returns details on the operating system. It returns a pointer to a static buffer of sg_host_info.RETURN VALUESThe structure returned is of type sg_host_info. typedef struct{ char *os_name; char *os_release; char *os_version; char *platform; char *hostname; time_t uptime; }sg_host_info; os_name the operating system name. (eg. SunOS or Linux) os_release the operating system release. (eg. 5.8 or 5.9 or Solaris) os_version the version level of the OS. platform the hardware platform (architecture) the OS runs on. hostname the name of the machine. uptime the uptime of the machine in seconds.SEE ALSOstatgrab(3)WEBSITEhttp://www.i-scream.org/libstatgrab/ i-scream $Date: 2005/04/25 11:25:45 $ sg_get_host_info(3)
Related Man Pages |
---|
sg_get_fs_stats(3) - debian |
sg_get_disk_io_stats_diff(3) - debian |
sg_get_network_io_stats(3) - debian |
sg_get_page_stats_diff(3) - debian |
statgrab(3) - debian |
Similar Topics in the Unix Linux Community |
---|
How can I do this in VI editor? |
Introduction |
Find columns in a file based on header and print to new file |
A (ksh) Library For and From UNIX.com |
My first PERL incarnation... Audio Oscillograph |