solaris filesystems
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 751
Sys::Filesystem 1.22
Sys::Filesystem is a tool to retrieve a list of filesystems and their properties. more>>
Sys::Filesystem project is intended to be a portable interface to list and query filesystem names and their properties.
It hopes to provide a consistent API to list all, mounted, unmounted, and special filesystems on a system, and query as many properties as possible with common aliases wherever possible.
<<lessIt hopes to provide a consistent API to list all, mounted, unmounted, and special filesystems on a system, and query as many properties as possible with common aliases wherever possible.
Download (0.018MB)
Added: 2006-11-22 License: GPL (GNU General Public License) Price:
1066 downloads
Filesystems HOWTO 0.7.4
Filesystems HOWTO is about filesystems and accessing filesystems from several OSes. more>>
Filesystems HOWTO is about filesystems and accessing filesystems from several OSes.
This HOWTO is a document that describes a wide variety of filesystems and instructs you on how to access them from a wide variety of operating systems.
<<lessThis HOWTO is a document that describes a wide variety of filesystems and instructs you on how to access them from a wide variety of operating systems.
Download (MB)
Added: 2006-10-03 License: GPL (GNU General Public License) Price:
1116 downloads
Adeos Filesystem Security Scanner 1.0
Adeos (named after the obscure Roman goddess of modesty) is an automated filesystem security scanner. more>>
Adeos (named after the obscure Roman goddess of modesty) is an automated filesystem security scanner. It recursively walks all mounted filesystems on the local system and attempts to identify common security concerns such as SUID and world-writeable files.
The output is available as text or html, with either output type formatted in either report or list style. Text is written to stdout and is redirected to a file, while HTML is written to a file named results.html in the local directory.
Adeos should compile and run on almost any UNIX-type system. It has been tested on Sun Solaris and Linux 2.x.
Adeos must be run from a non-priveleged user account on the system. Since a priveleged account, such as root has much greater priveleges than a standard user, the results would be meaningless.
Adeos supports three scan modes: normal, verbose, and paranoid. A brief description of what each looks for is below.
normal: Set-User-ID (SUID) files, Set-Group-ID (SGID) files, world-writeable files, and world-writeable directories. (Default mode)
verbose: Everything that a Normal scan looks for, "Sticky" files, unreadable directories, and inaccessible files.
paranoid: Everything Normal and Verbose scans look for, world-readable files, world-executable files, world-readable directories, and world-executable directories.
Adeos supports the following command-line options. Note that if you want to use multiple options you must specify each one individually.
-d Include dynamic directories (/dev /devices /proc /tmp) in the scan.
-h Place output in an HTML file named results.html
-r Format output as a collated report.
--help Display usage and help information.
A default Adeos run performs a Normal mode scan with list-formatted text output.
<<lessThe output is available as text or html, with either output type formatted in either report or list style. Text is written to stdout and is redirected to a file, while HTML is written to a file named results.html in the local directory.
Adeos should compile and run on almost any UNIX-type system. It has been tested on Sun Solaris and Linux 2.x.
Adeos must be run from a non-priveleged user account on the system. Since a priveleged account, such as root has much greater priveleges than a standard user, the results would be meaningless.
Adeos supports three scan modes: normal, verbose, and paranoid. A brief description of what each looks for is below.
normal: Set-User-ID (SUID) files, Set-Group-ID (SGID) files, world-writeable files, and world-writeable directories. (Default mode)
verbose: Everything that a Normal scan looks for, "Sticky" files, unreadable directories, and inaccessible files.
paranoid: Everything Normal and Verbose scans look for, world-readable files, world-executable files, world-readable directories, and world-executable directories.
Adeos supports the following command-line options. Note that if you want to use multiple options you must specify each one individually.
-d Include dynamic directories (/dev /devices /proc /tmp) in the scan.
-h Place output in an HTML file named results.html
-r Format output as a collated report.
--help Display usage and help information.
A default Adeos run performs a Normal mode scan with list-formatted text output.
Download (0.029MB)
Added: 2006-07-13 License: GPL (GNU General Public License) Price:
1200 downloads
Ext2 Filesystems Utilities 1.39
The Ext2 Filesystem Utilities (e2fsprogs) contain all of the standard utilities for creating, fixing, configuring , and debuggin more>> <<less
Download (3.4MB)
Added: 2006-05-29 License: GPL (GNU General Public License) Price:
1278 downloads
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.
<<lessSYNOPSIS
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.
Download (0.006MB)
Added: 2007-04-13 License: Perl Artistic License Price:
924 downloads
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.
<<lessSYNOPSIS
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.
Download (0.024MB)
Added: 2007-06-13 License: Perl Artistic License Price:
867 downloads
Solaris packaging tools 1.2.1
PkgTools are a set of utilities which are used to aid in the building of native Solaris packages. more>>
PkgTools are a set of utilities which are used to aid in the building of native Solaris packages. There are five separate utilities which are used to build packages, prepare a chroot() environment to install software into prior to building a package, copy package control scripts into place, a tool to aid in the starting of new projects, and a tool to check that packages are installed correctly.
Currently there are four tools in this set:
build-pkg
This is used to actually build the Solaris package, calling chroot-install if required.
chroot-install
A utility which creates an environment suitable for calling chroot() on and allowing the user to install software into it.
proj-template
A utility which asks the user questions and then copies files and directories from a specified template directory and performs macro expansion on them. This is designed to aid in the initial setup of the home directory of a new project.
simple-proj
A very similar utility to proj-template. However it does not ask questions and only deals with the setting up of a simple InstallPackage. This is useful when dealing with 3rd party software which just needs to have a number of package control scripts put into the package.
check-pkg
A utility which can be used to check to see if packages are installed correctly. It can also be given a pathname to check on which packages said pathname is a part of.
It should be noted that simple-proj is really proj-template wearing a different hat.
<<lessCurrently there are four tools in this set:
build-pkg
This is used to actually build the Solaris package, calling chroot-install if required.
chroot-install
A utility which creates an environment suitable for calling chroot() on and allowing the user to install software into it.
proj-template
A utility which asks the user questions and then copies files and directories from a specified template directory and performs macro expansion on them. This is designed to aid in the initial setup of the home directory of a new project.
simple-proj
A very similar utility to proj-template. However it does not ask questions and only deals with the setting up of a simple InstallPackage. This is useful when dealing with 3rd party software which just needs to have a number of package control scripts put into the package.
check-pkg
A utility which can be used to check to see if packages are installed correctly. It can also be given a pathname to check on which packages said pathname is a part of.
It should be noted that simple-proj is really proj-template wearing a different hat.
Download (0.14MB)
Added: 2005-11-18 License: BSD License Price:
1435 downloads
Solaris::Disk::SVM::Graph 0.03
Solaris::Disk::SVM::Graph is a Perl module for graph your Solaris Volume Manager configurations. more>>
Solaris::Disk::SVM::Graph is a Perl module for graph your Solaris Volume Manager configurations.
SYNOPSIS
my $graph = Solaris::Disk::SVM::Graph->new(
sourcedir => path/to/dir, # path to SVM config files,
# see Solaris::Disk::SVM for details
fontname => fontname,
fontsize => fontsize,
);
$graph->output(); # output the whole SVM config to svm.png
# output whole configuration
$graph->output(
output => /path/to/image.svg,
# format deduced from file name, if format
# is not present
format => png, # or anything accepted by GraphViz,
# extension will be appended to output filename
);
# output one device
$graph->output( objects => d10 ); # d10 object with sub-devices to d10.png
# output many devices on same graph
$graph->output( objects => [ d10, d11 ] );
# output one device specifying output file name & format
$graph->output(
objects => d10
output => /path/to/image.svg,
format => png,
);
<<lessSYNOPSIS
my $graph = Solaris::Disk::SVM::Graph->new(
sourcedir => path/to/dir, # path to SVM config files,
# see Solaris::Disk::SVM for details
fontname => fontname,
fontsize => fontsize,
);
$graph->output(); # output the whole SVM config to svm.png
# output whole configuration
$graph->output(
output => /path/to/image.svg,
# format deduced from file name, if format
# is not present
format => png, # or anything accepted by GraphViz,
# extension will be appended to output filename
);
# output one device
$graph->output( objects => d10 ); # d10 object with sub-devices to d10.png
# output many devices on same graph
$graph->output( objects => [ d10, d11 ] );
# output one device specifying output file name & format
$graph->output(
objects => d10
output => /path/to/image.svg,
format => png,
);
Download (0.011MB)
Added: 2006-08-25 License: Perl Artistic License Price:
1156 downloads
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
<<lessSYNOPSIS
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
Download (0.003MB)
Added: 2007-04-13 License: Perl Artistic License Price:
930 downloads
Filesys::DfPortable 0.85
Filesys::DfPortable is a Perl extension for filesystem disk space information. more>>
Filesys::DfPortable is a Perl extension for filesystem disk space information.
SYNOPSIS
use Filesys::DfPortable;
my $ref = dfportable("C:"); # Default block size is 1, which outputs bytes
if(defined($ref)) {
print"Total bytes: $ref->{blocks}n";
print"Total bytes free: $ref->{bfree}n";
print"Total bytes avail to me: $ref->{bavail}n";
print"Total bytes used: $ref->{bused}n";
print"Percent full: $ref->{per}n"
}
my $ref = dfportable("/tmp", 1024); # Display output in 1K blocks
if(defined($ref)) {
print"Total 1k blocks: $ref->{blocks}n";
print"Total 1k blocks free: $ref->{bfree}n";
print"Total 1k blocks avail to me: $ref->{bavail}n";
print"Total 1k blocks used: $ref->{bused}n";
print"Percent full: $ref->{per}n"
}
This module provides a portable way to obtain filesystem disk space information.
The module should work with all versions of Windows (95 and up), and with all flavors of Unix that implement the statvfs or the statfs calls. This would include Linux, *BSD, HP-UX, AIX, Solaris, Mac OS X, Irix, Cygwin, etc ...
This module differs from Filesys::Df in that it has added support for Windows, but does not support open filehandles as a argument.
dfportable() requires a directory argument that represents the filesystem you want to query. There is also an optional block size argument so that you can tailor the size of the values returned. The default block size is 1, this will cause the function to return the values in bytes. If you never use the block size argument, then you can think of any instance of "blocks" in this document to really mean "bytes".
dfportable() returns a reference to a hash. The keys available in the hash are as follows:
{blocks} = Total blocks on the filesystem.
{bfree} = Total blocks free on the filesystem.
{bavail} = Total blocks available to the user executing the Perl application. This can be different than {bfree} if you have per-user quotas on the filesystem, or if the super user has a reserved amount. {bavail} can also be a negative value because of this. For instance if there is more space being used then you have available to you.
{bused} = Total blocks used on the filesystem.
{per} = Percent of disk space used. This is based on the disk space available to the user executing the application. In other words, if the filesystem has 10% of its space reserved for the superuser, then the percent used can go up to 110%.
You can obtain inode information through the module as well. But you must call exists() on the {files} key to make sure the information is available. Some filesystems may not return inode information, for example Windows, and some NFS filesystems.
Here are the available inode keys:
{files} = Total inodes on the filesystem.
{ffree} = Total inodes free on the filesystem.
{favail} = Total inodes available to the user executing the application. See the rules for the {bavail} key.
{fused} = Total inodes used on the filesystem.
{fper} = Percent of inodes used on the filesystem. See rules for the {per} key.
If the dfportable() call fails for any reason, it will return undef. This will probably happen if you do anything crazy like try to get information for /proc, or if you pass an invalid filesystem name, or if there is an internal error. dfportable() will croak() if you pass it a undefined value.
<<lessSYNOPSIS
use Filesys::DfPortable;
my $ref = dfportable("C:"); # Default block size is 1, which outputs bytes
if(defined($ref)) {
print"Total bytes: $ref->{blocks}n";
print"Total bytes free: $ref->{bfree}n";
print"Total bytes avail to me: $ref->{bavail}n";
print"Total bytes used: $ref->{bused}n";
print"Percent full: $ref->{per}n"
}
my $ref = dfportable("/tmp", 1024); # Display output in 1K blocks
if(defined($ref)) {
print"Total 1k blocks: $ref->{blocks}n";
print"Total 1k blocks free: $ref->{bfree}n";
print"Total 1k blocks avail to me: $ref->{bavail}n";
print"Total 1k blocks used: $ref->{bused}n";
print"Percent full: $ref->{per}n"
}
This module provides a portable way to obtain filesystem disk space information.
The module should work with all versions of Windows (95 and up), and with all flavors of Unix that implement the statvfs or the statfs calls. This would include Linux, *BSD, HP-UX, AIX, Solaris, Mac OS X, Irix, Cygwin, etc ...
This module differs from Filesys::Df in that it has added support for Windows, but does not support open filehandles as a argument.
dfportable() requires a directory argument that represents the filesystem you want to query. There is also an optional block size argument so that you can tailor the size of the values returned. The default block size is 1, this will cause the function to return the values in bytes. If you never use the block size argument, then you can think of any instance of "blocks" in this document to really mean "bytes".
dfportable() returns a reference to a hash. The keys available in the hash are as follows:
{blocks} = Total blocks on the filesystem.
{bfree} = Total blocks free on the filesystem.
{bavail} = Total blocks available to the user executing the Perl application. This can be different than {bfree} if you have per-user quotas on the filesystem, or if the super user has a reserved amount. {bavail} can also be a negative value because of this. For instance if there is more space being used then you have available to you.
{bused} = Total blocks used on the filesystem.
{per} = Percent of disk space used. This is based on the disk space available to the user executing the application. In other words, if the filesystem has 10% of its space reserved for the superuser, then the percent used can go up to 110%.
You can obtain inode information through the module as well. But you must call exists() on the {files} key to make sure the information is available. Some filesystems may not return inode information, for example Windows, and some NFS filesystems.
Here are the available inode keys:
{files} = Total inodes on the filesystem.
{ffree} = Total inodes free on the filesystem.
{favail} = Total inodes available to the user executing the application. See the rules for the {bavail} key.
{fused} = Total inodes used on the filesystem.
{fper} = Percent of inodes used on the filesystem. See rules for the {per} key.
If the dfportable() call fails for any reason, it will return undef. This will probably happen if you do anything crazy like try to get information for /proc, or if you pass an invalid filesystem name, or if there is an internal error. dfportable() will croak() if you pass it a undefined value.
Download (0.007MB)
Added: 2007-04-27 License: Perl Artistic License Price:
911 downloads
Solaris::MapDev 0.05a
Solaris::MapDev Perl module contains a map between instance numbers and device names. more>>
Solaris::MapDev Perl module contains a map between instance numbers and device names.
SYNOPSIS
use Solaris::MapDev qw(inst_to_dev dev_to_inst);
my $disk = inst_to_dev("sd0");
my $nfs = inst_to_dev("nfs123");
my $inst = dev_to_inst("c0t0d0s0");
mapdev_data_files(path_to_inst => "/copy/of/a/path_to_inst",
mnttab => "/copy/of/a/mnttab",
dev_ls => { "/dev/rdsk" => "ls-lR/of/dev_dsk",
"/dev/rmt" => "ls-lR/of/dev_rmt" });
my $tape = inst_to_dev("st1");
This module maps both ways between device instance names (e.g. sd0) and /dev entries (e.g. c0t0d0). Vanilla SCSI disks, SSA disks, A1000, A3000, A3500 and A5000 disks are all catered for, as are tape devices and NFS mounts.
FUNCTIONS
inst_to_dev($inst)
Return the device name name given the instance name
dev_to_inst($dev)
Return the instance name given the device name
get_inst_names
Return a sorted list of all the instance names
get_dev_names
Return a sorted list of all the device names
mapdev_data_files
This tells mapdev to use data held in copies of the real datafiles, rather than the current "live" files on the system. This is useful for example when examining explorer output. A list of key-value pairs is expected as the arguments. Valid keys-value pairs are:
path_to_inst => "/copy/of/a/path_to_inst",
A valid path_to_inst file. This is mandatory.
mnttab => "/copy/of/a/mnttab",
A valid /etc/mnttab file. This is optional - if not
specified, no information on NFS devices will be displayed.
dev_ls => { "/dir/path" => "/ls-lR/of/dir/path",
... });
A hash containing path/datafile pairs. The paths should
be one of /dev/rdsk, /dev/osa/rdsk, /dev/osa/dev/rdsk or
/dev/rmt. The datafiles should be the output of a "ls -l"
of the specified directory. A single file containing a
recursive "ls -Rl" of /dev is also acceptable.
mapdev_system_files
This tells mapdev to revert to using the current "live" datafiles on the system - see "mapdev_data_files()"
<<lessSYNOPSIS
use Solaris::MapDev qw(inst_to_dev dev_to_inst);
my $disk = inst_to_dev("sd0");
my $nfs = inst_to_dev("nfs123");
my $inst = dev_to_inst("c0t0d0s0");
mapdev_data_files(path_to_inst => "/copy/of/a/path_to_inst",
mnttab => "/copy/of/a/mnttab",
dev_ls => { "/dev/rdsk" => "ls-lR/of/dev_dsk",
"/dev/rmt" => "ls-lR/of/dev_rmt" });
my $tape = inst_to_dev("st1");
This module maps both ways between device instance names (e.g. sd0) and /dev entries (e.g. c0t0d0). Vanilla SCSI disks, SSA disks, A1000, A3000, A3500 and A5000 disks are all catered for, as are tape devices and NFS mounts.
FUNCTIONS
inst_to_dev($inst)
Return the device name name given the instance name
dev_to_inst($dev)
Return the instance name given the device name
get_inst_names
Return a sorted list of all the instance names
get_dev_names
Return a sorted list of all the device names
mapdev_data_files
This tells mapdev to use data held in copies of the real datafiles, rather than the current "live" files on the system. This is useful for example when examining explorer output. A list of key-value pairs is expected as the arguments. Valid keys-value pairs are:
path_to_inst => "/copy/of/a/path_to_inst",
A valid path_to_inst file. This is mandatory.
mnttab => "/copy/of/a/mnttab",
A valid /etc/mnttab file. This is optional - if not
specified, no information on NFS devices will be displayed.
dev_ls => { "/dir/path" => "/ls-lR/of/dir/path",
... });
A hash containing path/datafile pairs. The paths should
be one of /dev/rdsk, /dev/osa/rdsk, /dev/osa/dev/rdsk or
/dev/rmt. The datafiles should be the output of a "ls -l"
of the specified directory. A single file containing a
recursive "ls -Rl" of /dev is also acceptable.
mapdev_system_files
This tells mapdev to revert to using the current "live" datafiles on the system - see "mapdev_data_files()"
Download (0.024MB)
Added: 2007-06-13 License: GPL (GNU General Public License) Price:
865 downloads
Filesys::Df 0.92
Filesys::Df is a Perl extension for filesystem disk space information. more>>
Filesys::Df is a Perl extension for filesystem disk space information.
SYNOPSIS
use Filesys::Df;
#### Get information by passing a scalar directory/filename value
my $ref = df("/tmp"); # Default output is 1K blocks
if(defined($ref)) {
print "Total 1k blocks: $ref->{blocks}n";
print "Total 1k blocks free: $ref->{bfree}n";
print "Total 1k blocks avail to me: $ref->{bavail}n";
print "Total 1k blocks used: $ref->{used}n";
print "Percent full: $ref->{per}n";
if(exists($ref->{files})) {
print "Total inodes: $ref->{files}n";
print "Total inodes free: $ref->{ffree}n";
print "Inode percent full: $ref->{fper}n";
}
}
#### Get information by passing a filehandle
open(FILE, "some_file"); # Get information for filesystem at "some_file"
my $ref = df(*FILE);
#### or
my $ref = df(*FILE);
#### or
my $fhref = *FILE;
my $ref = df($fhref);
#### Get information in other than 1k blocks
my $ref = df("/tmp", 8192); # output is 8K blocks
my $ref = df("/tmp", 1); # output is bytes
This module provides a way to obtain filesystem disk space information. This is a Unix only distribution. If you want to gather this information for Unix and Windows, use Filesys::DfPortable. The only major benefit of using Filesys::Df over Filesys::DfPortable, is that Filesys::Df supports the use of open filehandles as arguments.
The module should work with all flavors of Unix that implement the statvfs() and fstatvfs() calls, or the statfs() and fstatfs() calls. This would include Linux, *BSD, HP-UX, AIX, Solaris, Mac OS X, Irix, Cygwin, etc ...
df() requires a argument that represents the filesystem you want to query. The argument can be either a scalar directory/file name or a open filehandle. There is also an optional block size argument so you can tailor the size of the values returned. The default block size is 1024. This will cause the function to return the values in 1k blocks. If you want bytes, set the block size to 1.
df() returns a reference to a hash. The keys available in the hash are as follows:
{blocks} = Total blocks on the filesystem.
{bfree} = Total blocks free on the filesystem.
{bavail} = Total blocks available to the user executing the Perl application. This can be different than {bfree} if you have per-user quotas on the filesystem, or if the super user has a reserved amount. {bavail} can also be a negative value because of this. For instance if there is more space being used then you have available to you.
{used} = Total blocks used on the filesystem.
{per} = Percent of disk space used. This is based on the disk space available to the user executing the application. In other words, if the filesystem has 10% of its space reserved for the superuser, then the percent used can go up to 110%.
You can obtain inode information through the module as well, but you must call exists() on the {files} key first, to make sure the information is available. Some filesystems may not return inode information, for example some NFS filesystems.
Here are the available inode keys:
{files} = Total inodes on the filesystem.
{ffree} = Total inodes free on the filesystem.
{favail} = Total inodes available to the user executing the application. See the rules for the {bavail} key.
{fused} = Total inodes used on the filesystem.
{fper} = Percent of inodes used on the filesystem. See rules for the {per} key.
There are some undocumented keys that are defined to maintain backwards compatibilty: {su_blocks}, {user_blocks}, etc ...
If the df() call fails for any reason, it will return undef. This will probably happen if you do anything crazy like try to get information for /proc, or if you pass an invalid filesystem name, or if there is an internal error. df() will croak() if you pass it a undefined value.
<<lessSYNOPSIS
use Filesys::Df;
#### Get information by passing a scalar directory/filename value
my $ref = df("/tmp"); # Default output is 1K blocks
if(defined($ref)) {
print "Total 1k blocks: $ref->{blocks}n";
print "Total 1k blocks free: $ref->{bfree}n";
print "Total 1k blocks avail to me: $ref->{bavail}n";
print "Total 1k blocks used: $ref->{used}n";
print "Percent full: $ref->{per}n";
if(exists($ref->{files})) {
print "Total inodes: $ref->{files}n";
print "Total inodes free: $ref->{ffree}n";
print "Inode percent full: $ref->{fper}n";
}
}
#### Get information by passing a filehandle
open(FILE, "some_file"); # Get information for filesystem at "some_file"
my $ref = df(*FILE);
#### or
my $ref = df(*FILE);
#### or
my $fhref = *FILE;
my $ref = df($fhref);
#### Get information in other than 1k blocks
my $ref = df("/tmp", 8192); # output is 8K blocks
my $ref = df("/tmp", 1); # output is bytes
This module provides a way to obtain filesystem disk space information. This is a Unix only distribution. If you want to gather this information for Unix and Windows, use Filesys::DfPortable. The only major benefit of using Filesys::Df over Filesys::DfPortable, is that Filesys::Df supports the use of open filehandles as arguments.
The module should work with all flavors of Unix that implement the statvfs() and fstatvfs() calls, or the statfs() and fstatfs() calls. This would include Linux, *BSD, HP-UX, AIX, Solaris, Mac OS X, Irix, Cygwin, etc ...
df() requires a argument that represents the filesystem you want to query. The argument can be either a scalar directory/file name or a open filehandle. There is also an optional block size argument so you can tailor the size of the values returned. The default block size is 1024. This will cause the function to return the values in 1k blocks. If you want bytes, set the block size to 1.
df() returns a reference to a hash. The keys available in the hash are as follows:
{blocks} = Total blocks on the filesystem.
{bfree} = Total blocks free on the filesystem.
{bavail} = Total blocks available to the user executing the Perl application. This can be different than {bfree} if you have per-user quotas on the filesystem, or if the super user has a reserved amount. {bavail} can also be a negative value because of this. For instance if there is more space being used then you have available to you.
{used} = Total blocks used on the filesystem.
{per} = Percent of disk space used. This is based on the disk space available to the user executing the application. In other words, if the filesystem has 10% of its space reserved for the superuser, then the percent used can go up to 110%.
You can obtain inode information through the module as well, but you must call exists() on the {files} key first, to make sure the information is available. Some filesystems may not return inode information, for example some NFS filesystems.
Here are the available inode keys:
{files} = Total inodes on the filesystem.
{ffree} = Total inodes free on the filesystem.
{favail} = Total inodes available to the user executing the application. See the rules for the {bavail} key.
{fused} = Total inodes used on the filesystem.
{fper} = Percent of inodes used on the filesystem. See rules for the {per} key.
There are some undocumented keys that are defined to maintain backwards compatibilty: {su_blocks}, {user_blocks}, etc ...
If the df() call fails for any reason, it will return undef. This will probably happen if you do anything crazy like try to get information for /proc, or if you pass an invalid filesystem name, or if there is an internal error. df() will croak() if you pass it a undefined value.
Download (0.007MB)
Added: 2007-04-27 License: GPL (GNU General Public License) Price:
911 downloads
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
<<lessSYNOPSIS
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
Download (0.005MB)
Added: 2007-04-13 License: Perl Artistic License Price:
924 downloads

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
Regular Statement String 2.5.7
Regular Statement String (RSS) provides several libraries in C, Java, and COM. more>>
Regular Statement String (RSS) provides several libraries in C, Java, and COM to implement and demonstrate the key-value development method using well-designed "strings" (RSS) as the media. Regular Statement String also shows a way to write "Process Oriented" applications.
Enhancements:
- This release adds an implementation for SUN Solaris (SPARC).
<<lessEnhancements:
- This release adds an implementation for SUN Solaris (SPARC).
Download (0.33MB)
Added: 2007-04-12 License: Freeware Price:
926 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above solaris filesystems search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed