Use sa1 to sample the system info, Does it efficient
From: Eric Cai (cchmx_at_hotmail.com)
Date: 08/20/04
- Next message: phn_at_icke-reklam.ipsec.nu: "Re: What is the difference between command "PS" and "PS -aux""
- Previous message: Adam Price: "Re: Server Architecture [OT] (was: Server Architecture)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 20 Aug 2004 13:39:23 +0800
In crontab
0-59 * * * * /usr/lib/sa/sa1
58 23 * * * /performancedata/server_sar.sh
$more /performancedata/server_sar.sh#!/bin/ksh
sar -s 00:00 -e 24:00 -i 1 > sar-`date +%y%m%d`.txt
Does it efficient??
--
- Next message: phn_at_icke-reklam.ipsec.nu: "Re: What is the difference between command "PS" and "PS -aux""
- Previous message: Adam Price: "Re: Server Architecture [OT] (was: Server Architecture)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]