Saturday, September 27, 2008

Memory, CPU & Disk Management in Solaris

I. Display RAM Size

# prtconf | grep -i mem
The above command displays the total available RAM in the server
II. Display Number of CPUs

# psrinfo -v | wc -l

III. System Activity Reporter
The sar utility gives detailed information about oracle tasks from the unix level.

# sar -u 2 5
gives the CPU activity by taking 5 samples at 2 seconds interval 

# sar -w 5 5
gives the swapping activity report by taking 5 samples at 5 seconds interval

#sar -b 1 6
gives the buffer activity report

Iostat is an Unix utility which gives elapsed I/O against the physical disks.It is very useful to find out busy disks.

# iostat 2
The second parameter is the interval in seconds.

To display the mount points issue the command as below,
$ df –k

No comments:

Post a Comment