Sar Issue


 
Thread Tools Search this Thread
Operating Systems Solaris Sar Issue
# 1  
Old 01-28-2009
Sar Issue

Dear All,

I had added these lines in crontab.

0 * * * 0-6 /usr/lib/sa/sa1
00,15,30,45 * * * 0-6 /usr/lib/sa/sa1
5 18 * * 0-6 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A

After adding these lines I have to get sar file.

But here I am not getting any files in /var/adm/sa directory in one of my SUN server.

But other servers i am getting files like sa28 (sa$date) file.

Please send me the solution what I need to do and where i have to change the settings?

Thanks and Regards,
# 2  
Old 01-28-2009
su sys -c "/usr/lib/sa/sadc /var/adm/sa/sa`date +%d`"
# 3  
Old 01-28-2009
You need to uncomment all of the code lines in /etc/rc2.d/S21perf. Then execute the script. I've missed this step many times myself.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Sar output

I am facing situation where sar -u command is showing 0 for all cps, so does it mean all the cpus are fully utilized, os is oracle Linux 6.8 01:34:13 PM all 0 0 0 0 0.00 0 (2 Replies)
Discussion started by: manoj.solaris
2 Replies

2. Red Hat

Need help on sar command.

Hi, how to find out actual utilization of memory using sar -r in Linux, I understand Linux keep entire memory in cache/buffers. I would like to know how to find out actual usage of memory (1 Reply)
Discussion started by: manoj.solaris
1 Replies

3. AIX

SAR

I am running below script to display last 48 hour data but the output is not displaying heading - AIX eqrdb26u1 1 6 00CFD5E34C00 01/21/10 System configuration: lcpu=8 ent=2.00 mode=Uncapped 22:31:40 %usr %sys %wio %idle physc %entc and footer - Average 25 9 ... (1 Reply)
Discussion started by: noorm
1 Replies

4. Solaris

Sar statistic.

I've been enabled sar in solaris. in crontab: and target dir where binar files is situated: 1.But sar indexing files as day(by default) from 1 to 30(31), how to add total date as prefix instead day prefix? 2.in my script for sar statistic i do command: Somebody suggest me about that What... (1 Reply)
Discussion started by: sotich82
1 Replies

5. AIX

sar

I am trying to set up sar on my AIX server. We have been running sar and getting reports on out Linux boxes in the past but would like to try to do the same in AIX. On my Linux i have a sar.sh that looks like this: #!/bin/bash LC_ALL=C sar -A -f /var/log/sa/sa27 > /server023.txt LC_ALL=C sar -A... (1 Reply)
Discussion started by: seacros
1 Replies

6. HP-UX

Sar

Hey guys in sar -v 5 5 command what is the proc means. (1 Reply)
Discussion started by: sbn
1 Replies

7. UNIX for Advanced & Expert Users

sar error

at work i have a HP-UX box. i attempt to use sar to monitor but it comes up with following message: can't open /var/adm/sa/sa13 i recreated the file as i thought that was the problem but it was not. cheers hush (2 Replies)
Discussion started by: hu$h
2 Replies

8. AIX

error with sar

hello when i want to launch tha sar command with some arguments, i have this message : sar -mu -P ALL sar: 0551-201 Cannot open /var/adm/sa/sa08. sar: 0551-213 Try running /usr/lib/sa/sa1 <increment> <number> if I look in /var/adm/sa, there is nothing, no file. the sar 2 5 is available.... (2 Replies)
Discussion started by: pascalbout
2 Replies

9. UNIX for Dummies Questions & Answers

Sar question

Hi all, With Sar, it gives you the CPU usage for the last x minutes etc, does anyone know if this is an average value when the machine in question has multiple CPU's, or simply just a reading of CPU #1? Ta. (3 Replies)
Discussion started by: danhodges99
3 Replies

10. Filesystems, Disks and Memory

sar

We have a script that uses sar -u 1 10 | awk '/Average/ { print ( $2 + $3 ) }' to get the CPU usage of a mutli engine machine. We think we are getting wrong information from the above string. We think it is adding up the total of the 12 engines and reporting back the total not the overall... (5 Replies)
Discussion started by: kevinb
5 Replies
Login or Register to Ask a Question