Main > Free Download Search >

Free configuring sudo for solaris software for linux

configuring sudo for solaris

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3292
Blender For Solaris 2.44

Blender For Solaris 2.44


High quality 3D sofeware For Solaris more>> Aimed world-wide at media professionals and artists, Blender can be used to create 3D visualizations, stills as well as broadcast and cinema quality video, while the incorporation of a real-time 3D engine allows for the creation of 3D interactive content for stand-alone playback.
Originally developed by the company Not a Number (NaN), Blender now is continued as Free Software, with the source code available under the GNU GPL license. It now continues development by the Blender Foundation in the Netherlands.
Key Features:
For Linux; Solaris 2.8/Python 2.5
Fully integrated creation suite, offering a broad range of essential tools for the creation of 3D content, including modeling, uv-mapping, texturing, rigging, weighting, animation, particle and other simulation, scripting, rendering, compositing, post-production, and game creation;
Cross platform, with OpenGL uniform GUI on all platforms, ready to use for all versions of Windows (98, NT, 2000, XP), Linux, OS X, FreeBSD, Irix, Sun and numerous other operating systems;
High quality 3D architecture enabling fast and efficient creation work-flow;
<<less
Download (16.7MB)
Added: 2009-04-12 License: Freeware Price: Free
194 downloads
BottomFeeder for Solaris 4.4

BottomFeeder for Solaris 4.4


BottomFeeder is a news aggregator client written in VisualWorks Smalltalk more>> BottomFeeder is a news aggregator client (RSS and Atom) written in VisualWorks Smalltalk. BottomFeeder runs on Linux x86, (also FreeBSD), PowerPC Linux, Sparc Linux, Windows (98/ME/NT/2000/XP/CE 4), Mac OS8/9, Mac OS X (PPC, intel), AIX, SGI Irix, HP-UX, and Solaris (SPARC and x86).
What sets BottomFeeder apart?
Full support for CSS, including user defined CSS
View news in 3 pane or 2 pane modes
Subscribe to any RSS or Atom format in use
View items in a summary Newspaper View
Synchronize 2 or more BottomFeeders via HTTP or file import
Subscribe to feeds or feedlists
Supports HTTPS, HTTP Authentication, and HTTP Digest Authentication
Plugins for blogging, IRC, and MSN Messenger contacts
Easy to update or upgrade from within BottomFeeder
Save as many or as few feed items for as long as you want
Import or Export in common OPML format
Binary compatible on every platform. No need to recompile
<<less
Download (16.7MB)
Added: 2009-04-28 License: Freeware Price: Free
178 downloads
openQRM Plug-ins 0.2 (Solaris (X86))

openQRM Plug-ins 0.2 (Solaris (X86))


openQRM Plug-ins is a collection of community-supported plug-ins that enable openQRM to manage other enterprise software. more>>
openQRM Plug-ins is a collection of community-supported plug-ins that enable openQRM to manage other enterprise and open source software.
openQRM is designed to deal with all sorts of failures automatically, thus preventing interrupts because of unexpected events.
Implementing openQRM greatly improves the reliability of the x86 data-center.
openQRM is an open source systems management platform which integrates with existing components in enterprise data centers to create scalable, highly available and customizable infrastructures.
openQRM is derived from a proven commercial product and distributed as an open source project through SourceForge, using a modified Mozilla Public License.
openQRMs architecture extends to and embraces other existing data center technologies through "plug-ins."The openQRM project team has created a number of plug-ins for broadly-used open source projects and proprietary solutions, and seeks to recruit community members to assist in additional plug-ins.
openQRM leverages the proven technologies of PXE and NFS along with storing images on central storage to effectively manage the data center.
The project team aims to set the standard in data center management by continuing to provide a "premiere" enterprise-grade project for automating IT infrastructure, and by embracing other technologies through increasing our offering of plug-ins.
OpenQRM.org is the best destination for our projects community to share ideas and innovations. Contributed by Qlusters, openQRM.org offers a range of support and information services to benefit all users of openQRM, including implementation advice, user forums and customer feedback.
Enhancements:
- The Solaris-x86 plugin was ported to openQRM 3.1.4 and the Solaris-x86 assignment function was fixed.
<<less
Download (0.016MB)
Added: 2007-04-25 License: GPL (GNU General Public License) Price:
912 downloads
BottomFeeder for Solaris x86 4.4

BottomFeeder for Solaris x86 4.4


