SYSTEM
Jump to navigation
Jump to search
Get system statistics
<FUNC> Function to run. [DEF=TOP] <TABLE> Table to hold data. [OPTIONAL] <FILE> Type 3000 file to hold data. [OPTIONAL] Get system statistics. Functions: THREADS (Since NeXtMidas 2.1.0) List the tree of threads and thread groups that are active in the JVM. MONITOR/MEMORY [REQUIRES JAVA 5] (Since NeXtMidas 2.1.0) Monitors memory usage. Writes memory usage to <FILE> with the following subrecords: USED - Total amount of memory used (Heap + NonHeap). COMM - Total amount of memory committed (Heap + NonHeap). This is the amount of memory the Java VM has asked the OS for. HEAP - Amount of Heap memory used for runtime data. NONH - Amount of NonHeap memory used for methods loaded into memory. MONITOR/THREADS [REQUIRES JAVA 5] (Since NeXtMidas 2.1.0) Monitors thread statistics. Writes thread statistics to <FILE> with the following subrecords: CURR - Number of threads currently active. PEAK - The peak number of active threads. TOTL - Total number of threads created. TOP Display the systems TOP command output CPUn Get usage for CPU n Deprecated. DISK <TABLE> Get the disk usage statistics for each disk in the READ auxiliary list. Note: AUXes without statistics will have an null entry in the output Table. CPU Deprecated. Examples: 1. Show the current processes using CPU in descending order. nM> system TOP 2. Show all the threads and thread groups running in the JVM. nM> system threads 3. Monitor memory and thread info. (See PROFILER command.) Messages: SYSTEM - Message containing system information Switches: /AUXLIST=list - Use a different AUX list [DEF=AUX.READ] /MSGID - Where to send messages /PAUSE - Time (seconds) between querying system [DEF=1.0] See Also: AUX, PROFILER, ENVIRONMENT