05-23-2002
Please post the exact error, where it happend and what you were doing in detail.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have been trying to install Borland Kylix 3 (the free one I downloaded off the internet) on my Mandrake 9.0 computer.
I have run ./testsystem and it said I was ok. BUT when I run ./borpretest it says it can't find 'lib-a.so'. I find this wierd since the file is in the same directory as... (2 Replies)
Discussion started by: KrazyGuyPaul
2 Replies
2. SCO
Happy new year guys.
I have a inspiron 5100 laptop "Dell"
When i'm trying to install SCO openserver 5.0.7 i get this error right after it goes thru the hardware bootup stage.
The error is (PANIC: wdsetparam: no device info for ctlr 1 drive 0
is ctlr 0 , drive 0 not... (0 Replies)
Discussion started by: josramon
0 Replies
3. HP-UX
Hi people:
I am having trouble installing some HPUX patches on my 11.00. I am a novice :confused: at this so bear with me. I do not understand how to install depots.
Now I'm trying to patch my system so I can get the Oracle client installed.
Oracle says I need these two patches:... (5 Replies)
Discussion started by: RAFA
5 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
Need some help here. I've been trying to install GNU tar version 1.12 into my Solaris 9 machine.
steps that I have done was:
-untar the package file
-run "./configure"
-run "make" command (got stuck at this point)
Got the following error messages after hitting the make... (2 Replies)
Discussion started by: suffer0
2 Replies
5. UNIX for Dummies Questions & Answers
This is what happened when I installed my gtkglarea-1.2.3
My GTK+ installation was successful. I installed on a non-standard location
having set all my variables for package config,library and executables
checking for GTK - version >= 0.99.7... ./configure: line 12482:... (0 Replies)
Discussion started by: preyan
0 Replies
6. BSD
Hi all, I'm new to the world of Unix/Linux (though not to computing in general) and I'm having a few issues installing FreeBSD (v6.2).
Firstly, I realise that it's not the most user-friendly of distros, especially for newbies, but it's what I'm required to install so unfortunately I have to... (2 Replies)
Discussion started by: Techmonkey
2 Replies
7. Red Hat
Hi everyone,
I have just installed Linux redhat 9.0, Unfortunately i met a error, it annonced as following when i pressed ENTER at the first step on installation and then i stoped:
PCI: 00:13.2 PCI cache line size set incorrectly (64 bytes) by BIOS/FW
PCI: 00:13.2 cache line size too... (3 Replies)
Discussion started by: RobertPh
3 Replies
8. Virtualization and Cloud Computing
I am Trying to install Oracle virtual box.But it is giving me some error message.Unable to resolve dependencies for some packages selected for installation.Missing dependencies libSDL-1.2.so.0 is needed by pacakage virtual box 4.1
I am using RHEL5
Help out with this. (1 Reply)
Discussion started by: saisrinivas99
1 Replies
9. Red Hat
Hi,
I have been trying to install SWAT on redhat 6 for samba4. The samba server was installed by another administrator but not swat. Please find output of yum install samba-swat in the attached file (2 Replies)
Discussion started by: p2bas
2 Replies
10. Ubuntu
I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time.
I am seeing various bugs. I don't know if the problems are due to:
(a) Hardware problems with the new laptop.
(b) Software issues, i.e. Ubuntu not working with the other... (1 Reply)
Discussion started by: twelth_hour
1 Replies
LEARN ABOUT DEBIAN
sys::statistics::linux::netstats
Sys::Statistics::Linux::NetStats(3pm) User Contributed Perl Documentation Sys::Statistics::Linux::NetStats(3pm)
NAME
Sys::Statistics::Linux::NetStats - Collect linux net statistics.
SYNOPSIS
use Sys::Statistics::Linux::NetStats;
my $lxs = Sys::Statistics::Linux::NetStats->new;
$lxs->init;
sleep 1;
my $stat = $lxs->get;
Or
my $lxs = Sys::Statistics::Linux::NetStats->new(initfile => $file);
$lxs->init;
my $stat = $lxs->get;
DESCRIPTION
Sys::Statistics::Linux::NetStats gathers net statistics from the virtual /proc filesystem (procfs).
For more information read the documentation of the front-end module Sys::Statistics::Linux.
NET STATISTICS
Generated by /proc/net/dev.
rxbyt - Number of bytes received per second.
rxpcks - Number of packets received per second.
rxerrs - Number of errors that happend while received packets per second.
rxdrop - Number of packets that were dropped per second.
rxfifo - Number of FIFO overruns that happend on received packets per second.
rxframe - Number of carrier errors that happend on received packets per second.
rxcompr - Number of compressed packets received per second.
rxmulti - Number of multicast packets received per second.
txbyt - Number of bytes transmitted per second.
txpcks - Number of packets transmitted per second.
txerrs - Number of errors that happend while transmitting packets per second.
txdrop - Number of packets that were dropped per second.
txfifo - Number of FIFO overruns that happend on transmitted packets per second.
txcolls - Number of collisions that were detected per second.
txcarr - Number of carrier errors that happend on transmitted packets per second.
txcompr - Number of compressed packets transmitted per second.
ttpcks - Number of total packets (received + transmitted) per second.
ttbyt - Number of total bytes (received + transmitted) per second.
METHODS
new()
Call "new()" to create a new object.
my $lxs = Sys::Statistics::Linux::NetStats->new;
Maybe you want to store/load the initial statistics to/from a file:
my $lxs = Sys::Statistics::Linux::NetStats->new(initfile => '/tmp/netstats.yml');
If you set "initfile" it's not necessary to call sleep before "get()".
It's also possible to set the path to the proc filesystem.
Sys::Statistics::Linux::NetStats->new(
files => {
# This is the default
path => '/proc',
netdev => 'net/dev',
}
);
init()
Call "init()" to initialize the statistics.
$lxs->init;
get()
Call "get()" to get the statistics. "get()" returns the statistics as a hash reference.
my $stat = $lxs->get;
raw()
The same as get_raw() but it's not necessary to call init() first.
get_raw()
Call "get_raw()" to get the raw data - no deltas.
EXPORTS
No exports.
SEE ALSO
proc(5)
REPORTING BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>.
AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>.
COPYRIGHT
Copyright (c) 2006, 2007 by Jonny Schulz. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-09 Sys::Statistics::Linux::NetStats(3pm)