Paul Evans > Solaris-SysInfo-0.06 > Solaris::SysInfo

Download:
Solaris-SysInfo-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

Solaris::SysInfo - A perl wrapper around Solaris' sysinfo(1) system call

SYNOPSIS ^

 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 ) );

FUNCTIONS ^

$info = sysinfo( $command )

Return the sysinfo(1) string generated by the OS to the command given by $command. Returns undef on errors.

SEE ALSO ^

AUTHOR ^

Paul Evans <leonerd@leonerd.org.uk>

syntax highlighting: