Sponsored Content
Full Discussion: RSTAT information
Top Forums UNIX for Dummies Questions & Answers RSTAT information Post 48336 by sssow on Wednesday 3rd of March 2004 07:36:46 PM
Old 03-03-2004
I suggest you to use sar utility

sar -u 1 10

This prints CPU usage every second for 10 times

Also top, vmstat etc
 

9 More Discussions You Might Find Interesting

1. Programming

NEED Some Information!!!

Hi guys, do you know where I can find an information or example of creating a remote simulation banking application on UNIX. A client server socket programming using c language to build. using telnet to run. just a simple , add, withdraw, balance function. (1 Reply)
Discussion started by: btx
1 Replies

2. HP-UX

System Information

How do I get the system information on a HP UNIX server. details like CPU speed, number of processors etc. (4 Replies)
Discussion started by: Olamide
4 Replies

3. UNIX for Dummies Questions & Answers

Information

I'm new to unix and wanted to know if there are UNIX tools/programs on the market that can be loaded onto my laptop or external hard drive that I can use to practice and test what I'm learning. :) (2 Replies)
Discussion started by: Xman0ne
2 Replies

4. HP-UX

network information

Hello Guys! I am new from unix and I have a litle knowledge to some of the commands. my query is how can I view the network configuration of the station like the IP address, the NIS name , DNS etc. in windows we can get this info with the command ifconfig /all thanks, (1 Reply)
Discussion started by: eykyn17
1 Replies

5. UNIX for Dummies Questions & Answers

Need Information. Will Appreciate It

Hi guys i am new to linux, infact i have heared about it for a while now but never got it. I am prepared to give it a try but i need to know the system requirements. i have a 32bit, win xp, amd antlon 1.8ghz . will linux run fine on this system or do i need a new computer.. i have always... (2 Replies)
Discussion started by: rapzkilla
2 Replies

6. HP-UX

Need information on HP-UX....

Hi Guys, I'm new to HP-UX and i want installation procedure step by step.If i want take up the hp exam can any one give ful info about exam with new exam codes.I hav good knowlwdge on linux is it HP is similar to linux.If anybody having docs on HP-UX...pls reply me Regards, Vinay (2 Replies)
Discussion started by: vinay@wipro
2 Replies

7. UNIX for Dummies Questions & Answers

Some help and information

Well, i am here coz i have this problem: a guy is pinging me so my internet go down when he wants and the same guy is nuking my ventrilo server that i rent in a good website. I want to know how to protect me against this attack and if is possible do the same to him, i know this guy is using a payed... (2 Replies)
Discussion started by: Psike
2 Replies

8. AIX

lparstat information

Please anyone explain me why even we have %idle is more then 15% CPU is taking extra %entc from share pool???:wall: root@PRDDBMS2:/> lparstat 1 10 System configuration: type=Shared mode=Uncapped smt=On lcpu=12 mem=36864 psize=6 ent=3.00 %user %sys %wait %idle physc %entc lbusy ... (0 Replies)
Discussion started by: allwin
0 Replies

9. What is on Your Mind?

Not enough information...

I appreciate the fact that rules are for everyone and I screwed up by not putting a screen printout in code brackets... However, I was a bit dismayed when I received the following and tried to reply to say "Thank you" for sending me the reminder. I could not reply and had no idea what the... (4 Replies)
Discussion started by: RogerBaran
4 Replies
sar(1M) 						  System Administration Commands						   sar(1M)

NAME
sar, sa1, sa2, sadc - system activity report package SYNOPSIS
/usr/lib/sa/sadc [ t n] [ofile] /usr/lib/sa/sa1 [ t n] /usr/lib/sa/sa2 [-aAbcdgkmpqruvwy] [-e time] [-f filename] [-i sec] [-s time] DESCRIPTION
System activity data can be accessed at the special request of a user (see sar(1)) and automatically, on a routine basis, as described here. The operating system contains several counters that are incremented as various system actions occur. These include counters for CPU utilization, buffer usage, disk and tape I/O activity, TTY device activity, switching and system-call activity, file-access, queue activ- ity, inter-process communications, and paging. For more general system statistics, use iostat(1M), sar(1), or vmstat(1M). sadc and two shell procedures, sa1 and sa2, are used to sample, save, and process this data. sadc, the data collector, samples system data n times, with an interval of t seconds between samples, and writes in binary format to ofile or to standard output. The sampling interval t should be greater than 5 seconds; otherwise, the activity of sadc itself may affect the sam- ple. If t and n are omitted, a special record is written. This facility can be used at system boot time, when booting to a multi-user state, to mark the time at which the counters restart from zero. For example, when accounting is enabled, the svc:/sys- tem/sar:default service writes the restart mark to the daily data file using the command entry: su sys -c "/usr/lib/sa/sadc /var/adm/sa/sa'date +%d'" The shell script sa1, a variant of sadc, is used to collect and store data in the binary file /var/adm/sa/sadd, where dd is the current day. The arguments t and n cause records to be written n times at an interval of t seconds, or once if omitted. The following entries in /var/spool/cron/crontabs/sys will produce records every 20 minutes during working hours and hourly otherwise: 0 * * * 0-6 /usr/lib/sa/sa1 20,40 8-17 * * 1-5 /usr/lib/sa/sa1 See crontab(1) for details. The shell script sa2, a variant of sar, writes a daily report in the file /var/adm/sa/sardd. See the OPTIONS section in sar(1) for an explanation of the various options. The following entry in /var/spool/cron/crontabs/sys will report important activities hourly during the working day: 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A FILES
/tmp/sa.adrfl address file /var/adm/sa/sadd Daily data file /var/adm/sa/sardd Daily report file /var/spool/cron/crontabs/sys ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWaccu | +-----------------------------+-----------------------------+ SEE ALSO
crontab(1), sag(1), sar(1), svcs(1), timex(1), iostat(1M), svcadm(1M), vmstat(1M), attributes(5), smf(5) System Administration Guide: Basic Administration NOTES
The sar service is managed by the service management facility, smf(5), under the service identifier: svc:/system/sar Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. SunOS 5.10 20 Aug 2004 sar(1M)
All times are GMT -4. The time now is 11:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy