System::Info - Basic information about the system
$ perl sysinfo.pl
use System::Info; my $si = System::Info->new; printf "Hostname: %s\n", $si->host; printf "Number of CPU's: %s\n", $si->ncpu; printf "Processor type: %s\n", $si->cpu_type; # short printf "Processor description: %s\n", $si->cpu; # long printf "OS and version: %s\n", $si->os;
The standard install procedure applies:
$ perl Makefile.PL $ make test $ make install
If you like to test non-released active development, fetch like
$ git clone https://github.com/Tux/System-Info System-Info or get it as a tgz: $ wget --output-document=System-Info-git.tgz \ https://github.com/Tux/System-Info/archive/master.tar.gz
Copyright (C) 2016 - 2017
* H.Merijn Brand * Abe Timmerman
This suite is free software; you can redistribute it and/or modify it under the same terms as Perl itself, without consulting the author.
(Future) Co-Authors and or contributors should agree to this before submitting patches.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This module is maintained by Abe Timmerman <email@example.com> and H.Merijn Brand <firstname.lastname@example.org>.
As always, have the appropriate amount of fun!