update:sar iostat

From: Gayani Jayawardena (gayani.jayawardena@abs.gov.au)
Date: Tue Nov 25 2003 - 22:36:07 EST


Hi Gurus,

The 1st question (Disk idle time) I thought I got to be more specific ......
   Want the percentage of time, during a set interval (every second), where no
   disk activity on any of the disks.

   As an example, over a period of 100 seconds, there were two disks active, one
   for the first 20 seconds, and the other for the first 30 seconds. The
   percentage time where there was hard drive activity would be 30% and the time
   where there was no hard drive activity, or percentage of idle time would be
   (100 - 30)/100 = 70%.

   As another example (still over 100 seconds), there were three disks active,
   the first was active for the first 10 seconds, the second was active for the
   next 10 seconds, but the third was only active for the first 5 seconds. The
   total time where there existed any drive activity would be 20 seconds. So the
   total percentage of idle time would be (100 - (10 + 10))/100 = 80%.

Log the above data (Disk idle time % )every second for 24 hours on daily basis.

Any help/suggestions on this would be greatly appreciated will summarise.

Thanks

Original question

Hi Gurus,

Disk and memory stats with time stamp

1. Total disk idle time(%)
     I'm after total disk idle time not individual disks.

     I found sar and iostat where they provide on individual level, but I'm
interested in totals.

(strikethrough: 2. Free physical memory, I'm bit confused with the two figures
33627952 and
4007196 ??, which one is correct) will summarise

     (strikethrough: vmstat 1 5
      procs memory page disk faults cpu
     r b w swap free re mf pi po fr de sr m1 m1 m1 m2 in sy cs us
syid
      0 0 0 33486144 33627952 11 83 17 0 0 0 0 0 0 0 0 448 2204 2410 3 2
95
      0 0 0 33151168 33660920 0 6 0 0 0 0 0 0 0 0 0 306 1205 1941 4 6
90
      0 0 0 33151168 33660920 0 0 0 0 0 0 0 0 0 0 0 269 2024 2096 0 0
100
      0 0 0 33151168 33660920 0 0 0 0 0 0 0 0 0 0 0 249 2830 2258 0 0
100
      0 0 0 33151168 33660920 0 0 0 0 0 0 0 0 0 0 0 278 1275 2016 0 0
100

     sar -r 1 5

     SunOS yab 5.8 Generic_108528-21 sun4u 11/25/03

     16:25:48 freemem freeswap
     16:25:49 4007196 63144369
     16:25:50 4125054 65001554
     16:25:51 4085000 64370394
     16:25:52 4125049 65001476
     16:25:53 4084909 64363978

     Average 4084984 64369139)

(strikethrough: 3. vmstat I couldn't find a switch to collect the data with the
timestamp an suggestions ) - will summarise

NOTE:
      O/S - Solaris 8

Any help/suggestions on this would be greatly appreciated

Thanks

-----------------------------------------------
ABS Web Site: www.abs.gov.au
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:33 EDT