Raritan PX2/PX3 JSON-RPC API: pdu-json-rpc-api/idl/ResMon.idl Source File

Raritan PX2/PX3 JSON-RPC API

ResMon.idl
1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /*
3 * Copyright 2010 Raritan Inc. All rights reserved.
4 */
5
6 /**
7 * Resource Monitor interface
8 *
9 */
10
11 module res_mon {
12
13 /** ResMon Entry */
14 structure Entry {
15
16 /** Type of this ResMon Entry*/
17 enumeration Type {
18 GLOBAL_CPU_USAGE, ///< global cpu usage
19 GLOBAL_FREE_MEM, ///< global free memory
20 GLOBAL_PROC_COUNT, ///< global process count
21 FS_FREE_SPACE, ///< free filesystem space
22 FS_FREE_INODES, ///< free filesystem inodes
23 PROC_CPU_USAGE, ///< process cpu usage
24 PROC_VM_SIZE, ///< process virtual mem size
25 PROC_FREE_FILE_DESC, ///< process free file descriptors
26 PROC_LIFE_TIME, ///< process life time
27 PROC_COUNT ///< process count
28 };
29
30 /** Type of this ResMon Entry */
31 Type type;
32 /** ResMon Entry name */
33 string name;
34 /** ResMon Entry value */
35 long value;
36 };
37
38 /** ResMon interface */
39 interface ResMon {
40
41 /**
42 * Retrieve ResMon data Entry array.
43 *
44 * @param entries Result: List of data events
45 */
46 void getDataEntries(out vector<Entry> entries);
47
48 };
49
50 }
res_mon::Entry::GLOBAL_CPU_USAGE
global cpu usage
Definition: ResMon.idl:18
res_mon::Entry::Type
Type
Type of this ResMon Entry.
Definition: ResMon.idl:17
res_mon::Entry::GLOBAL_PROC_COUNT
global process count
Definition: ResMon.idl:20
res_mon::Entry::PROC_FREE_FILE_DESC
process free file descriptors
Definition: ResMon.idl:25
res_mon::Entry::PROC_CPU_USAGE
process cpu usage
Definition: ResMon.idl:23
res_mon::Entry::FS_FREE_INODES
free filesystem inodes
Definition: ResMon.idl:22
res_mon::Entry::name
string name
ResMon Entry name.
Definition: ResMon.idl:33
res_mon::Entry::PROC_LIFE_TIME
process life time
Definition: ResMon.idl:26
res_mon::Entry
ResMon Entry.
Definition: ResMon.idl:14
res_mon
Resource Monitor interface.
Definition: ResMon.idl:11
res_mon::Entry::FS_FREE_SPACE
free filesystem space
Definition: ResMon.idl:21
res_mon::Entry::type
Type type
Type of this ResMon Entry.
Definition: ResMon.idl:31
res_mon::Entry::PROC_VM_SIZE
process virtual mem size
Definition: ResMon.idl:24
res_mon::ResMon
ResMon interface.
Definition: ResMon.idl:39
res_mon::Entry::GLOBAL_FREE_MEM
global free memory
Definition: ResMon.idl:19
res_mon::Entry::value
long value
ResMon Entry value.
Definition: ResMon.idl:35