Performance Monitoring
Below are the four parameter on which the performance of system is based on
1) CPU
2) Memory
3) Hard Disk
4) Network
Topas Command
Upper Section
Kernel : Percentage of CPU time spent in processing the Kernel Code,which
runs to maintain the essentail function of the system such as Timekeeping,
Process scheduling,and other important housekeeping functions.
Any process making system calls also comes in here.
User : Percentage of CPU time spent in processing User code.
Wait : This Percentage of time CPU spends waiting for I/O
Idle : Percentage of time the processor spends waiting for work, high value here shows
low utilization.
Network Section : Here we get information about the network utilization
Here we see all the top utilized network cards,
KBPS : Total throughput (in and out) for the interface
I-Pack : Inbout Packets per second
O-Pack : Outbound packets per second
KB-In : Amount of data received on this interface per second
KB-Out : Amount of data sent through this interface per second
For more information about a particular netcard card use netstat -l en0
Disk I/O Section
Disk : The top disk in terms of utilization
Busy% : Percent utilization for the disk
KBPS : Total of KB-Read and KB-Write.
KB-Read : KB of data read from
KB-Writ : KB of data written to
Processes Section
Name : Name of the process
PID : Process ID of the process
To get additional information about PID use ps v <process id> or ps -lp <process id>
CPU % : Percentage of CPU capacity used by the process
PgSp : Amount of Paging space reserved by this application use svmon -P <PID> for more
information
Owner : owner of the process
The ps command writes the current status of active processes
UID : Userid the user who owns the process
PID : The Process ID
PPID : The Parent Process ID
STIME : The Starting time of the process
%CPU : The Percentage of the time the process has used used the CPU
since the process was started
%MEM : The percentage of the real memory used by the process
Exit Status
Succesfull Completion echoes 0
Error occurence echoes >0
To display all processes, enter:
ps -e -f
To check all the processes owned by specific users, enter:
ps -f -l -uoracle,raj
To list processes that are associated with the /dev/console and /dev/tty1 ttys, enter:
ps -t tty/1 , ps -t pts/4 etc
To list processes not associated with a terminal, enter:
ps -t -