Solaris::SysInfo - A perl wrapper around Solaris' sysinfo(1) system call
Solaris::SysInfo
use Solaris::SysInfo qw( sysinfo SI_ARCHITECTURE SI_ISALIST ); print "This system uses a " . sysinfo( SI_ARCHITECTURE ) . " CPU type\n"; print "It supports instruction sets:\n"; print " $_\n" for split( m/ /, sysinfo( SI_ISALIST ) );
Return the sysinfo(1) string generated by the OS to the command given by $command. Returns undef on errors.
undef
POSIX - Perl interface to IEEE Std 1003.1 (the uname function)
uname
Paul Evans <leonerd@leonerd.org.uk>
To install Solaris::SysInfo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Solaris::SysInfo
CPAN shell
perl -MCPAN -e shell install Solaris::SysInfo
For more information on module installation, please visit the detailed CPAN module installation guide.