How to run sar on Sun Solaris?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to run sar on Sun Solaris?
# 1  
Old 03-09-2007
How to run sar on Sun Solaris?

I want to get some information about system activity report on UNIX server. I want to use 'sar'. But it seems that report is binary code and can not be read. Please advise how to do it. Thanks.
# 2  
Old 03-09-2007
If you want sar recordings, you would usually you put something, like this in the crontab for 'sys'

Then use the sar or sag commands to view the information, you would not deal directly with the files.

Code:
0 * * * 0-6 /usr/lib/sa/sa1
20,40 8-17 * * 1-5 /usr/lib/sa/sa1
5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A

If you just want samples
Code:
sar [options] <sample period> <number of samples>

Sample period should be at a minimum 5 seconds, or it can itself affect the results.

Last edited by reborg; 03-11-2007 at 05:39 PM..
# 3  
Old 03-13-2007
Thanks for your advice.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

sar command for Solaris/AIX

Hello, Can you please explain me how to parameter and use "sar" command on Solaris (AIX) ? When I use it on Solaris I got the following error : bash-3.00# sar sar: data file not in sar format Thanks, (2 Replies)
Discussion started by: adilyos
2 Replies

2. Solaris

Application running too slow on Sun SPARC T5440 but run normal on sun M3000

Hi all, I have application running on sun server T5440 4x8x1.4 GHz, 64 GB RAM, application running very slow though load average too low. when I install my application on another server SUN M3000 (One CPU 1x8x2.5GHz, 8GB RAM), application run smoothly. Here is my server T5440 info: ... (6 Replies)
Discussion started by: insatiable1610
6 Replies

3. Solaris

Cannot install or run Solaris 8 on Sun Blade 150

Hi everybody, I'm having big troubles in installing Solaris 8 on a Sun Blade 150. Here are some system specs: Sun Blade 150 (UltraSPARC-IIe 550MHz) RAM: 256MB OBP 4.10.6 2003/06/06 12:30 POST 2.0.1 2001/08/23 17:13 When I try to boot from Solaris 8 CD with boot cdrom or... (10 Replies)
Discussion started by: Vortigern
10 Replies

4. SuSE

SUSE 11.4 sar monitoring not run by default.

Hi, I had installed sysstat package below on a SUSE 11.4 box. I can see the sysstat cron file listed under the directory /etc/sysstat. However, it looks like the sysstat sar monitor is never run at all and the daily sar files are not created under the directory /var/log/sa. The cron daemon is also... (1 Reply)
Discussion started by: devtakh
1 Replies

5. Solaris

useful links and help resources for Sun's products and Sun's Solaris

Hi all, Those links might help anyone Knowledge base Video tutorials (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies

6. Solaris

Sun Fire 280R Sun Solaris CRT/Monitor requirements

I am new to Sun. I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor? Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies

7. Solaris

Upgrade sar on Solaris 10

Hi, Do you know where I can find a newer version of SAR for Solaris 10? Currently, I have a version built in 2005. I'd like to collect all the system information available on the newer version of SAR. This is my current version: bash-3.00# pkginfo -x SUNWaccu SUNWaccu System Accounting,... (1 Reply)
Discussion started by: ji3000
1 Replies

8. UNIX for Dummies Questions & Answers

how can i make sar command run forever ?

Hello all i found out about the sar command but when looking in the man pages there is no way to make sar working for ever .. only with some kind of interval . like sar 2 30 . my question is can i just run sar for ever ? (5 Replies)
Discussion started by: umen
5 Replies

9. UNIX for Dummies Questions & Answers

Sun Solaris 10: How do I create a bootup disc? The Sun website confuses me

Hey there, I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies
Login or Register to Ask a Question