Moxa V2201-E2-T [18/21] Api functions
![Moxa V2201-E2-T [18/21] Api functions](/views2/1199188/page18/bg12.png)
Moxa Proactive Monitoring Moxa Proactive Monitoring API
2-2
API Functions
Function int get_average_cpu_usage(double *value)
Description Obtain the average CPU utilization of the system.
Input <value> The variable used to save the average CPU utilization of the system.
Output
<value> The CPU utilization of the system.
Return Refer to the return value table.
Function int get_cpu_count(int *value)
Description Obtain the number of CPU cores in the system.
Input <value> The variable used to save the number of CPU cores.
Output <value> The number of CPU cores.
Return Refer to the return value table.
Function int get_cpu_usage(int index, double *value)
Description Obtain the specified CPU core utilization.
Input <index> CPU number (0, 1, 2, 3 ...)
<value> The variable used to save the CPU core utilization.
Output <value> The specified CPU core utilization.
Return Refer to the return value table.
Function int get_mem_total_size(double *value)
Description Obtain the system’s total memory size.
Input <value> The variable used to save the total memory size.
Output <value> The system’s total memory size.
Return Refer to the return value table.
Function int get_mem_usage(int *value)
Description Obtain the memory utilization of the system.
Input <value> The variable used to save the memory utilization.
Output
<value> The memory utilization.
Return Refer to the return value table.
Function int get_mem_avail_size(double *value)
Description Obtain the available memory size in the system.
Input <value> The variable used to save the available memory size.
Output <value> The available memory size.
Return Refer to the return value table.
Function int get_uart_count(int *value)
Description Obtain the number of UART in the system.
Input <value> The variable used to save the number of UARTs.
Output <value> The number of UARTs.
Return Refer to the return value table.
Function int get_uart_status(int index, int *value)
Description Obtain the specified UART status. (0) UART port is free, (1) in use
Input <index> UART port (0, 1, 2 …)
<value> The variable used to save the specified UART status.
Output <value> The specified UART status. (0) UART port is free, (1) in use
Return Refer to the return value table.
Содержание
- Edition 1 september 2015 1
- Moxa proactive monitoring user s manual 1
- Www moxa com product 1
- Copyright notice 2
- Disclaimer 2
- Moxa proactive monitoring user s manual 2
- Technical support contact information 2
- Trademarks 2
- Www moxa com support 2
- Table of contents 3
- Installing and using moxa proactive monitoring 4
- How to force the daemon to execute on boot up 5
- How to prevent the daemon from executing on boot up 5
- How to restart the daemon 5
- How to start the daemon 5
- How to stop the daemon 5
- Installation steps 5
- Installing moxa proactive monitoring 5
- Moxa proactive monitoring installing and using moxa proactive monitoring 5
- Root moxa dpkg i 5
- Root moxa etc init d pro_mond restart 5
- Root moxa etc init d pro_mond start 5
- Root moxa etc init d pro_mond stop 5
- Root moxa insserv pro_mond 5
- Root moxa insserv r pro_mond 5
- Starting or stopping the moxa proactive monitoring daemon 5
- How to display the moxa proactive monitoring ui 6
- How to use the moxa proactive monitoring ui 6
- Monitoring system status 6
- Moxa proactive monitoring installing and using moxa proactive monitoring 6
- Root moxa pro_mon 6
- Moxa proactive monitoring installing and using moxa proactive monitoring 7
- Customizing your own monitoring items 8
- Moxa proactive monitoring installing and using moxa proactive monitoring 8
- Moxa proactive monitoring installing and using moxa proactive monitoring 9
- Changing alarm settings 10
- Moxa proactive monitoring installing and using moxa proactive monitoring 10
- Setting the system alarm 10
- Moxa proactive monitoring installing and using moxa proactive monitoring 11
- Moxa proactive monitoring installing and using moxa proactive monitoring 12
- Moxa proactive monitoring installing and using moxa proactive monitoring 13
- Moxa proactive monitoring installing and using moxa proactive monitoring 14
- Performing an alarm action 14
- Root moxa vi sbin mx_perform_alarm bin sh mx_dio_control s 1 n 1 14
- Moxa proactive monitoring installing and using moxa proactive monitoring 15
- Root moxa vi mx_stop_alarm bin sh mx_dio_control s 0 n 1 15
- Stopping an alarm action 15
- Moxa proactive monitoring installing and using moxa proactive monitoring 16
- Testing an alarm action 16
- Moxa proactive monitoring api 17
- Api functions 18
- Moxa proactive monitoring moxa proactive monitoring api 18
- Moxa proactive monitoring moxa proactive monitoring api 19
- Moxa proactive monitoring moxa proactive monitoring api 20
- Api return value table 21
- Moxa proactive monitoring moxa proactive monitoring api 21
Похожие устройства
- Moxa V2201-E2-T Руководство по быстрой установке
- Moxa V2201-E2-T Технические характеристики
- Moxa V2201-E4-T Инструкция по эксплуатации
- Moxa V2201-E4-T Руководство по программной части (Linux)
- Moxa V2201-E4-T Руководство по программной части (Windows)
- Moxa V2201-E4-T Руководство по быстрой установке
- Moxa V2201-E4-T Технические характеристики
- Moxa V2201-E1-W-T Инструкция по эксплуатации
- Moxa V2201-E1-W-T Руководство по программной части (Windows)
- Moxa V2201-E1-W-T Руководство по программной части (Linux)
- Moxa V2201-E1-W-T Руководство по быстрой установке
- Moxa V2201-E1-W-T Технические характеристики
- Moxa V2201-E4-W-T Инструкция по эксплуатации
- Moxa V2201-E4-W-T Руководство по программной части (Windows)
- Moxa V2201-E4-W-T Руководство по программной части (Linux)
- Moxa V2201-E4-W-T Руководство по быстрой установке
- Moxa V2201-E4-W-T Технические характеристики
- Bronze Gym R1000 PRO Руководство пользователя
- Bronze Gym R1001 PRO Руководство пользователя
- Bronze Gym R800 LC Руководство пользователя