BottomFeeder is a news aggregator client written in VisualWorks Smalltalk more>> BottomFeeder is a news aggregator client (RSS and Atom) written in VisualWorks Smalltalk. BottomFeeder runs on Linux x86, (also FreeBSD), PowerPC Linux, Sparc Linux, Windows (98/ME/NT/2000/XP/CE 4), Mac OS8/9, Mac OS X (PPC, intel), AIX, SGI Irix, HP-UX, and Solaris (SPARC and x86).
What sets BottomFeeder apart?
Full support for CSS, including user defined CSS
View news in 3 pane or 2 pane modes
Subscribe to any RSS or Atom format in use
View items in a summary Newspaper View
Synchronize 2 or more BottomFeeders via HTTP or file import
Subscribe to feeds or feedlists
Supports HTTPS, HTTP Authentication, and HTTP Digest Authentication
Plugins for blogging, IRC, and MSN Messenger contacts
Easy to update or upgrade from within BottomFeeder
Save as many or as few feed items for as long as you want
Import or Export in common OPML format
Binary compatible on every platform. No need to recompile
<<less
Download (16.3MB)
Added: 2009-04-29 License: Freeware Price: Free
183 downloads
Jukes for Mac/Linux/Solaris 4.1.2.42

Jukes for Mac/Linux/Solaris 4.1.2.42


Jukes was created for the serious MP3 user. more>> Jukes was created for the serious MP3 user. This program was created for people who rip full CDs or possibly their entire CD collection to their hard drive. Jukes allows you to have all of your CDs at your fingertips and play them like a real jukebox. Perfect for DJs, whether in your house or for parties or whatever, spin all of your favorite tunes anytime you want. No more loading the files in to play them and removing them to add more to the list, now all of your CDs are at your disposal!
Cross platform - works on Linux, Solaris, MacOSX, Windows.
Full support of ID3 v2.4 MP3 tags.
Full support of MP3, OGG Vorbis, FLAC, Monkey Audio APE, and SPEEX
Automatic creation of database if not found. No more proprietary use of MS Access.
Ability to display/sort your discs and tracks anyway you want. Lets you order discs by year, bitrate, name etc. Tracks by track number, or bitrate, or alphabetically.
Highlights any disc or tracks added within the last XX days. This allows new editions to stand out in large collections.
Filter by Genre, Years, Bitrates and most recently added albums
Disc Cleaner to remove discs that no longer exist in storage from the database. Useful for people that use IPods or Archos Jukeboxes as their storage.
Inline editing of artists, discs, tracks rather than the old click to open a new window metaphor.
Ability to import and export preferences.
File renaming based on a user defined regular expression. So you can name your files 01-Track1.mp3 or 01 - Track1 - 128kbps.mp3 or Track1 - 01.mp3
Web Search to retrieve disc cover, year, track names, and artist and disc name using Amazon.com Web Service.
Advanced search to find tracks. Fuzzy text search as well as by year, genre, bitrate.
Ability to export search results as CSV files for ad-hoc reporting.
Tray icon for easy access, single click pause/play, mouse wheel click to advance next song.
WINDOWS ONLY: Ability to listen to Intellitype commands Pause Play Stop found o
<<less
Download (14.62MB)
Added: 2009-04-26 License: Freeware Price:
180 downloads
Software::Packager::Solaris 0.1

Software::Packager::Solaris 0.1


Software::Packager::Solaris is the Software::Packager extension for Solaris 2.5.1 and above. more>>
Software::Packager::Solaris is the Software::Packager extension for Solaris 2.5.1 and above.

SYNOPSIS

use Software::Packager;
my $packager = new Software::Packager(solaris);

This module is used to create software packages in a format suitable for installation with pkgadd. The process of creating packages is baised upon the document Application Packaging Developers Guide. Which can be found at http://docs.sun.com/ab2/@LegacyPageView?toc=SUNWab_42_2:/safedir/space3/coll1/SUNWasup/toc/PACKINSTALL:Contents;bt=Application+Packaging+Developer%27s+Guide;ps=ps/SUNWab_42_2/PACKINSTALL/Contents

FUNCTIONS

new()

This method creates and returns a new Software::Packager::Solaris object.

add_item()
$packager->add_item(%object_data);

This method overrides the add_item function in the Software::Packager module.

This method adds a new object to the package.

package()

$packager->packager(); This method overrides the base API in Software::Packager, it controls the process if package creation.

package_name()

