libkysdk-system/man/realtime/libkyrealtime.3

39 lines
1.3 KiB
Groff

.TH "LIBKYREALTIME" 3 "Tue Sep 19 2023" "Linux Programmer's Manual" \"
.SH NAME
kdk_real_get_net_speed, kdk_real_get_cpu_temperature, kdk_real_get_disk_temperature,
kdk_real_get_disk_rate, kdk_real_get_if_speed - 获取瞬时信息
.SH SYNOPSIS
.nf
.B #include <libkyrealtimeinfo.h>
.sp
.BI "extern float kdk_real_get_net_speed(const char *"nc ");"
.sp
.BI "extern double kdk_real_get_cpu_temperature();"
.sp
.BI "extern int kdk_real_get_disk_temperature(const char *"name ");"
.sp
.BI "extern int kdk_real_get_disk_rate(const char *"name ");"
.sp
.BI "extern float kdk_real_get_if_speed(const char *"nc ");"
.sp
Link with \fI\-lkyrealtime\fP.
.SH "Detailed Description"
This library contains instantaneous information about the current system.
.SH "RETURN VALUE"
The return value is generally specific to the individual function called.
.SH "CONFORMING TO"
These functions are as per the withdrawn POSIX.1e draft specification.
The following functions are Linux extensions:
.BR kdk_real_get_net_speed (),
.BR kdk_real_get_cpu_temperature (),
.BR kdk_real_get_disk_temperature (),
.BR kdk_real_get_disk_rate ()
and
.BR kdk_real_get_if_speed ().
.SH "SEE ALSO"
.BR kdk_real_get_net_speed (3),
.BR kdk_real_get_cpu_temperature (3),
.BR kdk_real_get_disk_temperature (3),
.BR kdk_real_get_disk_rate (3)
and
.BR kdk_real_get_if_speed (3).