10 More Discussions You Might Find Interesting
1. AIX
Hello guys,
I am doing a performance analysis on one of our psystem. Most of time I am using Nmon analyser to do my trend graph. But I can't find any help with it. We are interesting in the time spend by tasks in Aix run queue.
After looking the Aix documentation, I am pessimist to find any... (3 Replies)
Discussion started by: GiiGii
3 Replies
2. UNIX for Advanced & Expert Users
Hi Everybody,
Can anybody explain how CPU idle% is about 50%, but runq-sz more than 1?
sar from Solaris 10:
00:00:05 %usr %sys %wio %idle
17:00:08 27 12 0 61
17:20:05 40 15 0 45
17:40:05 27 12 0 61
18:00:05 23... (2 Replies)
Discussion started by: sant
2 Replies
3. AIX
AIX5.3:
Can you please let me know how to find out
What is the runqueue length
What are the processes in the runqueue
I would like to know the information on 5 min intervals. Please let me know if there is a command to do this. (2 Replies)
Discussion started by: ucbus
2 Replies
4. AIX
Hello All
I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) .
The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies
5. Shell Programming and Scripting
Hi all,
How to:
Run a bash script, display on the screen and save all information in a file including error information.
For example:
I have a bash script called test.sh
now I want to run the test.sh and display the output on the screen and save the output including error info to a file.
... (1 Reply)
Discussion started by: Damon sine
1 Replies
6. UNIX for Dummies Questions & Answers
Im using the vmstat command to display the CPU run queue, but i want to put that into a program so is there a way to just display the number under the r?
Thanks, (1 Reply)
Discussion started by: RAFC_99
1 Replies
7. HP-UX
Gurus,
Having a GS1280 box with OSF1 v5.1 installed (16 processors), the run queue value from the vmstat command reports a very high value (about 25 to 30). Does this reflect a CPU bound system. Note that the average CPU utilization is about 60 % which means that the CPU is not that loaded.
Can... (0 Replies)
Discussion started by: Negm
0 Replies
8. UNIX for Dummies Questions & Answers
Wondering if someone could help me out with the best way to collect all the mail that bounces and put the addresses in a file. Running an optin server and need to collect the bounces so we can remove them, using sendmail.
Thanks (2 Replies)
Discussion started by: kevin9
2 Replies
9. Shell Programming and Scripting
hi,
I am new to Unix and script writing so I was wondering if this would be possible and how I might do it. I've learned to write a basic script and the first step I need to do is to open a program (for genetic linkage). The program then requires me to enter a lot of information. Sort of line... (1 Reply)
Discussion started by: lianderthal
1 Replies
10. UNIX for Dummies Questions & Answers
We run the collect process like this:
collect -i60,120 -f /var/adm/collect.dated/collect -H d0:5,1w -W 1h -M 10,15
We run True 64 UNIX on a Compaq double processor. From time to time we have big troubles with our performance on our GIS-Application.
I checked the processes (ps -ef). The... (1 Reply)
Discussion started by: arn_ch
1 Replies
Sys::Statistics::Linux::ProcStats(3pm) User Contributed Perl Documentation Sys::Statistics::Linux::ProcStats(3pm)
NAME
Sys::Statistics::Linux::ProcStats - Collect linux process statistics.
SYNOPSIS
use Sys::Statistics::Linux::ProcStats;
my $lxs = Sys::Statistics::Linux::ProcStats->new;
$lxs->init;
sleep 1;
my $stat = $lxs->get;
Or
my $lxs = Sys::Statistics::Linux::ProcStats->new(initfile => $file);
$lxs->init;
my $stat = $lxs->get;
DESCRIPTION
Sys::Statistics::Linux::ProcStats gathers process statistics from the virtual /proc filesystem (procfs).
For more information read the documentation of the front-end module Sys::Statistics::Linux.
IMPORTANT
I renamed key "procs_blocked" to "blocked"!
LOAD AVERAGE STATISTICS
Generated by /proc/stat and /proc/loadavg.
new - Number of new processes that were produced per second.
runqueue - The number of currently executing kernel scheduling entities (processes, threads).
count - The number of kernel scheduling entities that currently exist on the system (processes, threads).
blocked - Number of processes blocked waiting for I/O to complete (Linux 2.5.45 onwards).
running - Number of processes in runnable state (Linux 2.5.45 onwards).
METHODS
new()
Call "new()" to create a new object.
my $lxs = Sys::Statistics::Linux::ProcStats->new;
Maybe you want to store/load the initial statistics to/from a file:
my $lxs = Sys::Statistics::Linux::ProcStats->new(initfile => '/tmp/procstats.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::ProcStats->new(
files => {
# This is the default
path => '/proc',
loadavg => 'loadavg',
stat => 'stat',
}
);
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()
Get raw values.
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::ProcStats(3pm)