Ravindra TalashikarRavindra Talashikar's weblog |
|
Friday Jun 09, 2006
Corestat
Corestat : Core Utilization reporting tool for UltraSPARC T1Its been a while since I last talked to you. Last time we saw what is meant by core utilization of UltraSPARC T1 and why it is important to understand it separately from processor utilization reported by conventional tools like vmstat and mpstat. I had promised to make Corestat, the tool I developed for monitoring core utilization, available to you. Corestat is now released and can be downloaded from here .
Usage : Posted at 02:20PM Jun 09, 2006 by travi in Sun | Comments[8] |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Posted by Alan Wilson on September 12, 2006 at 08:18 PM IST #
Posted by Alan Wilson on September 12, 2006 at 08:25 PM IST #
Posted by Kris Kasner on October 07, 2006 at 01:41 AM IST #
Posted by Julien Pouponnot on November 27, 2006 at 10:35 PM IST #
Updated corestat for T1 version with a new V1.1 version. It has a bug fix for the MIPS calculation. Please use the new version which can be downloaded using the same link as in the blog.
Posted by Ravindra Talashikar on November 19, 2007 at 04:19 PM IST #
Is it possible to use corestat within a non-global zone, particularly with dedicated processors (dedicated-cpu option in zonecfg)? With the pset defined, the dedicated cores are no longer visible in the global zone with corestat.
Posted by merill on February 06, 2008 at 12:21 PM IST #
corestats is nice, but I found I can run it as a SetUID program. I had chowned it to root, set the SetUID bit, taken away permissions for "other", and setup an ACL so that only the two groups I wanted to be able to run it had r-x permissions. However, if you try to run version 1.1 it you get:
Insecure $ENV{PATH} while running setuid at /dev/fd/4 line 111.
I found some info about this by running "perldoc perlsec", however, I'm not well versed enough with perl to be able to fix the script so that the PATH is not considered to be "tained". I set $PATH to just "/usr/bin" and I'm still considered to be "tainted".
I had to setup sudo to get this to work, which I can do, but next time you look at this, perhaps you could make it work SetUID?
Posted by Garry Garrett on March 29, 2008 at 03:37 AM IST #
Had a type-o. It should say "I found I can't run it as a SetUID program".
Posted by Garry Garrett on March 29, 2008 at 03:39 AM IST #