This method is used to specify the abbreviated package name.

Sun say: (Application Packaging Developers Guide. Page 32) A valid package abbreviation must the criteria defined below:

It must start with a letter. Additional charaters may be alphanumeric and can be the two special charaters + and -.

It must be nine or fewer charaters.

Reserved names are install, new, and all.

For more details see the pkginfo(4) man page.

program_name()

This is used to specify the full package name.

The program name must be less that 256 charaters.

For more details see the pkginfo(4) man page.

architecture()

The architecture must be a comma seperated list of alphanumeric tokens that indicate the architecture associated with the package. The maximum length of a token is 16 charaters. A token should be in the format "instruction set"."platform group" where: instruction set is the output of `uname -p` platform group is the output of `uname -m`
If the architecture is not set then the current instruction set is used.

For more details see the pkginfo(4) man page.

version()

This method is used to check the format of the version and return it in the format required for Solaris.

The version must be 256 charaters or less.

The first charater cannot be a left parenthesis.

The recommended format isi an arbitrary string of numbers in Dewey-decimal format. For more datails see the pkginfo(4) man page.

install_dir()
$packager->install_dir(/usr/local);
my $base_dir = $packager->install_dir();

This method sets the base directory for the software to be installed. The installation directory must start with a "/".

compatible_version()

$packager->compatible_version(/some/path/file);
or
$packager->compatible_version($compver_stored_in_string);

my $compatible_version = $packager->compatible_version();

This method sets the compatible versions file for the software to be installed.

space()

$packager->space(/some/path/file);
or
$packager->space($space_data_stored_in_string);
my $space = $packager->space();

This method sets the space file for the software to be installed.

request_script()

$packager->request_script(/some/path/file);
or
$packager->request_script($request_script_stored_in_string);
my $request_script = $packager->request_script();

This method sets the space file for the software to be installed.

<<less
Download (0.014MB)
Added: 2007-01-09 License: Perl Artistic License Price:
1018 downloads
Ecora Auditor Lite for Unix 4.0.6157.17003

Ecora Auditor Lite for Unix 4.0.6157.17003


Free on-demand, detailed configuration reports for the entire IT infrastructure more>> Ecora Auditor Lite is an agentless Windows application that installs on a Windows workstation and collects hundreds of thousands of configuration settings to generate on-demand, detailed configuration reports. With a click of a button, users can document Microsoft Windows and Exchange servers, SQL Server databases, Active Directory, and workstations; HP-UX, AIX, Solaris, RedHat Linux, and Novell NetWare servers; Oracle databases, Citrix and IIS applications; Lotus Domino servers; and Cisco routers.
Systems change constantly, and each change ?whether planned or unplanned can trigger downtime or a security breach. Current IT documentation, especially in todays compliance-driven IT environments, is essential. Documentor eliminates the time-consuming and error prone manual process of data collection and ensures accurate, timely documentation of the IT infrastructure.
Ecora Auditor Lite provides consistent, standardized configuration documentation that aids in:
IT Audits Provide up-to-date, accurate documentation of the infrastructure in a format that is easy to understand.
Security Discover suspicious or sub-optimal configuration settings and close security holes.
Disaster Recovery ?Rapidly configure systems back to their pre-disaster state and minimize downtime.
?Troubleshooting ?Maximize productivity and reduce time to resolution with access to current and historical configuration data.
?Consolidations & Migrations Maintain a current snapshot of the IT infrastructure for quick assessments and server configuration comparisons.
Documentation is often generated in an hour or less and is available in html and Microsoft Word formats. An ideal configuration management solution for consultants, system administrators, security professionals, IT auditors, and DBAs.
<<less
Download (54.00MB)
Added: 2009-04-29 License: Freeware Price: Free
242 downloads
Sun::Solaris::Task 1.2

Sun::Solaris::Task 1.2


Sun::Solaris::Task is a Perl interface to Tasks. more>>
Sun::Solaris::Task is a Perl interface to Tasks.

SYNOPSIS

use Sun::Solaris::Task qw(:ALL);
my $taskid = gettaskid();

This module provides wrappers for the gettaskid(2) and settaskid(2) system calls.

Constants

TASK_NORMAL, TASK_FINAL.

Functions

settaskid($project, $flags)

The $project parameter must be a valid project ID and the $flags parameter must be TASK_NORMAL or TASK_FINAL. The parameters are passed through directly to the underlying settaskid() system call. The new task ID is returned if the call succeeds. On failure -1 is returned.

