Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Monday November 15, 2004
12:02 PM

The kstat konundrum

[ #21864 ]
I recently discovered, I think, that kstat on my Solaris 9 box is broken. Specifically, it appears that the data returned from 'kstat -m cpu_stat' is wrong. I posted a specific example comparing the kstat command line results with the results of using kstat.h directly. Since the snarky folks on comp.unix.solaris will usually jump all over anyone who incorrectly yells "bug!", I found the complete lack of any response to be disquieting.

I double checked sunsolve to make sure there weren't any patches I missed but I didn't see anything. I would take a look at the source, but it isn't available afaict. The Solaris::Kstat module you'll find on CPAN is for 2.7 and earlier. I once sent an email to Alan for the source but never heard back.

I'd also love to know how he was able to build his source using the mntinfo_kstat struct, since the header file in which it's defined, nfs/nfs_clnt.h, appears to be busted.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.