Sys::Statistics::Linux 0.13
Sponsored Links
Sys::Statistics::Linux 0.13 Ranking & Summary
File size:
0.022 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
821
Date added:
2007-07-26
Publisher:
Jonny Schulz
Sys::Statistics::Linux 0.13 description
Sys::Statistics::Linux is a Perl module to collect linux system statistics.
SYNOPSIS
use Sys::Statistics::Linux;
my $lxs = new Sys::Statistics::Linux;
$lxs->set(
SysInfo => 1,
CpuStats => 1,
ProcStats => 1,
MemStats => 1,
PgSwStats => 1,
NetStats => 1,
SockStats => 1,
DiskStats => 1,
DiskUsage => 1,
LoadAVG => 1,
FileStats => 1,
Processes => 1,
);
sleep 1;
my $stat = $lxs->get;
This module is the main package from the distribution Sys::Statistics::Linux and collects different linux system informations like processor workload, memory usage, network and disk statisitcs and other system informations. Refer to the documentation of the distribution modules to get more informations about all possible statistics and system informations.
TECHNICAL NOTE
This distribution collects statistics by the virtual /proc filesystem (procfs) and is developed on default vanilla kernels. It is tested on x86 hardware with the distributions SuSE (SuSE on s390 and s390x architecture as well), Red Hat, Debian, Asianux, Slackware and Mandrake on kernel versions 2.4 and 2.6 and should run on all linux kernels with a default vanilla kernel as well. It is possible that this module doesnt run on all distributions if the procfs is too much modified.
For example the linux kernel 2.4 can compiled with the option "CONFIG_BLK_STATS". It is possible to activate or deactivate the block statistics for devices with this option. These statistics doesnt exist in /proc/partitions if this option isnt activated. Since linux kernel 2.5 these statistics are in /proc/diskstats.
Further it is necessary to run it as a user with the authorization to read the /proc filesystem.
DELTAS
The options CpuStats, ProcStats, PgSwStats, NetStats, DiskStats and Processes are deltas, for this reason its necessary to initialize the statistics first, before the data be generated with get(). The statistics can be initialized with the methods new(), set() and init(). Each option that is set to TRUE (1) will be initialized by the call of new() or set(). The call of init() reinitialize all statistics that are set to 1. By the call of get() the initial statistics will be updated automatically. Please refer the METHOD section to get more information about the calls of new(), set() and get().
Another exigence is that you need to sleep for while - at least for one second - before you call get() if you want to get useful statistics. The options SysInfo, MemStats, SockStats, DiskUsage, LoadAVG and FileStats are no deltas. If you need only one of this informations you dont need to sleep before the call of get().
The get() function collects all requested informations and returns a hash reference with the statistics. The inital statistics will be updated. You can turn on and off options with set()
SYNOPSIS
use Sys::Statistics::Linux;
my $lxs = new Sys::Statistics::Linux;
$lxs->set(
SysInfo => 1,
CpuStats => 1,
ProcStats => 1,
MemStats => 1,
PgSwStats => 1,
NetStats => 1,
SockStats => 1,
DiskStats => 1,
DiskUsage => 1,
LoadAVG => 1,
FileStats => 1,
Processes => 1,
);
sleep 1;
my $stat = $lxs->get;
This module is the main package from the distribution Sys::Statistics::Linux and collects different linux system informations like processor workload, memory usage, network and disk statisitcs and other system informations. Refer to the documentation of the distribution modules to get more informations about all possible statistics and system informations.
TECHNICAL NOTE
This distribution collects statistics by the virtual /proc filesystem (procfs) and is developed on default vanilla kernels. It is tested on x86 hardware with the distributions SuSE (SuSE on s390 and s390x architecture as well), Red Hat, Debian, Asianux, Slackware and Mandrake on kernel versions 2.4 and 2.6 and should run on all linux kernels with a default vanilla kernel as well. It is possible that this module doesnt run on all distributions if the procfs is too much modified.
For example the linux kernel 2.4 can compiled with the option "CONFIG_BLK_STATS". It is possible to activate or deactivate the block statistics for devices with this option. These statistics doesnt exist in /proc/partitions if this option isnt activated. Since linux kernel 2.5 these statistics are in /proc/diskstats.
Further it is necessary to run it as a user with the authorization to read the /proc filesystem.
DELTAS
The options CpuStats, ProcStats, PgSwStats, NetStats, DiskStats and Processes are deltas, for this reason its necessary to initialize the statistics first, before the data be generated with get(). The statistics can be initialized with the methods new(), set() and init(). Each option that is set to TRUE (1) will be initialized by the call of new() or set(). The call of init() reinitialize all statistics that are set to 1. By the call of get() the initial statistics will be updated automatically. Please refer the METHOD section to get more information about the calls of new(), set() and get().
Another exigence is that you need to sleep for while - at least for one second - before you call get() if you want to get useful statistics. The options SysInfo, MemStats, SockStats, DiskUsage, LoadAVG and FileStats are no deltas. If you need only one of this informations you dont need to sleep before the call of get().
The get() function collects all requested informations and returns a hash reference with the statistics. The inital statistics will be updated. You can turn on and off options with set()
Sys::Statistics::Linux 0.13 Screenshot
Advertisements
Sys::Statistics::Linux 0.13 Keywords
Linux 0.13
linux system
to collect
Perl module
system statistics
statistics
1
linux
system
informations
module
Sys::Statistics::Linux
SysStatisticsLinux
Sys::Statistics::Linux 0.13
Libraries
Programming
Bookmark Sys::Statistics::Linux 0.13
Sys::Statistics::Linux 0.13 Copyright
WareSeeker periodically updates pricing and software information of Sys::Statistics::Linux 0.13 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Sys::Statistics::Linux 0.13 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
linux operating system
statistics south africa
linux windows
linux systems
vital statistics
statistics software
linux microsoft
linux system calls
linux commands
statistics help
what is linux system
statistics home page
linux vista
redhat linux
national statistics office
systemax
linux system directories
linux systems administrator
Related Software
The essential statistical tool for doctors, students and many others. Free Download
IP traffic statistics and bandwidth usage reporting cut by host and service Free Download
Salocin Linux is a free operating system that can be optimized and customized for almost any application or need. Free Download
Syslinux is a collection of boot loaders for the Linux operating system. Free Download
Yet another Linux FAQ is a comprehensive FAQ about the Linux Operating System. Free Download
12 freeware icons inspired by the sweet look and feel of baby rooms artwork. Free Download
Cool Linux CD is a bootable CD with Linux operating system, containing a 2.4 kernel and many free software packages. Free Download
ATmission is a Fedora-based Linux live CD. Free Download
Latest Software
Popular Software
Favourite Software