Visit Our UNIX and Linux User Community


Regarding nmon and large pages


 
Thread Tools Search this Thread
Operating Systems AIX Regarding nmon and large pages
# 1  
Old 08-03-2016
Regarding nmon and large pages

Hi Members,

To check the large pages configuration in AIX, this is what we use:

"nmon" followed by "Enter Key" followed by "L" (without any double quotes)

Is there any way that we can achieve the same in a single command.

Regards,
Aditya
# 2  
Old 08-07-2016
Quote:
Originally Posted by adityar
"nmon" followed by "Enter Key" followed by "L" (without any double quotes)
Is there any way that we can achieve the same in a single command.
Yes: by reading the man page!

To quote from it: "-L" (without any double quotes) includes the large page analysis section.

I hope this helps.

bakunin
# 3  
Old 08-08-2016
Hi Bakunin,

If my post reflects that I did not look at man page or did not try the option that you mentioned before posting here, I apologize.

This is what I get after issuing the command:

nmon -L

testbox >> nmon -L
Code:
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│  ------------------------------                                                                                                                                      │
│  N    N  M    M   OOOO   N    N   For online help type: h                                                                                                            │
│  NN   N  MM  MM  O    O  NN   N   For command line option help:                                                                                                      │
│  N N  N  M MM M  O    O  N N  N      quick-hint  nmon -?                                                                                                             │
│  N  N N  M    M  O    O  N  N N    full-details  nmon -h                                                                                                             │
│  N   NN  M    M  O    O  N   NN   To start nmon the same way every time?                                                                                             │
│  N    N  M    M   OOOO   N    N    set NMON ksh variable, for example:                                                                                               │
│  ------------------------------    export NMON=cmt                                                                                                                   │
│    TOPAS_NMON

Regards,
Aditya

Last edited by bakunin; 08-08-2016 at 09:17 AM..
# 4  
Old 08-08-2016
First off, please use CODE-tags - not only for code but also for terminal output and file contents. I have edited them in for you and it makes readable output from the rubbish you had before. Thank you.

Quote:
Originally Posted by adityar
If my post reflects that I did not look at man page or did not try the option that you mentioned before posting here, I apologize.
Ok, point taken, sorry. But at any rate, why don't you describe your problem? This includes what you have already tried and how and why it failed (as far as you know).*)

Here some more vital things are missing: what is your OS? (Yes, AIX, but which version, which TL, which SP, ...) What is the user under which you do it (root or otherwise, if otherwise: are there any sudo-rules in place or something similar)? Are there ACLs in play?

One of the reasons NMON refuses to work properly is some library are not readable/eecutable by the user under which it runs, this is the background of these questions.

Finally: which version of NMON do you use? Maybe you have an old/not properly packaged/whatever version.

bakunin

_____________________
*) Corollary: when you visit the doctor, do you tell him "i am ill" or do you describe every symptom as exactly as possible so that he can diagnose your ailment?
This User Gave Thanks to bakunin For This Post:
# 5  
Old 08-12-2016
Hi,

the '-L' option is only valid in 'Recording mode'.

So the short answer: No, it is not possible to start directly the large page analysis in 'Interactive mode'.

But, if you have 'expect' installed there is a workaround:

Code:
alias nmonL='expect -c "spawn nmon; sleep 1; send \L; interact"'

Add these alias command to your .profile and run 'nmonL' - but that seems to be a little bit exaggerated Smilie

Regards
This User Gave Thanks to -=XrAy=- For This Post:
# 6  
Old 08-14-2016
Code:
vmstat -l


Previous Thread | Next Thread
Test Your Knowledge in Computers #536
Difficulty: Medium
The "null" keyword is only used to refer to uninitialized or missing data.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Can nmon be customized?

Hi, my name is Steve Ngai from Malaysia. This is my first post. Hope to learn more about Unix from this forum. My first question is can nmon be customized? When I run nmon, I need to manually type c to see CPU usage, then m for memory usage. Can I pass it some nmon option to automatically see... (2 Replies)
Discussion started by: ngaisteve1
2 Replies

2. AIX

Please Help With NMON Data

Hi guys, I am an Oracle DBA and I have an account with some databases on an AIX 5.3 server. I am trying to figure out if I really need to add memory to this box or not, the account team keeps pushing me to make a decision and I don't want to waste their money if I don't need to right now, we could... (4 Replies)
Discussion started by: nibbsbitt
4 Replies

3. AIX

NMON 12a Size of proc in 4k pages?

Hi running NMON 12a under AIX. Lately I get some out of mem errors from a java machine running "-xmx 1024" which means it can hold up to 1GB mem. Monitoring the process in NMON shows under TOP -> SIZE KB -> 250M I've found nothing in the documentation so I'd like to ask here if anyone... (2 Replies)
Discussion started by: Malapha
2 Replies

4. AIX

Help with nmon utility

We have processes that run on our AIX box that sometimes run away and end up consuming 99% of the CPU. I'd like to create a script that would attempt to monitor when this happens and send an email alert with the PID and CPU %. Has anyone done such a thing? I know that you can run the nmon output to... (6 Replies)
Discussion started by: ssmith001
6 Replies

5. AIX

Nmon tool

Hi All, I have a p550 server with 4 proc. But when i run nmon analyzer in cpu_sum it show 5 processors cpu0 cpu1 cpu2 cpu3 cpu4. Why it is showing 5 processors. (6 Replies)
Discussion started by: vjm
6 Replies

6. AIX

Nmon tool

How to analyze nmon output or is there any tool for analyzing. (2 Replies)
Discussion started by: vjm
2 Replies

7. AIX

Nmon

HI I´m new on this world. I´m working with nmon and I understand that this tool generates a files that later with excel I can see the graphcial of my server. The problem is that this process is execute manualy and I need to meake automatic. How can I do That. Sorry for my english!! :o (3 Replies)
Discussion started by: jegtoro
3 Replies

8. AIX

nmon

Can any one help where i can find articals about nomn I need to know how to read this tools ┌─CPU-Utilisation-Small-View───────────────────────────────────────────────────┐ │ 0----------25-----------50----------75----------100│ │CPU User% Sys% Wait% Idle%| ... (3 Replies)
Discussion started by: habuzahra
3 Replies

9. AIX

Another NMON

Anyone ever experienced a core dump when running NMON. I am running AIX 5.3 on an 8 CPU LPAR (P570). This has only recently started to happen. (3 Replies)
Discussion started by: johnf
3 Replies

Featured Tech Videos