Moxa V2201-E2-T [19/21] Moxa proactive monitoring moxa proactive monitoring api

Moxa V2201-E2-T [19/21] Moxa proactive monitoring moxa proactive monitoring api
Moxa Proactive Monitoring Moxa Proactive Monitoring API
2-3
Function int get_eth_count(int *value)
Description Obtain the number of Ethernet ports.
Input <value> The variable used to save the number of Ethernet ports.
Output <value> The number of Ethernet ports.
Return Refer to the return value table.
Function int get_eth_speed(int index, int *value)
Description Obtain the specified Ethernet port speed.
Input <index> The specified Ethernet port number (0, 1, 2 …)
<value> The variable used to save the specified Ethernet port speed.
Output
<value> The specified Ethernet port speed.
Return Refer to the return value table.
Function int get_eth_link(int index, int *value)
Description Obtain the specified Ethernet port link status.
Input <index> The specified Ethernet port number (0, 1, 2 …)
<value> The variable used to save specified Ethernet port link status.
Output <value> The specified Ethernet port link status.
Return Refer to the return value table.
Function int get_eth_usage(int index, int *value)
Description Obtain the specified Ethernet port utilization.
Input <index> The specified Ethernet port number (0, 1, 2 …)
<value> The variable used to save the specified Ethernet port utilization.
Output <value> The specified Ethernet port utilization.
Return Refer to the return value table.
Function int get_eth_link(int index, int *value)
Description Obtain the specified Ethernet port link status.
Input <index> The specified Ethernet port number (0, 1, 2 …)
<value> The variable used to save the specified Ethernet port link status.
Output <value> The specified Ethernet port link status.
Return Refer to the return value table.
Function int get_disk_total_size(char *diskpath, double *value)
Description
Obtain the specified disk size.
Input <diskpath> The specified disk location path
<value> The variable used to save the specified disk size.
Output <value> The specified disk size.
Return Refer to the return value table.
Function int get_disk_avail_size(char * diskpath, double *value)
Description Obtain the amount of storage space available on the specified disk.
Input <diskpath> The specified disk location path
<value> The variable used to save the amount of storage space available on the specified disk.
Output
<value> The amount of storage space available on the specified disk.
Return Refer to the return value table.

Содержание

Похожие устройства

Скачать