gettaskid()

This function returns the numeric task ID of the calling process, or undef if the underlying gettaskid() system call is unsuccessful.

Exports

By default nothing is exported from this module. The following tags can be used to selectively import constants and functions defined in this module:

:SYSCALLS settaskid() and gettaskid()

:CONSTANTS TASK_NORMAL and TASK_FINAL

:ALL :SYSCALLS and :CONSTANTS

<<less
Download (0.003MB)
Added: 2007-04-13 License: Perl Artistic License Price:
930 downloads
Chkconfig 1.3.30a

Chkconfig 1.3.30a


Chkconfig is a tool for managing the collection of symbolic links found in the /etc/rc[0-6].d directories. more>>
Chkconfig is a tool for managing the collection of symbolic links found in the /etc/rc[0-6].d directories, on System V derived UNIX systems. The project saves the system administrator from the tedium of manually managing the scores of symbolic links.
SGI originally created chkconfig and shipped it with their IRIX operating system. In 1993, Italo Lisi and Luigi Genoni created a script version of chkconfig for Linux. Several years later, RedHat independently created their own C version of the same idea, which is the basis for the code provided here.
In this version, an autoconf style configure script is added, as well as some detection for the /etc/rc.d directory (eg. /etc under Solaris). I sent patches to RedHat based on their RedHat-5.2 version, but never received any communication back.
It seemed like a generally useful tool, especially for porting RPM spec files to Solaris, so Im making it available here.
The newest version (1.3.30a) is based on the version shipped with Fedora Core 6. I have only tested it under Debian, but should compile easily on other distributions if you have a library supporting the getopt_long() function.
Installation:
The installation procedure is the standard GNU one:
# ./configure
# make
# make install
which should detect the configuration your OS uses and compile the program with the correct defaults. If it is unable to determine the initscript directories for your platform, there are specific options documented in INSTALL. (Please also email the author the options you gave to configure, so that the sources can be modified to automatically support your system.)
You can also pass the --disable-ntsysv option to configure to skip compilation of that program. Similarly, --disable-alternatives skips compilation of the alternatives program.
Enhancements:
- Updated to match version 1.3.30 as distributed by Fedora Core 6.
- Now includes the "/usr/sbin/alternatives" program, and no longer requires the popt library.
<<less
Download (0.32MB)
Added: 2007-04-11 License: GPL (GNU General Public License) Price:
928 downloads
Sun::Solaris::Ucred 1.1

Sun::Solaris::Ucred 1.1


Sun::Solaris::Ucred is a Perl interface to User Credentials. more>>
Sun::Solaris::Ucred is a Perl interface to User Credentials.

SYNOPSIS

use Sun::Solaris::Ucred qw(:ALL);

This module provides wrappers for the Ucred-related system and library calls.

Functions

ucred_get($pid)

This function returns the credential of the process specified by $pid, if the process exists and the calling process is permitted to obtain the credentials of that process.

getpeerucred($fd)

If $fd is a connected connection oriented TLI endpoint, a connected SOCK_STREAM or SOCK_SEQPKT socket, getpeerucred will return the user credential of the peer at the time the connection was established, if availble.
ucred_geteuid($ucred)

This function returns the effective uid of a user credential, if available.
ucred_getruid($ucred)
This function returns the real uid of a user credential, if available.
ucred_getsuid($ucred)
This function returns the saved uid of a user credential, if available.
ucred_getegid($ucred)
This function returns the effective group of a user credential, if available.
ucred_getrgid($ucred)
This function returns the real group of a user credential, if available.
ucred_getsgid($ucred)
This function returns the saved group of a user credential, if available.
ucred_getgroups($ucred)
This function returns the list of supplemental groups of a user credential, if available. An array of groups is returned in ARRAY context; the number of groups is returned in SCALAR context.
ucred_getprivset($ucred, $which)
This function returns the privilege set specified by $which of a user credential, if available.

ucred_getpflags($ucred, $flags)

This function returns the value of a specific process flag of a user credential, if available.

ucred_getpid($ucred)
This function returns the process id of a user credential, if available.
ucred_getzoneid($ucred)

This function returns the zone id of a user credential, if available.

Exports

By default nothing is exported from this module. The following tags can be used to selectively import constants and functions defined in this module:

:SYSCALLS ucred_get(), getpeerucred()

