Log SAR output to a file for later replay / analysis
Monday, October 1st, 2007Commands below are for Linux, but the idea works everywhere 'sadc' is available. 1) Start /usr/lib/sa/sadc Example machine1:~ # /usr/lib/sa/sadc 2 7200 sadc.outfile this logs SAR data for 4 hours. 2) Stop logging, do 'killall sadc' or 'kill' 3) Usage of sar. Creating report with all options sar -A -f Example machine1:~ # sar -A -f sadc.outfile > sar.outfile machine1:~ # cat ...