Friday, December 13, 2013

How to chk old CPU/Memory utilizations in solaris?

www.unixbabuforum.inHow to chk old CPU/Memory utilizations in solaris.Whats the inbuild command to do so. 
I dont want to use script. 
sar, prstat , vmstat all show present utilizations than whats the inbuild commqand to check previous utilization in solaris.

www.unixbabuforum.inif you want to know the past CPU/Memory Utilization in solaris check under /var/adm/sa for the files, 

root# ls -lrt 
total 14816 
-rw-r--r-- 1 sys sys 164613 Jul 29 18:05 sar29 
-rw-r--r-- 1 sys sys 708576 Jul 29 23:00 sa29 
-rw-r--r-- 1 sys sys 164613 Jul 30 18:05 sar30 
-rw-r--r-- 1 sys sys 708576 Jul 30 23:00 sa30 
-rw-r--r-- 1 sys sys 386496 Jul 31 23:00 sa31 
-rw-r--r-- 1 sys sys 386496 Aug 1 23:00 sa01 
-rw-r--r-- 1 sys sys 164613 Aug 2 18:05 sar02 
-rw-r--r-- 1 sys sys 708576 Aug 2 23:00 sa02 
-rw-r--r-- 1 sys sys 164613 Aug 3 18:05 sar03 
-rw-r--r-- 1 sys sys 708576 Aug 3 23:00 sa03 
-rw-r--r-- 1 sys sys 164613 Aug 4 18:05 sar04 
-rw-r--r-- 1 sys sys 708576 Aug 4 23:00 sa04 
-rw-r--r-- 1 sys sys 164613 Aug 5 18:05 sar05 
-rw-r--r-- 1 sys sys 708576 Aug 5 23:00 sa05 
-rw-r--r-- 1 sys sys 164613 Aug 6 18:05 sar06 
-rw-r--r-- 1 sys sys 644160 Aug 6 19:00 sa06 
-rw-r--r-- 1 sys sys 32208 Aug 8 23:00 sa08 
-rw-r--r-- 1 sys sys 499224 Aug 9 15:20 sa09


www.unixbabuforum.inyou have to make a script there is no such in-built command . Rather you can 
create a sar script and put it in crontab , 
then you can see the old utilisation


0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM