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 spend it elsewhere that need it more.
Don't think I haven't bothered to look up stuff and read, I have been a lot. I started an nmon cron report 24 hours ago, then I downloaded the Nmon Analyzer for Excel, what it does is takes the nmon report and convert it into easy to read graphs. Attached to this post is an excel sheet with 3 sheets, one for MEM, MEMNEW, and MEMUSE. I have read up on paging, the free list, virtual vs. physical, but I just haven't been able to fully comprehend all the facets of it. Can one of you who is good with AIX just take a quick peak at this spreadsheet and give me your opinion? I would appreciate your advice much. Thanks.
good morning
what is the better solution to examen a P570 ?
because i use topas and nmon, and the results are totally different !!!
with nmon, i have 80% free cpu, and with nmon, i have 90% of used cpu !!!!!!
i take a shot with an intervall of 10s during 10 mn.
thank you (0 Replies)
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)
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)
HI Im new on this world.
Im 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)
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)
Hi guys,
as per subject i am setting up NMON for the above OS but it is 64-bit Linux.
I downloaded the 32-bit NMON for RHEL45 as it is the only one available for RHEL45.
However, I ran into problem with the binary file.
# ./nmon_x86_rhel45
./nmon_x86_rhel45: error while loading shared... (13 Replies)
Hi All,
First of all, I am a DBA and not an AIX admin. I am new at using this NMON tool.
In interactive mode, I can start nmon, push 't' to have the list of process with their statistic (ie cpu% etc.).
I would like to know if there is a way to redirect that screen output into a log... (1 Reply)
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)
Dear All,
I am an performance tester. Now i am working in project where we are using linux 2.6.32. Now I got an oppurtunity to learn the monitoring the server. As part of this task i need to do analysis of the Nmon report. I was completely blank in this.
So please suggest me how to start... (0 Replies)
Discussion started by: iamsengu
0 Replies
LEARN ABOUT REDHAT
madvise
MADVISE(2) Linux Programmer's Manual MADVISE(2)NAME
madvise - give advice about use of memory
SYNOPSIS
#include <sys/mman.h>
int madvise(void *start, size_t length, int advice);
DESCRIPTION
The madvise system call advises the kernel about how to handle paging input/output in the address range beginning at address start and with
size length bytes. It allows an application to tell the kernel how it expects to use some mapped or shared memory areas, so that the kernel
can choose appropriate read-ahead and caching techniques. This call does not influence the semantics of the application (except in the
case of MADV_DONTNEED), but may influence its performance. The kernel is free to ignore the advice.
The advice is indicated in the advice parameter which can be
MADV_NORMAL
No special treatment. This is the default.
MADV_RANDOM
Expect page references in random order. (Hence, read ahead may be less useful than normally.)
MADV_SEQUENTIAL
Expect page references in sequential order. (Hence, pages in the given range can be aggressively read ahead, and may be freed soon
after they are accessed.)
MADV_WILLNEED
Expect access in the near future. (Hence, it might be a good idea to read some pages ahead.)
MADV_DONTNEED
Do not expect access in the near future. (For the time being, the application is finished with the given range, so the kernel can
free resources associated with it.) Subsequent accesses of pages in this range will succeed, but will result either in re-loading
of the memory contents from the underlying mapped file (see mmap) or zero-fill-on-demand pages for mappings without an underlying
file.
RETURN VALUE
On success madvise returns zero. On error, it returns -1 and errno is set appropiately.
ERRORS
EINVAL the value len is negative, start is not page-aligned, advice is not a valid value, or the application is attempting to release
locked or shared pages (with MADV_DONTNEED).
ENOMEM addresses in the specified range are not currently mapped, or are outside the address space of the process.
ENOMEM (for MADV_WILLNEED) Not enough memory - paging in failed.
EIO (for MADV_WILLNEED) Paging in this area would exceed the process's maximum resident set size.
EBADF the map exists, but the area maps something that isn't a file.
EAGAIN a kernel resource was temporarily unavailable.
LINUX NOTES
The current Linux implementation (2.4.0) views this system call more as a command than as advice and hence may return an error when it can-
not do what it usually would do in response to this advice. (See the ERRORS description above.) This is nonstandard behaviour.
The Linux implementation requires that the address start be page-aligned, and allows length to be zero. If there are some parts of the
specified address range that are not mapped, the Linux version of madvise ignores them and applies the call to the rest (but returns ENOMEM
from the system call, as it should).
HISTORY
The madvise function first appeared in 4.4BSD.
CONFORMING TO
POSIX.1b (POSIX.4). POSIX 1003.1-2001 describes posix_madvise with constants POSIX_MADV_NORMAL, etc., with a behaviour close to that
described here. There is a similar posix_fadvise for file access.
SEE ALSO getrlimit(2), mmap(2), mincore(2), mprotect(2), msync(2), munmap(2)Linux 2.4.5 2001-06-10 MADVISE(2)