:LIBCALLS ucred_geteuid(), ucred_getruid(), ucred_getsuid(),
ucred_getegid(), ucred_getrgid(), ucred_getsgid(),
ucred_getgroups(), ucred_getprivset(), ucred_getpflags(),
ucred_getpid(), ucred_getzone()

:CONSTANTS

:VARIABLES %PRIVILEGES, %PRIVSETS

:ALL :SYSCALLS, :LIBCALLS, and :CONSTANTS

<<less
Download (0.005MB)
Added: 2007-04-13 License: Perl Artistic License Price:
924 downloads
Sun::Solaris::Privilege 1.2

Sun::Solaris::Privilege 1.2


Sun::Solaris::Privilege is a Perl interface to Privileges. more>>
Sun::Solaris::Privilege is a Perl interface to Privileges.

SYNOPSIS

use Sun::Solaris::Privilege qw(:ALL);

This module provides wrappers for the Privilege-related system and library calls. Also provided are constants from the various Privilege-related headers and dynamically generated constants for all the privileges and privilege sets.

Functions

getppriv($which)

This function returns the process privilege set specified by $which.

setppriv($op, $which, $set)

This function modified the privilege set specified by $which in the as specified by the $op and $set arguments. If $op is PRIV_ON the privileges in $set are added to the set specified; if $op is PRIV_OFF, the privileges in $set are removed from the set specified; if $op is PRIV_SET, the specified set is made equal to $set.

getpflags($flag)

Returns the value associated with process $flag or undef on error. Possible values for $flag are PRIV_AWARE and PRIV_DEBUG.

setppflags($flag, $val)

Sets the process flag $flag to $val.

priv_fillset()

This returns a new privilege set with all privileges set.

priv_emptyset()

This returns a new empty privilege set.

priv_isemptyset($set)

This function returns whether $set is empty or not.

priv_isfullset($set)

This function returns whether $set is full or not.

priv_isequalset($a, $b)

This function returns whether sets $a and $b are equal.

priv_issubset($a, $b)

This function returns whether set $a is a subset of $b.

priv_ismember($set, $priv)

This function returns whether $priv is a member of $set.

priv_ineffect($priv)

This function returned whether $priv is in the process effective set.

priv_intersect($a, $b)

This function returns a new privilege set which is the intersection of $a and $b

priv_union($a, $b)

This function returns a new privilege set which is the union of $a and $b

priv_inverse($a)

This function returns a new privilege set which is the inverse of $a.

priv_addset($set, $priv)

This functon adds the privilege $priv to $set.

priv_copyset($a)

This function returns a copy of the privilege set $a.

priv_delset($set, $priv)

This function remove the privilege $priv from $set.

<<less
Download (0.006MB)
Added: 2007-04-13 License: Perl Artistic License Price:
924 downloads
SWT component for OpenSceneGraph 0.1

SWT component for OpenSceneGraph 0.1


SWT component for OpenSceneGraph is a SWT component that allows you to display an OpenSceneGraph. more>>
SWT component for OpenSceneGraph is a SWT component that allows you to display an OpenSceneGraph.

SWT component for OpenSceneGraph is know as libosgswt. libosgswt is the initial component included inside the josgviewer set of libraries.

The OpenSceneGraph is an open source high peformance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. Written entirely in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris and FreeBSD operating systems.
<<less
Download (0.017MB)
Added: 2006-02-08 License: LGPL (GNU Lesser General Public License) Price:
1353 downloads
Windowgrouper 0.2

Windowgrouper 0.2


Windowgrouper is a GNOME 2 panel applet that allows you to group windows together. more>>
Windowgrouper is a GNOME 2 panel applet that allows you to group windows together so that when one window in a group is minimized, unminimized, or moved to another desktop, the same operation is applied to the other windows in that group.

Windowgrouper is very easy to use, and its arguably useful.

Installation:

After you download the source archive and extract the source tree, change to the top directory of the windowgrouper-applet tree. You can build and install Windowmake with the following commands:

./configure &&
make &&
sudo make install

This will install the applet under the /usr/local prefix. You may need to tell GNOME where to look to find the Windowgrouper applet. You can do this by editing the file /etc/bonobo-activation/bonobo-activation-config.xml and adding /usr/local/lib/bonobo/servers to the searchpath.

Alternatively, you can tell the configure script to install in the /usr prefix (or in which ever prefix your GNOME installation happens to be). This way, no further configuration is required. Here are the commands that I use:

