Help me Solaris 10&11 cpu load average states for 24 hours report


 
Thread Tools Search this Thread
Operating Systems Solaris Help me Solaris 10&11 cpu load average states for 24 hours report
# 1  
Old 09-10-2014
Help me Solaris 10&11 cpu load average states for 24 hours report

need to capture the following data on an hourly basis without cronjob scheduling in Solaris 5.10/5.11:-

1. load averages
2. Total no. of processes.
3. CPU state
4. Memory
5. Top 3 process details.


any other third-party tool is available?
# 2  
Old 09-10-2014
Hi,

There are lots of third party tools available, some paid for some free. I have had some sucess with Xymon as it is aware of zones and is easy to install and configure. There are several other free tools as well Nagios etc, along with paid for tools like BMC Patrol.

Regards

Dave
This User Gave Thanks to gull04 For This Post:
# 3  
Old 09-10-2014
CPU, memory and load averages can be derived from sar.

Check :
Code:
 crontab -l sys

And notice lines with sa1 and sa2 scripts, which will generate sar output in destination directory.

You can then use various tools to import and draw graphs and such or use sar <required options for cpu/mem etc.> -f safilename

Hope that helps.

Regards
Peasant.
# 4  
Old 09-10-2014
Quote:
Originally Posted by gull04
Hi,

There are lots of third party tools available, some paid for some free. I have had some sucess with Xymon as it is aware of zones and is easy to install and configure. There are several other free tools as well Nagios etc, along with paid for tools like BMC Patrol.

Regards

Dave

thank u for sharing and I'm new for this domain

---------- Post updated at 02:49 PM ---------- Previous update was at 02:47 PM ----------

Quote:
Originally Posted by Peasant
CPU, memory and load averages can be derived from sar.

Check :
Code:
 crontab -l sys

And notice lines with sa1 and sa2 scripts, which will generate sar output in destination directory.

You can then use various tools to import and draw graphs and such or use sar <required options for cpu/mem etc.> -f safilename

Hope that helps.

Regards
Peasant.
Hi Peasant

i want check the cpu utilization without cronjobs?

Last edited by thoranam; 09-10-2014 at 06:17 AM.. Reason: wrong
# 5  
Old 09-10-2014
Hi Peasant,

While sar is a usefull tool, it does have some limitations - I suggested the more user friendly tools in preference to sar due to the more specific nature of the original request.

All the requirements are already available as standard from Xymon (they are also available in many other tools), so rather than present the requestor a part solution I plumped for the whole package.

A combination of several standard unix utilities will give the desired output, but that is the point it's a combination. All the above data could be gleaned from judicious use of "top", "ps", "uptime" and some other utilities - but as per the users request it would have to be run with out the aid of cron - so a manual process. Using something like Xymon removes the cron requirement, if sar is set up then it also fair to say that there is no need for the user to have access to cron - but the information is more difficult to access and it falls down on the top three process request.Smilie

Regards

Dave

Last edited by gull04; 09-10-2014 at 06:32 AM.. Reason: Typo
# 6  
Old 09-10-2014
I like to keep my servers cleans of various agents and services since most of them are closed source hacks often ran with root account.

Of course, not all products are in that category, but i tend to avoid as much 3rd party software as i can.

Got this small program i believe it is called ksar or something, i just copy the files and draw the graphs, enough for me.

Regards
Peasant.
# 7  
Old 09-10-2014
Hi Peasant,

I do know what you mean with some of the open source stuff, what I will say is that as an admin you have to take reasonable care to ensure that what you are doing is safe. Also we tend to forget that the very nature of the Unix OS in all its flavours is such that it allows all users to use the system, provided they have the appropriate access rights.

Too often we tend to regard the server as our personal fiefdom, ignoring the basic premis that we are here to administer the system on behalf of all the users of the system. It may well be that in this particular case the admin will refuse to deploy a tool like this, based on several things. They may already have the required functionallity in place, in which case this is a user education matter. They may not allow the users in this location access to this type of data, in which case there is a need for communication. Or any number of other reasons, in essence this is down to the systems admin.

Regards

Dave
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Understanding & Monitoring CPU performance (Load vs SAR)

Hi all, Been reading a lot of the cpu load and its "analogy of it to car traffic path of expressway" From wiki Most UNIX systems count only processes in the running (on CPU) or runnable (waiting for CPU) states. However, Linux also includes processes in uninterruptible sleep states... (13 Replies)
Discussion started by: javanoob
13 Replies

2. Red Hat

Load average in a multi CPU machine

I had the query as to whether the load average in a multi CPU machine should be (load average/no of CPUs) We have 4 CPU on our VMware RHEL instance, so the load average should be Load average/4. I hope, my question is clear. Please revert with the reply to my query. Regards (0 Replies)
Discussion started by: RHCE
0 Replies

3. UNIX for Dummies Questions & Answers

Help with load average?

how load average is calculated and what exactly is it difference between cpu% and load average (9 Replies)
Discussion started by: robo
9 Replies

4. Solaris

Bind9 DNS on Solaris 10 x4270 & CPU usage

I have configured a Bind9 DNS on a X4270 machine with Solaris10 I am excuting some repformance tests with DNSPERF tool and maximun CPU usage is 23%. I have seen with prstat -L -p PID that named process usses only 2 of the 8 available CPU at the same time although threads for all CPUs exist.... (2 Replies)
Discussion started by: parisph
2 Replies

5. UNIX for Dummies Questions & Answers

CPU Utilisation Report on Solaris 10

Hi all, I'm using Solaris 10 and have an occasional problem where a process that runs near to midnight each day, takes anywhere between 30 seconds and over two minutes to complete. I suspect that the CPU is highly utilised during the times where it takes a long time to complete, but I need a way... (3 Replies)
Discussion started by: wthomas
3 Replies

6. Shell Programming and Scripting

awk & CPU Load

Deal All, I'm writing a simple awk to generate some sort of report. The awk will check 24 files (file generated each one hour in a wholoe day) and then it will print one field to another file for counting purposes. The script is working fine but the problem is that the CPU load is very high... (10 Replies)
Discussion started by: charbel
10 Replies

7. UNIX for Dummies Questions & Answers

Please Help me in my load average

Hello AlL,.. I want from experts to help me as my load average is increased and i dont know where is the problem !! this is my top result : root@a4s # top top - 11:30:38 up 40 min, 1 user, load average: 3.06, 2.49, 4.66 Mem: 8168788k total, 2889596k used, 5279192k free, 47792k... (3 Replies)
Discussion started by: black-code
3 Replies

8. UNIX for Dummies Questions & Answers

Load Average

Hello all, I have a question about load averages. I've read the man pages for the uptime and w command for two or three different flavors of Unix (Red Hat, Tru64, Solaris). All of them agree that in the output of the 2 aforementioned commands, you are given the load average for the box, but... (3 Replies)
Discussion started by: Heathe_Kyle
3 Replies

9. Red Hat

High cpu load average

Hi Buddies, Thanx for reading my first post... After googling a lot and searching so many forums I am feeling down a bit... Please don't mind my ignorence, and my grammer ... :) My server is running RHEL 2.6.9-5.EL. The cpu load is going higher than roof, almost 100 sometimes. I am... (2 Replies)
Discussion started by: squid04
2 Replies

10. UNIX for Advanced & Expert Users

load average

we have an unix system which has load average normally about 20. but while i am running a particular unix batch which performs heavy operations on filesystem and database average load reduces to 15. how can we explain this situation? while running that batch idle cpu time is about %60-65... (0 Replies)
Discussion started by: gfhgfnhhn
0 Replies
Login or Register to Ask a Question