| Tassilo v. Parseval 2004-05-26, 12:32 pm |
| Hi,
I'd like to announce the arrival of a new module at the CPAN. From the
perldocs:
NAME
Unix::Statgrab - Perl extension for collecting information about the
machine
SYNOPSIS
use Unix::Statgrab;
local $, = "\n";
my $host = get_host_info or
die get_error;
print $host->os_name,
$host->os_release,
$host->os_version,
...;
my $disks = get_disk_io_stats or
die get_error;
for (0 .. $disks->num_disks - 1) {
print $disks->disk_name($_),
$disks->read_bytes($_),
...;
}
DESCRIPTION
Unix::Statgrab is a wrapper for libstatgrab as available from
<http://www.i-scream.org/libstatgrab/>. It is a reasonably portable
attempt to query interesting stats about your computer. It covers
information on the operating system, CPU, memory usage, network inter-
faces, hard-disks etc.
[...]
COPYRIGHT AND LICENSE
Copyright (C) 2004 by Tassilo von Parseval
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
Prerequisite for this module is the libstatgrab C-library, so obviously
you need to have this installed plus a C compiler. The library itself
claims to be portable across various Unices (Linux, *BSD, Solaris). I
haven't verified this so I trust its authors on that.
Tassilo
--
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval
|