The TOPAS command can monitor system activity ――memory,i/o,paging space,cpu,process.
This command is included in the Perfagent.tools file set.
How to use the command:
Topas [D-Number_of_monitored_hot_disks] [-h]
[I. Monitoring_interval_in_seconds]
[-N Number_of_monitored_hot_network_interfaces]
[-P number_of_monitored_hot_processes]
[-W Number_of_monitored_hot_wlmclasses]
[-C Number_of_monitored_hot_cpus]
[-P | W]
Parameters:
-D: Specifies the number of disks to monitor. This is also the maximum number of disks that can be displayed if the screen displays a large area. When this value exceeds the actual number of disks installed, only monitor and display information about the installation disk. The default value for this parameter is 2, and if this value is set to 0, no disk will be monitored.
-H: Displays help information.
-I: Sets the interval for monitoring time (in seconds) and defaults to 2 seconds.
-N: Sets the number of network interfaces that are monitored. This is also the maximum number of network interfaces displayed on the screen, and when this value exceeds the actual number of installed network interfaces, only monitor and display the installed network interface information. The parameter default is 2, and if this value is set to 0, no network information will be monitored.
-P: Specifies the number of processes being monitored. This is also the maximum number of processes that are displayed on the screen. The default value is 20, and if this value is 0, the process information is not monitored. The resulting process information is the primary cost of Topas. If process information is not required, this parameter is typically used to specify unwanted process information.
This column more highlights: http://www.bianceng.cn/database/Oracle/
-W: Indicates the value of the WLM class being monitored. This is also the maximum WLM value displayed on the screen, and when this value exceeds the actual number of WLM installed, only displays information about the WLM class that is installed, the default value is 2, and if this value is 0, no information will be displayed.
-C: Indicates the number of CPUs being monitored. This is also the maximum CPU value that is displayed on the screen, when this value exceeds the actual number of CPUs installed, only the information of those installed CPUs is displayed, the default value is 2, and if this value is 0, no information will be displayed.
-P: Displays the entire full-screen process display. Displays a list of the busiest processes, similar to the default display, where each process displays only a few columns and can be sorted by any column.
-W: Displays the full screen WLM (load manager) class. The top displays a series of WLM classes, similar to those shown in the WLM class.
Some child commands:
A This key shows all the different parts of the monitor (cpu,network,disk,wlm,process).
C This key toggles between the cumulative report and the busiest CPU.
D This key toggles between the busiest disk and the total disk activity on the system.
H Displays help information.
n This key toggles between the busiest interface and the total network activity of the system.
W This key switches between switches in the WLM class.
Switch between the switches of this key process.
P This key replaces the default display with Full-screen process display.
W This key is replaced by the default display with full screen WLM class display.
F move the cursor to a WLM class, this key can display a series of process conditions at the bottom of the WLM screen.
Q quit the program.
R update display.
The following are the meanings that each section represents:
Cswitch: The number of content conversions per second during the monitoring period;
Syscall: The total number of times the system calls are run per second during the monitoring period;
reads: The number of read system calls that are run per second during monitoring;
Writes: The number of times a write system call is run per second during monitoring;
Forks: The number of times a derived system call is run per second during monitoring;
Execs: The number of times a system call is run per second during monitoring;
Runqueue: Average number of threads waiting for the processor to be idle for running;
Waitqueue: Average number of threads waiting for paging to complete;
READCH: The number of bytes read per second through the read system during monitoring;
Writech: The number of bytes written per second by the write system during the monitoring period;
Rawin: The number of raw bytes read by TTYs per second during monitoring;
Ttyout: The number of bytes written to TTYs per second during monitoring;
Igets: The number of calls per second to the node to find routines during the monitoring process;
Namei: The number of calls per second of the path lookup routine during the monitoring period;
DIRBLK: The number of directory blocks scanned by the directory search routines per second during monitoring;
The paging section shows the number of pagination per second:
Faults: The total number of paging errors that occurred per second during the monitoring period;
Steals: A frame of 4k of physical memory that is stolen by the virtual Memory manager every second during monitoring;
Pgspin: 4k page number per second read from paging space during monitoring;
Pgspout: 4k page number of paging space written per second during monitoring;
Pagein: The number of 4k pages read per second during the monitoring period, which includes paging activity related to the file system read operation, minus the Pgspin value is the paging activity associated with the file system read operation per second;
Pageout: The number of 4k pages written per second during the monitoring period, which includes paging activity related to file system write operations, minus the Pgspout value is the paging activity associated with the file system write operation per second;
Sios: The number of I/O requests obtained through the virtual Memory manager during monitoring;
The Momory section shows the actual memory and the memory in use:
REAL,MB: The actual memory with M as the unit;
%comp: The percentage of memory currently assigned to the calculated paging fragment as a fraction of the actual memory. Calculated pagination fragments are generated by paging space.
%nocomp: The percentage of actual memory that is currently allocated for non-calculated paging fragments. Non-calculated pagination fragments include those file spaces, data files, executables, or shared library files.
%client: The percentage of memory currently allocated to buffer remote mount files to the actual memory.
Paing space shows the size and usage of paging spaces:
SIZE,MB: The size of all paging spaces in the system, with M as the unit;
%used: The percentage of total space currently used for paging space;
%free: The current free paging space as a percentage of total space.
CPU Tools:
user%: Displays the percentage of CPU consumed by the running user program;
kern%: Displays the percentage of CPU consumed by the running kernel program;
wait%: Displays the percentage of CPU waiting for IO operations;
idel%: Displays the percentage of CPU idle.
Network interface: