NAME

Linux::Info::KernelSource - defines the files that are source of kernel information

VERSION

version 2.12

METHODS

new

Creates a instance.

Optionally, can receive a hash reference to configure customized paths instead of the default ones.

The expected keys/values are:

  • sys_osrelease: path to a corresponding /proc/sys/kernel/osrelease file path.

  • version: path to a corresponding /proc/version file path.

  • version_signature: path to a corresponding /proc/version_signature file path. This one is specific to Ubuntu Linux.

get_sys_osrelease

Getter for the sys_osrelease file path content.

get_version

Getter for the version file path content.

get_version_signature

Getter for the version_signature file path content.

SEE ALSO

AUTHOR

Alceu Rodrigues de Freitas Junior <glasswalk3r@yahoo.com.br>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Alceu Rodrigues de Freitas Junior.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007