Loading...
Searching...
No Matches
ResMon.idl
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2010 Raritan Inc. All rights reserved.
*/
/**
* Resource Monitor interface
*
*/
module res_mon {
/** ResMon Entry */
structure Entry {
/** Type of this ResMon Entry*/
enumeration Type {
GLOBAL_CPU_USAGE, ///< global cpu usage
GLOBAL_FREE_MEM, ///< global free memory
GLOBAL_PROC_COUNT, ///< global process count
FS_FREE_SPACE, ///< free filesystem space
FS_FREE_INODES, ///< free filesystem inodes
PROC_CPU_USAGE, ///< process cpu usage
PROC_VM_SIZE, ///< process virtual r/w mem size (formerly full vm size)
PROC_FREE_FILE_DESC, ///< process free file descriptors
PROC_LIFE_TIME, ///< process life time
PROC_COUNT ///< process count
};
/** Type of this ResMon Entry */
Type type;
/** ResMon Entry name */
string name;
/** ResMon Entry value */
long value;
};
/** ResMon interface */
interface ResMon {
/**
* Retrieve ResMon data Entry array.
*
* @param entries Result: List of data events
*/
void getDataEntries(out vector<Entry> entries);
};
}
res_mon::ResMon
ResMon interface.
Definition ResMon.idl:39
res_mon::ResMon::getDataEntries
void getDataEntries(out vector< Entry > entries)
Retrieve ResMon data Entry array.
res_mon
Resource Monitor interface.
Definition ResMon.idl:11
res_mon::Entry
ResMon Entry.
Definition ResMon.idl:14
res_mon::Entry::name
string name
ResMon Entry name.
Definition ResMon.idl:33
res_mon::Entry::type
Type type
Type of this ResMon Entry.
Definition ResMon.idl:31
res_mon::Entry::Type
Type
Type of this ResMon Entry.
Definition ResMon.idl:17
res_mon::Entry::PROC_VM_SIZE
@ PROC_VM_SIZE
process virtual r/w mem size (formerly full vm size)
Definition ResMon.idl:24
res_mon::Entry::PROC_CPU_USAGE
@ PROC_CPU_USAGE
process cpu usage
Definition ResMon.idl:23
res_mon::Entry::GLOBAL_CPU_USAGE
@ GLOBAL_CPU_USAGE
global cpu usage
Definition ResMon.idl:18
res_mon::Entry::PROC_COUNT
@ PROC_COUNT
process count
Definition ResMon.idl:27
res_mon::Entry::PROC_LIFE_TIME
@ PROC_LIFE_TIME
process life time
Definition ResMon.idl:26
res_mon::Entry::PROC_FREE_FILE_DESC
@ PROC_FREE_FILE_DESC
process free file descriptors
Definition ResMon.idl:25
res_mon::Entry::GLOBAL_FREE_MEM
@ GLOBAL_FREE_MEM
global free memory
Definition ResMon.idl:19
res_mon::Entry::FS_FREE_INODES
@ FS_FREE_INODES
free filesystem inodes
Definition ResMon.idl:22
res_mon::Entry::FS_FREE_SPACE
@ FS_FREE_SPACE
free filesystem space
Definition ResMon.idl:21
res_mon::Entry::GLOBAL_PROC_COUNT
@ GLOBAL_PROC_COUNT
global process count
Definition ResMon.idl:20
res_mon::Entry::value
long value
ResMon Entry value.
Definition ResMon.idl:35