libkyrealtime3
获取瞬时信息
Usage
#include <libkyrealtimeinfo.h> extern float kdk_real_get_net_speed(const char *nc); extern double kdk_real_get_cpu_temperature(); extern int kdk_real_get_disk_temperature(const char *name); extern int kdk_real_get_disk_rate(const char *name); extern float kdk_real_get_if_speed(const char *nc); Link with -lkyrealtime.
Detailed Description
This library contains instantaneous information about the current system.
Return value
The return value is generally specific to the individual function called.