On Fri, Jun 24, 2005 at 10:55:33PM +0100, Peter C. Tribble wrote:
>
> I wrote a java kstat browser, and I'm tempted to do the same for prtpicl
> (and maybe some of the other prt* commands), to make it easier to see the
> hierarchy and drill down into it. It's hard to wade through prtconf and
> prtpicl output (especially with -v on).
>
On a further note, if you're willing to work on a complete libkstat JNI
interface, this could be extremely beneficial to Solaris. We're just
starting to really elevate Java to a first class participant in systemic
observability within Solaris. We have the DTrace JNI nearly finished,
and we're developing a SMF JNI interface as well. A kstat interface
would fill a very useful gap in this portfolio.
I can imagine a tool which presents kstats in a heirachial manner on
regular intervals, and the user can click on one the kstats and transfer
to a DTrace view where we can see the kstats on a per-process basis.
This would obviously only work for those kstats covered by the vminfo
and sysinfo providers, but would be _incredibly_ cool, since it answers
the first two questions any administrator tendds to have:
"What is happening to my system?"
"Who is doing that to my system?"
Assuming that the problem is due to a particular process, of course.
But you get the picture.
- Eric
--
Eric Schrock, Solaris Kernel Development.