Raritan / Server Technology Xerus™ PDU 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 */
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 }
ResMon interface.
Definition: ResMon.idl:39
void getDataEntries(out vector< Entry > entries)
Retrieve ResMon data Entry array.
Resource Monitor interface.
Definition: ResMon.idl:11
ResMon Entry.
Definition: ResMon.idl:14
string name
ResMon Entry name.
Definition: ResMon.idl:33
Type type
Type of this ResMon Entry.
Definition: ResMon.idl:31
Type
Type of this ResMon Entry.
Definition: ResMon.idl:17
@ PROC_VM_SIZE
process virtual mem size
Definition: ResMon.idl:24
@ PROC_CPU_USAGE
process cpu usage
Definition: ResMon.idl:23
@ GLOBAL_CPU_USAGE
global cpu usage
Definition: ResMon.idl:18
@ PROC_LIFE_TIME
process life time
Definition: ResMon.idl:26
@ PROC_FREE_FILE_DESC
process free file descriptors
Definition: ResMon.idl:25
@ GLOBAL_FREE_MEM
global free memory
Definition: ResMon.idl:19
@ FS_FREE_INODES
free filesystem inodes
Definition: ResMon.idl:22
@ FS_FREE_SPACE
free filesystem space
Definition: ResMon.idl:21
@ GLOBAL_PROC_COUNT
global process count
Definition: ResMon.idl:20
long value
ResMon Entry value.
Definition: ResMon.idl:35