[Orca-users] status.pl by JDK [was Re: Orca License]
Jason.Santos at pinnaclewest.com
Jason.Santos at pinnaclewest.com
Tue Oct 7 10:26:08 PDT 2003
Except netstat -k is deprecated and may be removed in a future release
of Solaris: http://docs-pdf.sun.com/816-7176/816-7176.pdf -- see page
70.
-----Original Message-----
From: Bruce Shaw [mailto:Bruce.Shaw at gov.ab.ca]
Sent: Tuesday, October 07, 2003 8:27 AM
To: 'orca-users at orcaware.com'
Subject: RE: [Orca-users] status.pl by JDK [was Re: Orca License]
>Just something for folks to think on in regards to Solaris and what
statistics SE collects - the kstat command (which I think is nothing
more then a perl script) exists that displays a LARGE amount of data by
grabbing it from the - guess what ? - the /dev/kstat device. Basically
what SE does.
>So most if not all of the statistics that SE collects for Orca are
>there
available to be stripped from the kstat output. It would just take some
coding to make the stored output look like how SE does it.
>I'm pretty sure the kstat command requires the Sun provided Perl
>package.
The Sun Perl provides several modules that this script requires e.g.
like a module for reading stuff from the kstat device. Considering SE
is a scripting language and the Sun provided Perl has a kstat module -
most if not all of what SE does can now be "scripted" using Perl.
You're close. Sun implements kstat as a series of libraries available
to C (and hence to Perl). The Perl kstat program is merely a
convenience. SE uses the C libraries. You can examine the kstat output
by typing "netstat -k".
This communication is intended for the use of the recipient to which it
is addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take
action relying on it. Any communication received in error, or subsequent
reply, should be deleted or destroyed.
_______________________________________________
Orca-users mailing list
Orca-users at orcaware.com
http://www.orcaware.com/mailman/listinfo/orca-users
More information about the Orca-users
mailing list