Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
examples/ | H | 01-May-2018 | - | 33 | 23 | |
lib/System/ | H | 01-May-2018 | - | 2,089 | 918 | |
t/ | H | 01-May-2018 | - | 2,956 | 2,402 | |
CONTRIBUTING.md | H A D | 01-May-2018 | 785 | 23 | 15 | |
ChangeLog | H A D | 01-May-2018 | 1.9 KiB | 64 | 54 | |
MANIFEST | H A D | 01-May-2018 | 13.1 KiB | 407 | 406 | |
META.json | H A D | 01-May-2018 | 3 KiB | 116 | 115 | |
META.yml | H A D | 01-May-2018 | 1.8 KiB | 72 | 71 | |
Makefile.PL | H A D | 19-Apr-2018 | 2 KiB | 79 | 69 | |
README | H A D | 01-Jan-2018 | 1.7 KiB | 87 | 50 |
README
1=head1 NAME 2 3System::Info - Basic information about the system 4 5=head1 SYNOPSIS 6 7 $ perl sysinfo.pl 8 9=head1 DESCRIPTION 10 11 use System::Info; 12 13 my $si = System::Info->new; 14 15 printf "Hostname: %s\n", $si->host; 16 printf "Number of CPU's: %s\n", $si->ncpu; 17 printf "Processor type: %s\n", $si->cpu_type; # short 18 printf "Processor description: %s\n", $si->cpu; # long 19 printf "OS and version: %s\n", $si->os; 20 21=head1 INSTALLATION 22 23The standard install procedure applies: 24 25 $ perl Makefile.PL 26 $ make test 27 $ make install 28 29If you like to test non-released active development, fetch like 30 31 $ git clone https://github.com/Tux/System-Info System-Info 32 33 or get it as a tgz: 34 35 $ wget --output-document=System-Info-git.tgz \ 36 https://github.com/Tux/System-Info/archive/master.tar.gz 37 38=head1 COPYRIGHT and LICENSE 39 40Copyright (C) 2016 - 2018 41 42 * H.Merijn Brand 43 * Abe Timmerman 44 45This suite is free software; you can redistribute it and/or modify it 46under the same terms as Perl itself, without consulting the author. 47 48(Future) Co-Authors and or contributors should agree to this before 49submitting patches. 50 51See: 52 53=over 4 54 55=item * http://www.perl.com/perl/misc/Artistic.html 56 57=item * http://www.gnu.org/copyleft/gpl.html 58 59=back 60 61This program is distributed in the hope that it will be useful, 62but WITHOUT ANY WARRANTY; without even the implied warranty of 63MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 64 65=head1 AUTHOR 66 67This module is maintained by Abe Timmerman <abeltje@cpan.org> and 68H.Merijn Brand <hmbrand@cpan.org>. 69 70=head1 MISC 71 72As always, have the appropriate amount of fun! 73 74=head1 SEE ALSO 75 76L<System> 77 78=head1 TODO 79 80=over 4 81 82=item * VMS? 83 84=back 85 86=cut 87