sar -o saves a corrupt data in the file after fixing CR#6521106. bash-2.05# /usr/ccs/bin/what /usr/sbin/sar /usr/sbin/sar: SunOS 5.9 Generic 113716-04 Jul 2007 bash-2.05# /usr/sbin/sar -o /var/tmp/sar_113716-04.data 1 5 SunOS s1lab162 5.9 Generic_118558-39 sun4u 11/28/2007 18:41:46 %usr %sys %wio %idle 18:41:47 0 0 0 100 18:41:48 0 0 0 100 18:41:49 0 0 0 100 18:41:50 0 0 0 100 18:41:51 0 0 0 100 Average 0 0 0 100 bash-2.05# /usr/sbin/sar -f /var/tmp/sar_113716-04.data sar: data file corrupt; specified sizeexceeds actual bash-2.05# If sadc command on the same patch is used, it works fine. bash-2.05# /usr/ccs/bin/what /usr/lib/sa/sadc /usr/lib/sa/sadc: SunOS 5.9 Generic 113716-04 Jul 2007 bash-2.05# /usr/lib/sa/sadc 1 5 /var/tmp/sadc_113716-04.data bash-2.05# /usr/sbin/sar -f /var/tmp/sadc_113716-04.data SunOS s1lab162 5.9 Generic_118558-39 sun4u 11/28/2007 18:44:03 %usr %sys %wio %idle 18:44:04 0 0 0 100 18:44:05 0 0 0 100 18:44:06 0 0 0 100 18:44:07 0 1 0 99 Average 0 0 0 100 bash-2.05#
N/A
Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site Map | HelpYour use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use. © 2010, Oracle Corporation and/or its affiliates