Basics
Guides
API Reference
Basics
Guides
API Reference
[47:14] (extern: com.lehman.aussom.AussomSysmon) extends: object
The sysmon class implements system information and monitoring support.
sysmon ()
Constructor instantiates a new sysmon object. This will throw an exception if the host OS/Arch isn't supported.
This object.newSysmon ()
kilobyte ()
Returns an int with the number of bytes in a KB.
An int with the number of bytes in a KB.megabyte ()
Returns an int with the number of bytes in a MB.
An int with the number of bytes in a MB.gigabyte ()
Returns an int with the number of bytes in a GB.
An int with the number of bytes in a GB.formatPerc (double Val)
Returns a string formatted as a percent.
Val is a double with the value to be formatted.A string formatted as a percent.getCpuInfo ()
Returns a map with CPU info.
A map with the CPU info.getCpuPerc ()
Returns a map with cpu percent values. Note: When calling this function back to back you need to put in a sleep for some period of time or else the subsequent calls will be inaccurate.
getCpuPercFormatted ()
Returns a map with CPU percent formatted strings. Note: When calling this function back to back you need to put in a sleep for some period of time or else the subsequent calls will be inaccurate.
A map with the CPU percent formatted strings.getCpuPercByCore ()
Returns a list of maps with CPU percent values by core. Note: When calling this function back to back you need to put in a sleep for some period of time or else the subsequent calls will be inaccurate.
A list of maps with the CPU percent.getCpuPercByCoreFormatted ()
Returns a list of maps with CPU percent values by core formatted strings. Note: When calling this function back to back you need to put in a sleep for some period of time or else the subsequent calls will be inaccurate.
A list of maps with the CPU percent values by core.getMem ()
Returns a map with memory usage information.
A map with the memory usage.getFsInfo ()
Gets basic file system information.
A list of maps with the file system information.getFsUsage (string FsName)
Gets the file system usage for the provided file system name.
A map with the file system usage.getAllFsInfo ()
Gets all file system information including usage.
A list of maps with the file system information including usage.getNetInfo ()
Returns a map with general network information.
A map with the general network info.getNetIntInfo ()
Returns a list of network interfaces.
A list of network interfaces.getNetIntUsage (string IntName)
Returns a map with usage information for the provided interface.
IntName is a string with the interface name to get.A map with the usage information.getAllNetIntInfo ()
Returns a list of network interfaces.
A list of network interfaces.getTcpInfo ()
Returns a map with TCP stats.
A map with the TCP stats.[33:6] static extends: object
Enum fsType defines file system types.
[23:14] static extends: object
Module JAR loader class.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.