I am trying to read the Sparc HW counter using the following command:
This command will be running forever (for some time until interrupted by user). Sample output is:
\
I am trying to get every 4 cpu's in a core (each core has 4 cpus), add the number in pic1 and average them. Once the average reaches some threshold number, I want to do some load balancing. I think the logic is: put all the elements from line 2 in an array, and then add every 4 of them. Looking for an output like:
I am novice in coding and if anyone could help me with some simple direction to do this, that would be great. This can be done in shell/python.
Thanks in advance.
Last edited by Zam_1234; 03-17-2015 at 02:30 AM..
Reason: Formatting
Thanks.
What if i wnated to run the cpustat command for every .1 second but make the average core utilization every secind and make decision accordingly?
Thanks.
What if i wnated to run the cpustat command for every .1 second but make the average core utilization every secind and make decision accordingly?
Use SAR for that.
And I do wonder what the point of this is. CPUs are bought to be used.
Thanks.
What if i wnated to run the cpustat command for every .1 second but make the average core utilization every secind and make decision accordingly?
What's the point of a 100 ms sampling rate if you look for a 1 second average anyway?
Note that sar is available for Solaris and has always been regardless of the architecture but it is quite outdated with modern hardware and is unsuitable to per core monitoring.
What's the point of a 100 ms sampling rate if you look for a 1 second average anyway?
Note that sar is available for Solaris and has always been regardless of the architecture but it is quite outdated with modern hardware and is unsuitable to per core monitoring.
I am trying to read the average of 100ms sampling every 1 second and see what sort of average utilization we are seeing per core. so after 1 second I can make decision that whether I add another CPU to the pool or not (for example).
[not sure whether this answers the question, but feel free to provide your opinions...:-)]
Dears,
I'm looking for getting CPU cores information of Sun machines (like: SunFire V880, Fujitsu SPARC T5120, ...) via SNMP, unfortunately i couldn't find the proper OID for that. Can anyone help me with this ?
Thanks, (1 Reply)
I can use top to see the overall cpu utilization in the system but i m using a system with 24 cores .How would i monitor each core utilization ?
The system is used as Oracle VM Server for Virtualization.
My distribution details.
# lsb_release -a
LSB Version: ... (8 Replies)
Hello,
How to we typically monitor the % of utilization of network cards on a Unix box,basically the % utilization of the bytes transfered of the network card. This is required on all the flavours of OS - HP, AIX, RHEL, Sun etc.
Please let me know.
Thanks. (1 Reply)
Hi,
I need help to write a script which will monitor disk utilization.
Please suggest the best approach to achive this.
I am thinking of having sleep inside the script which will run for(eg.) 60 secs and then disk utilization will be checked and depends on the % usage of disk mail will... (1 Reply)
hi frnds,
I want to monitor a particular process very closly on how much memory it is taking. i tried with TOP and PRSTAT commands that is not giving what exactly i need. In my application, there is a memory leak happening, i want to know when it is occuering, means which transcation is... (9 Replies)
Hi all.
Sorry to express my questions wrongly in my early post,I repost my question again here.
My pc has dual core, I wirte an application with two process, parents process and child process.
My quetion is
how to realize :if the child process is on core 0,it will tell me I'm on core 0,if it... (1 Reply)
hi all
i brought a new acer 17" widescreen lcd monitor . fedora core linux 6 in not displaying on the monitor . giving a error input not supported
please let me know wht i can do (1 Reply)