07-02-2008
Statistics Aix
Thanks for your replys.
I think Im going to check the nmon utility.
greetings
8 More Discussions You Might Find Interesting
1. Programming
i am currently using c functions such as getprocs and statsfs to obtain process information and filesystem information on machines running aix 4.3.3.0. (soon to be running aix5.1) is there a function available to access information similar to the information provided by a vmstat command? i also... (1 Reply)
Discussion started by: briansmith40
1 Replies
2. Programming
I'm trying to write a C program to view server statistics such as:
- server general information
- CPU usage
- memory usage
- running processes
Cany anybody gives me hints on those system calls ??
ps: I'm using Tru64 unix (6 Replies)
Discussion started by: Agent007
6 Replies
3. Shell Programming and Scripting
I have a file which contains records in the format of
2006-08-25 12:06:13|ABC|93
2006-08-25 12:45:55|ABC|203
2006-08-25 01:48:19|DEF|156
2006-08-25 01:49:09|ABC|12798
2006-08-25 02:49:59|GHL|4109
2006-08-25 03:50:50|DEF|234
where the format is "arrive time"|"message type"|"processing... (3 Replies)
Discussion started by: mpang_
3 Replies
4. UNIX for Dummies Questions & Answers
Is there any command in Unix (HP-UX) which will give me the file statistics ..
e.g
I have a file called r001
if I created that file on 2nd of aug 2005 and till now I changed that file contents 10 times. So how will I get the history statistic(time & date) of file modification. (1 Reply)
Discussion started by: zing_foru
1 Replies
5. Solaris
Hello
What commands can give following type of information about the server:
Time: 20080331.12:10:39
Current CPU: 97.0%
Current Memory: 3.7%
Current Disk Space: 76%
The resources on server is currently not available.
Current CPU, Memory, or Disk Space is exceeding threshold
Waiting for... (2 Replies)
Discussion started by: shalua
2 Replies
6. Shell Programming and Scripting
Hi,
I have 3 columns in a file listed below.
X Y X/(X+Y)
1 1 0.5
1 1 0.5
4 1 0.8
1 1 0.5
6 1 0.857142857
1 1 0.5
23 1 0.958333333
Now I want to find confidence interval using the formula for each row.
(p-2 sqrt p(1-p)/(x+y), p+2... (7 Replies)
Discussion started by: Diya123
7 Replies
7. Solaris
Hi,
Can anyone help me to explain following statistics of my unix box.
/usr/sbin/swap -l
swapfile dev swaplo blocks free
/dev/dsk/c4 118,771 16 33560432 33319776
/dev/dsk/c4 118,763 16 33560432 33327184
/usr/sbin/swap -s
total: 13429368k bytes allocated + 9830880k reserved =... (9 Replies)
Discussion started by: giteshtrivedi
9 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Can someone advise what "generic" command can I use to show statistics of a process or a running script/process?
For example, I want to know how many hours/minutes it's taken to run or has been running, how much CPU it used and how much memory it used or uses.
I want to be able to... (2 Replies)
Discussion started by: newbie_01
2 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)