| Sys-Info-Driver-Linux documentation | Contained in the Sys-Info-Driver-Linux distribution. |
Sys::Info::Driver::Linux - Linux driver for Sys::Info
use Sys::Info::Driver::Linux;
This document describes version 0.78 of Sys::Info::Driver::Linux
released on 17 April 2011.
This is the main module in the Linux driver collection.
None.
Automatically exported. Includes paths to several files.
Burak Gursoy <burak@cpan.org>.
Copyright 2006 - 2011 Burak Gursoy. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.1 or, at your option, any later version of Perl 5 you may have available.
| Sys-Info-Driver-Linux documentation | Contained in the Sys-Info-Driver-Linux distribution. |
package Sys::Info::Driver::Linux; use strict; use warnings; use vars qw( $VERSION @ISA @EXPORT ); use base qw( Exporter ); $VERSION = '0.78'; @EXPORT = qw( proc ); use constant proc => { ## no critic (NamingConventions::Capitalization) loadavg => '/proc/loadavg', # average cpu load cpuinfo => '/proc/cpuinfo', # cpu information uptime => '/proc/uptime', # uptime file version => '/proc/version', # os version meminfo => '/proc/meminfo', swaps => '/proc/swaps', fstab => '/etc/fstab', # for filesystem type of the current disk resolv => '/etc/resolv.conf', timezone => '/etc/timezone', issue => '/etc/issue', }; 1; __END__