./configure --prefix=/usr --libexecdir=/usr/lib/gnome-panel &&
make &&
sudo make install

Usage:

Add the Windowgrouper applet to a panel like you would any other applet, by right clicking on the panel and selecting Add to Panel... Select the Windowgrouper applet from the Desktop & Windows section.

Clicking on the running applet will change the mouse pointer to the crosshairs cursor and a status window will appear in the middle of the screen to indicate that you can select a window. If you now click on a window a menu will pop up that allows you to assign the window to a group.

If you right click on the applet and select Collect New Group from the menu, you can click on a series of windows to add them all to a new group. When youre done selecting windows, just click on the desktop, the panel, or the Windowgrouper status window. You can cancel with the Escape key.

When one window in a group is hidden or minimized, so are the other members of the group. The same is true when a window is unminimized. Additionally, moving a window to a different workspace will move the other group members as well.

<<less
Download (0.14MB)
Added: 2006-04-19 License: GPL (GNU General Public License) Price:
1283 downloads
Camera Monitor 0.2

Camera Monitor 0.2


Camera Monitor is a little tray system icon that notifies you when your Webcam is on. more>>
Camera Monitor is a little tray system icon that notifies you when your Webcam is on. The project is designed for the GNOME desktop, but will work as well on KDE and XFCE.
Camera Monitor is released under the terms of the GNU General Public License.
Installation:
tar xzf laptoptemp-0.2.tar.gz
cd cameramonitor-0.1
./configure
sudo make install
Enhancements:
- Added support for libnotify
- Ported to new gtk.StatusIcon
- Updated preferences panel
- Updated about information
- Removed notification on bad previous exit
- Added option to preferences for autostarting cameramonitor every session
<<less
Download (0.024MB)
Added: 2007-03-01 License: GPL (GNU General Public License) Price:
976 downloads
Solaris::Kstat 0.05a

Solaris::Kstat 0.05a


Solaris::Kstat is a Perl module to access Solaris Kstats from Perl. more>>
Solaris::Kstat is a Perl module to access Solaris Kstats from Perl.

SYNOPSIS

use Solaris::Kstat;
my $kstat = Solaris::Kstat->new();
my ($usr1, $sys1, $wio1, $idle1) =
@{$kstat->{cpu_stat}{0}{cpu_stat0}}{qw(user kernel wait idle)};
print("usr sys wio idlen");
while (1)
{
sleep 5;
if ($kstat->update()) { print("Configuration changedn"); }
my ($usr2, $sys2, $wio2, $idle2) =
@{$kstat->{cpu_stat}{0}{cpu_stat0}}{qw(user kernel wait idle)};
printf(" %.2d %.2d %.2d %.2dn",
($usr2 - $usr1) / 5, ($sys2 - $sys1) / 5,
($wio2 - $wio1) / 5, ($idle2 - $idle1) / 5);
$usr1 = $usr2; $sys1 = $sys2; $wio1 = $wio2; $idle1 = $idle2;
}

This module provides a tied hash interface to the Solaris kstats library. The kstats library allows you to get access to all the stats used by sar, iostat, vmstat etc, plus a lot of others that arent accessible through the usual utilities.
Solaris categorises statistics using a 3-part key - module, instance and name. For example, the root disk stats can be found under sd.0.sd0, and the cpu statistics can be found under cpu_stat.0.cpu_stat0, as in the above example. The method Solaris::Kstats-new()> creates a new 3-layer tree of perl hashes with exactly the same structure - i.e. the stats for disk 0 can be accessed as $ks-{sd}{0}{sd0}>. The bottom (4th) layer is a tied hash used to hold the individual statistics values for a particular system resource.

Creating a Solaris::Kstat object doesnt actually read all the possible statistics in, as this would be horribly slow and inefficient. Instead it creates a 3-layer structure as described above, and only reads in the individual statistics as you reference them. For example, accessing $ks-{sd}{0}{sd0}{reads} will read in all the statistics for sd0, including writes, bytes read/written, service times etc. Once you have accessed a bottom level statitics value, calling $ks->update() will automatically update all the individual values of any statistics that you have accessed.

Note that there are two values per bottom-level hash that can be read without causing the full set of statistics to be read from the kernel. These are "class" which is the kstat class of the statistics and "crtime" which is the time that the kstat was created. See kstat(3K) for full details of these fields.

<<less
Download (0.024MB)
Added: 2007-06-13 License: Perl Artistic License Price:
867 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5