Hi Steven.

I spent some time digging through man pages and I have now eliminated the
need for kvm in solaris.c
(no more root permissions!! Our security experts can breathe a sigh of
relief!!)
I figured out how to get the statistics from kstat and modified solaris.c
accordingly . I¹ll send you my solaris.c once I¹ve cleaned it up and ran a
few more tests.

I tried it on Solaris 5.9 but I will try it on 5.8 too.

-----
Yemi




On 9/29/03 9:31 AM, "steven wagner" <[EMAIL PROTECTED]> wrote:

> Adeyemi Adesanya wrote:
>> > Hi There. 
>> > 
>> > I spent some time digging through the archives but I am unable to find a
>> way 
>> > of running gmond as a non-root user on Solaris. Is this out of the question
>> > or is there some way to patch the code? All of our critical servers run
>> > Solaris, that¹s where the real action is and that what I'd like to monitor.
> 
> Unfortunately, not all of the information that the Solaris monitoring
> core collects can be gathered through a warm and fuzzy API (as far as I
> could tell, anyway).  Many metrics had to be gathered by peeking at the
> kernel memory and symbol table, both of which require superuser permissions.
> 
> It's entirely possible that the kstat API has been extended (or that I
> just plain didn't RTFM thoroughly enough) and that all of these calls
> can be handled that way.  In which case, the first person to point this
> out volunteers to rewrite all my spaghetti solaris.c code.  :)
> 
> Good luck! 
> 



Reply via email to