12-05-2012
Unix: Sys V R2
Linux: Slackware 2.1
BSD: 4.3BSD
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I m working on many Linux servers in my project. But i am unable to know which Linux Distribution i am using Like whether i am using SUSE or REDHAT or MONDRAKE. I tried with "uname" command. But it does not help me. Please provide me the command if u know.
Regards,
Basavaraja KC (3 Replies)
Discussion started by: BasavarajaKC
3 Replies
2. UNIX for Dummies Questions & Answers
Hey
I am right now working on an old Compaq computer, and because I have a newer one I thought of installing Linux on this one. The thing is that I don't know which Linux distribution that would work with a minimum of lag. My computer specifications is:
Compaq Presario 7000
Intel Pentium... (7 Replies)
Discussion started by: Sixmax
7 Replies
3. Shell Programming and Scripting
Hi,
I m working on many Linux servers in my project. But i am unable to know which Linux Distribution i am using Like whether i am using SUSE or REDHAT or MONDRAKE. I tried with "uname" command. But it does not help me. Please provide me the command if u know.
Regards,
Basavaraja KC (5 Replies)
Discussion started by: BasavarajaKC
5 Replies
4. Programming
Hi,
Can anyone please tell me, what is the best Linux distribution for Software Development.
Thanks,
Philip. (4 Replies)
Discussion started by: Phi01
4 Replies
5. Linux
Hi
I consider changing operating system onto Linux. But I'm not sure what kind of distribution should I use :
- Red Hat
- Suse
- Ubuntu
- Debian
- Fedora
Operating system will be operating on the notebook to replace Win XP and must be stable version with all drivers to hardware (WiFi... (7 Replies)
Discussion started by: presul
7 Replies
6. Linux
Dear all
i am new to Linux, i need a Linux OS that have been "qt development and lesstif" together.
Regards (5 Replies)
Discussion started by: mkhorami76
5 Replies
7. Fedora
Hi,
i'm currently part of an apprenticeship becoming a IT specialist.
Because I'm already an electronic technician (finished apprenticeship) I can do this one in 2 years (normally you need 3).
Thing is, in school they started out with basic unix stuff (working with the shell) in the first... (3 Replies)
Discussion started by: Dr. Nick
3 Replies
LEARN ABOUT DEBIAN
sys::statistics::linux::sockstats
Sys::Statistics::Linux::SockStats(3pm) User Contributed Perl Documentation Sys::Statistics::Linux::SockStats(3pm)
NAME
Sys::Statistics::Linux::SockStats - Collect linux socket statistics.
SYNOPSIS
use Sys::Statistics::Linux::SockStats;
my $lxs = Sys::Statistics::Linux::SockStats->new;
my $stat = $lxs->get;
DESCRIPTION
Sys::Statistics::Linux::SockStats gathers socket statistics from the virtual /proc filesystem (procfs).
For more information read the documentation of the front-end module Sys::Statistics::Linux.
SOCKET STATISTICS
Generated by /proc/net/sockstat.
used - Total number of used sockets.
tcp - Number of tcp sockets in use.
udp - Number of udp sockets in use.
raw - Number of raw sockets in use.
ipfrag - Number of ip fragments in use (only available by kernels > 2.2).
METHODS
new()
Call "new()" to create a new object.
my $lxs = Sys::Statistics::Linux::SockStats->new;
It's possible to set the path to the proc filesystem.
Sys::Statistics::Linux::SockStats->new(
files => {
# This is the default
path => '/proc',
sockstat => 'net/sockstat',
}
);
get()
Call "get()" to get the statistics. "get()" returns the statistics as a hash reference.
my $stat = $lxs->get;
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::SockStats(3pm)