Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 9 Linux Microagents and Methods : COM.TIBCO.hawk.hma.System : System:getSystemInfo

System:getSystemInfo
Method
 
Purpose
This method (on Linux) returns operating system information.
Type
Synchronous, IMPACT_INFO.
Arguments
None.
Returns
 
The total number of context switches of the CPU from one process to another
The total number of device interrupts currently on the computer system
The amount of physical RAM, in kilobytes, used for file buffer
The amount of physical RAM, in kilobytes, used as cache memory
The total amount of buffer or page cache memory, in kilobytes, that is in active use.
This is memory that has been recently used and is usually not reclaimed for other purposes.
The total amount of buffer or page cache memory, in kilobytes, that are free and available.
This is memory that has not been recently used and can be reclaimed for other purposes.
The total amount of memory, in kilobytes, that is not directly mapped into kernel space
The free amount of memory, in kilobytes, that is not directly mapped into kernel space
The total amount of memory, in kilobytes, that is directly mapped into kernel space
The free amount of memory, in kilobytes, that is directly mapped into kernel space
The total amount of memory, in kilobytes, waiting to be written back to the disk
The total amount of memory, in kilobytes, actively being written back to the disk
The total amount of memory, in kilobytes, which have been used to map devices, files, or libraries using the mmap command
The total amount of memory, in kilobytes, used by the kernel to cache data structures for its own use
The total amount of memory, in kilobytes, estimated to complete the workload. This value represents the worst case scenario value, and also includes swap memory
The total amount of memory, in kilobytes, dedicated to the lowest page table level
The total amount of memory, in kilobytes, of total allocated virtual address space
The total amount of memory, in kilobytes, of used virtual address space
The largest contiguous block of memory, in kilobytes, of available virtual address space
These pages aren't going anywhere, they are pinned, cannot be swapped or reclaimed. Includes kernel pages and Mlocked pages
Just mlocked() pages from userspace, amount of allocated memory that’s strictly prohibited from being paged out
(Anonymous Pages) field denotes allocated pages which have no backing storage, will include anonymous hugepages
In-kernel data structures cache, depicts the amount of shared memory used by group(s) processes. Size of shared memory, anybody who did mmap() with MAP_SHARED|MAP_ANONYMOUS
This is the total amount of memory currently available to be allocated on the system, expressed in kilobytes.This limit is adhered to only if strict overcommit accounting is enabled
The amount of memory in "poisoned pages", for example, memory which has failed (as flagged by Error Correcting Code (ECC) typically). ECC memory is capable of correcting small errors and detecting larger ones. If an error that cannot be corrected is detected using ECC (in memory or cache, depending on the system's hardware support), then the Linux kernel marks the corresponding page as poisoned.
This is the number of huge pages for which a commitment to allocate from the pool has been made, but no allocation has yet been made. These reserved huge pages guarantee that an application will be able to allocate a huge page from the pool of huge pages at fault time
Counts the number of pages mapped as 4kB pages. It gives an indication of the load for Translation Lookaside Buffer (TLB), cache used to store mappings between virtual addresses and physical pages in memory.
Counts the number of pages mapped as 2MB pages. It gives an indication of the load for Translation Lookaside Buffer (TLB), cache used to store mappings between virtual addresses and physical pages in memory.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved