Sponsored Content
Operating Systems AIX Nmon max and avg for cpu and memory Post 302813463 by -=XrAy=- on Monday 27th of May 2013 10:55:57 AM
Old 05-27-2013
Okay,

before You start to investigate time in such a script, here are few hints:

1. Did You use dedicated or shared CPUs? If You use shared CPUs You need to maesure or count the real physical CPU usage (User, System, Wait an Idle are useless without that information)

2. A UNIX/AIX System will allways try to use all available Memory - at least for Filesystem Cache. So it depends on Your application which Values (memory "types" - FS Cache, Prcoess or System) are of interest - I would prefere to monitor any paging space activity or VMM Stats like scans and reclaims!


NMON stores his data in plain text, so it is "relatively simple" to parse this file.

Examle:
Code:
# grep "MEMNEW" output.nmon
MEMNEW,Memory New SERVER,Process%,FScache%,System%,Free%,Pinned%,User%
MEMNEW,T0001,31.6,44.5,23.3,0.5,33.9,66.5
MEMNEW,T0002,31.6,44.6,23.3,0.5,33.9,66.5
MEMNEW,T0003,31.5,44.5,23.3,0.7,33.9,66.3
MEMNEW,T0004,31.5,44.6,23.3,0.5,33.9,66.5
MEMNEW,T0005,31.5,44.6,23.3,0.6,33.9,66.4
MEMNEW,T0006,31.5,44.6,23.3,0.6,33.9,66.4
MEMNEW,T0007,31.5,44.6,23.3,0.6,33.9,66.4
MEMNEW,T0008,31.5,44.6,23.3,0.5,33.9,66.5
MEMNEW,T0009,31.5,44.6,23.3,0.6,33.9,66.4

T00xxxx are the Intervals.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

[help]FreeBSD could use how many cpu(x86) max?

As Subject. thanks. (3 Replies)
Discussion started by: beggar_hong
3 Replies

2. AIX

Memory usage statistic? (topas, nmon)

hi, how can i diplay: - the ammount RAM used /free - ammount of ram used from a pid or prozess we have the problem, that malloc is returing a NULL pointer errno = 12 ( not enough space). but i think there is still ram free. nmon : shows all memory used ? Memory Use Physical Virtual... (7 Replies)
Discussion started by: Lazzar
7 Replies

3. AIX

ulimits max locked memory virtual memory

Hi, Would any one be so kind to explain me : are ulimits defined for each user seperately ? When ? Specialy what is the impact of : max locked memory and virtual memory on performance of applications for a user. Many thanks. PS : this is what I can see in MAN : ulimit ] ... (5 Replies)
Discussion started by: big123456
5 Replies

4. AIX

%wait nmon CPU-UTILISATION

Hi, I collect statistics with nmon. I'm very suprised about % wait of processor. Number Of Processors: 4 Processor Clock Speed: 4204 MHz Do U have an idea about % wait ? │ 0----------25-----------50----------75----------100 ... (1 Reply)
Discussion started by: tagger
1 Replies

5. UNIX for Advanced & Expert Users

NMON Physical Averages display for multi CPU Server

We have some AIX Unix Servers with 4 or 6 CPU and when type this command “c” in nmon always displays each cpu % with Averages on buttom. However we have several Servers with 18 CPU's and it only shows 16 17 on main page. Does nmon have some command that would show remaining with totals for Physical... (3 Replies)
Discussion started by: groosha
3 Replies

6. Solaris

restrcit physical memory with zone.max-locked-memory

Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies

7. AIX

Problem with nmon, actual CPU usage per process

Hi all, I am currently having trouble to get nmon to print me the actual CPU usage for an interval for a process. According to the manual, something like # time nmon -t -C cron -s 5 -c 2 -F outfile real 0m0.98s user 0m0.03s sys 0m0.04s should print out at least the process... (15 Replies)
Discussion started by: zaxxon
15 Replies

8. Hardware

Max CPU temperature?

What is the max operating temperature for 'UltraSPARC IIIi 1 GHz' ? thanks. (1 Reply)
Discussion started by: orange47
1 Replies

9. Shell Programming and Scripting

Get the min avg and max with awk

aaa: 3 ms aaa: 2 ms aaa: 5 ms aaa: 10 ms .......... to get the 3 2 5 10 ...'s min avg and max something like min: 2 ms avg: 5 ms max: 10 ms (2 Replies)
Discussion started by: yanglei_fage
2 Replies

10. UNIX for Beginners Questions & Answers

How to count respon time max min avg for nginx logs?

Hi All, need your help, i want count respon time max and average my nginx logs, based on hourly or minutes per api... my nginx.log sample : 10.1.1.1 - - "POST /v2/api/find/outlet/ HTTP/1.1" 200 2667 "-" "okhttp/3.12.0" "118.215.153.47" 0.178 0.178 . 10.1.1.1 - - "POST... (4 Replies)
Discussion started by: fajar_3t3
4 Replies
Cache::Memory(3pm)					User Contributed Perl Documentation					Cache::Memory(3pm)

NAME
Cache::Memory - Memory based implementation of the Cache interface SYNOPSIS
use Cache::Memory; my $cache = Cache::Memory->new( namespace => 'MyNamespace', default_expires => '600 sec' ); See Cache for the usage synopsis. DESCRIPTION
The Cache::Memory class implements the Cache interface. This cache stores data on a per-process basis. This is the fastest of the cache implementations, but is memory intensive and data can not be shared between processes. It also does not persist after the process dies. However data will remain in the cache until cleared or it expires. The data will be shared between instances of the cache object, a cache object going out of scope will not destroy the data. CONSTRUCTOR
my $cache = Cache::Memory->new( %options ) The constructor takes cache properties as named arguments, for example: my $cache = Cache::Memory->new( namespace => 'MyNamespace', default_expires => '600 sec' ); See 'PROPERTIES' below and in the Cache documentation for a list of all available properties that can be set. METHODS
See 'Cache' for the API documentation. PROPERTIES
Cache::Memory adds the property 'namespace', which allows you to specify a different caching store area to use from the default. All methods will work ONLY on the namespace specified. my $ns = $c->namespace(); $c->set_namespace( $namespace ); For additional properties, see the 'Cache' documentation. SEE ALSO
Cache AUTHOR
Chris Leishman <chris@leishman.org> Based on work by DeWitt Clinton <dewitt@unto.net> COPYRIGHT
Copyright (C) 2003-2006 Chris Leishman. All Rights Reserved. This module is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either expressed or implied. This program is free software; you can redistribute or modify it under the same terms as Perl itself. $Id: Memory.pm,v 1.9 2006/01/31 15:23:58 caleishm Exp $ perl v5.12.4 2011-08-05 Cache::Memory(3pm)
All times are GMT -4. The time now is 02:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy