SUMMARY::sar data collections on solaris 2.51

From: Raj, Dilip (SD-EX) <DRaj_at_gi.com>
Date: Wed Apr 24 2002 - 12:43:26 EDT
it was very simple.

Just edit the sa2 script in /usr/lib/sa  directory.

Thanks to everyone who replied.

Dilip

-----Original Message-----
From: Raj, Dilip (SD-EX) [mailto:DRaj@GI.com]
Sent: Tuesday, April 23, 2002 3:31 PM
To: Sunmanagers (E-mail)
Subject: sar data collections on solaris 2.51


All,

I am using sar to collect the data using the cron job from sys accounts.

Here is my cron job entry for sys:

# The sys crontab should be used to do performance collection. See cron
# and performance manual pages for details on startup.
#
# 0 * * * 0-6 /usr/lib/sa/sa1
# ***********************************************************************
# Below cron jobs are for collecting data for System Activity Report (SAR)
# Draj          12/05/00
# ***********************************************************************
0,20,40 * * * * /usr/lib/sa/sa1
05 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A

It works great, but could not get a data more than a week stored.
Here is my files in   /var/adm/sa 

rw-r--r--   1 sys      sys       345024 Apr 14 23:40 sa14
-rw-r--r--   1 sys      sys        60971 Apr 15 18:05 sar15
-rw-r--r--   1 sys      sys       345024 Apr 15 23:40 sa15
-rw-r--r--   1 sys      sys        60971 Apr 16 18:05 sar16
-rw-r--r--   1 sys      sys       345024 Apr 16 23:40 sa16
-rw-r--r--   1 sys      sys        60971 Apr 17 18:05 sar17
-rw-r--r--   1 sys      sys       345024 Apr 17 23:40 sa17
-rw-r--r--   1 sys      sys        60971 Apr 18 18:05 sar18
-rw-r--r--   1 sys      sys       345024 Apr 18 23:40 sa18
-rw-r--r--   1 sys      sys        60971 Apr 19 18:05 sar19
-rw-r--r--   1 sys      sys       345024 Apr 19 23:40 sa19
-rw-r--r--   1 sys      sys       345024 Apr 20 23:40 sa20
-rw-r--r--   1 sys      sys       345024 Apr 21 23:40 sa21
-rw-r--r--   1 sys      sys        60973 Apr 22 18:05 sar22
-rw-r--r--   1 sys      sys       321064 Apr 22 23:00 sa22
-rw-r--r--   1 sys      sys        76672 Apr 23 15:00 sa23

Can someone tell me what I am missing.
I will summerize it.

Thanks
----------------------------
Dilip Raj
System Engineer.
Access Control Center.
Motorola Broadband Communication Sector.
Phone: (858)-404-3878
mailto:dilip.raj@motorola.com
----------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Apr 24 17:52:34 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:41 EST