libkyrealtime(3)

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.

Conforming to

These functions are as per the withdrawn POSIX.1e draft specification. The following functions are Linux extensions: kdk_real_get_net_speed(), kdk_real_get_cpu_temperature(), kdk_real_get_disk_temperature(), kdk_real_get_disk_rate() and kdk_real_get_if_speed().

From libkysdk-system 3.0.1.4-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.