Sponsored Content
Full Discussion: Pin Memory Statistics
Operating Systems AIX Pin Memory Statistics Post 302352385 by bakunin on Friday 11th of September 2009 07:08:03 AM
Old 09-11-2009
Quote:
Originally Posted by GarciasMuffin
We have an issue on our lpar where the pin memory usage slowly and regularly increases approx 1.5% a day until it reaches its 80% threshold
It is obvious you have an application with a memory leak. Complain with the softwares makers, whoever it may be. This is not acceptable.

Quote:
Originally Posted by GarciasMuffin
We have to regularly reboot the lpars to release the pin memory as we have found that killing all processes does not release it.
Have a look at "ipcrm" and "ipcs" ("man ipcrm", "man ipcs"), it is probably not necessary to reboot the system.

Quote:
Originally Posted by GarciasMuffin
I have monitored any constantly running processes that increase in memory usage with time by monitoring the output of ps vg.
Good try. Maybe "ps -Alo pid,comm,vsz" will serve you better in this case. Sort the output for column 3 to get the top memory users.

Quote:
Originally Posted by GarciasMuffin
Is monitoring svmon -P going to help me find the cause of this issue and if so, monitoring which figure in following example of a process when running svmon -P, will show me the process is increasing in pinned memory usage to cause the increase we are seeing. I know the obvious answer would be 'the one that says pin above it' but there are three of them in the example.
The 3 distinct statistics shown by "svmon -P" are just different views of the matter. Use the number in the first part, it is for your purposes as good as the others. The first part is the overview, the second part shows the utilization of the different memory page sizes and the last part is a detailed list of memory statistics for the process' inner workings. You won't need that just to identify a memory hog.

I hope this helps.

bakunin
 

7 More Discussions You Might Find Interesting

1. Programming

How to set the DSR pin using a C Code

Hi, I am a newbie using linux. I want to use the 9 pins of the COM port for data transmission. I am trying to write a code to toggle the DTR pin in /dev/ttyS0. Can any one help by giving a sample code or links that will help me pick up fast Regards (2 Replies)
Discussion started by: Srikanthks_2000
2 Replies

2. Shell Programming and Scripting

how to pin files to /tmp

Hi all, Am currently working on editing a startup script that need me to copy a certain file from cdrom to /tmp (its a live cd am working on)and mount if from there to certain place.. Now i know that nothing can be stored in /tmp permanently ,however mechanism to load the file to /tmp on... (19 Replies)
Discussion started by: wrapster
19 Replies

3. UNIX Desktop Questions & Answers

Pin to desktop

Hello everybody! I need some help. Is there a way to pin a window to the desktop in Linux? I have a list of tasks in Calc. And I want the window of Calc to be always before my eyes, so that it sort of reminds me of my tasks. The window must be «stuck» to the desktop, and when I click the... (0 Replies)
Discussion started by: alex777
0 Replies

4. Programming

Need pin generation code

Hi Can any one tell me from where can i get the code/library(c/c++(Sun)) for PIN generation. Actually i need to generate a new PIN for the user in case sombody reset his PIN. Thanks in Advance. (1 Reply)
Discussion started by: unisuraj
1 Replies

5. Solaris

Sun MC, Display memory Statistics Graph

Hi, I can't seem to get Graphs using Report Manager for Memory and Hard Disk. Only CPU is working fine. Following are some screen shots: - Sun Management Center 4.0 http://img689.imageshack.us/img689/7555/smcu.jpg - Performance Report http://img25.imageshack.us/img25/3015/reportdo.jpg By... (2 Replies)
Discussion started by: Mack1982
2 Replies

6. UNIX for Dummies Questions & Answers

CPU and Memory Statistics Collection Across Many Servers

Hello geeks once again, many thanks for help in times past, you guys are awesome! But am here again, but now this is way heavy for me. Find below for my challenge: *** I need to collect CPU & RAM stats across 26 servers. *** I don't have the luxury of deploying an NMS, if I had it would... (3 Replies)
Discussion started by: infinitydon
3 Replies

7. Shell Programming and Scripting

Pin code counter

hello i wanted to see if anyone can analyze the following code and see where the error lies. it is supposed to echo the current date and start counting from 0000-9999 and show the approximate range that it is at. here is a pic of what the output should look like:... (3 Replies)
Discussion started by: Kooftness
3 Replies
IPCRM(8)						     Linux Programmer's Manual							  IPCRM(8)

NAME
ipcrm - remove a message queue, semaphore set or shared memory id SYNOPSIS
ipcrm [ -M key | -m id | -Q key | -q id | -S key | -s id ] ... deprecated usage ipcrm [ shm | msg | sem ] id ... DESCRIPTION
ipcrm removes System V interprocess communication (IPC) objects and associated data structures from the system. In order to delete such objects, you must be superuser, or the creator or owner of the object. System V IPC objects are of three types: shared memory, message queues, and semaphores. Deletion of a message queue or semaphore object is immediate (regardless of whether any process still holds an IPC identifier for the object). A shared memory object is only removed after all currently attached processes have detached (shmdt(2)) the object from their virtual address space. Two syntax styles are supported. The old Linux historical syntax specifies a three letter keyword indicating which class of object is to be deleted, followed by one or more IPC identifiers for objects of this type. The SUS-compliant syntax allows the specification of zero or more objects of all three types in a single command line, with objects speci- fied either by key or by identifier. (See below.) Both keys and identifiers may be specified in decimal, hexadecimal (specified with an initial '0x' or '0X'), or octal (specified with an initial '0'). OPTIONS
-M shmkey removes the shared memory segment created with shmkey after the last detach is performed. -m shmid removes the shared memory segment identified by shmid after the last detach is performed. -Q msgkey removes the message queue created with msgkey. -q msgid removes the message queue identified by msgid. -S semkey removes the semaphore created with semkey. -s semid removes the semaphore identified by semid. The details of the removes are described in msgctl(2), shmctl(2), and semctl(2). The identifiers and keys may be found by using ipcs(8). NOTES
In its first Linux implementation, ipcrm used the deprecated syntax shown in the SYNOPSIS. Functionality present in other *nix implementa- tions of ipcrm has since been added, namely the ability to delete resources by key (not just identifier), and to respect the same command- line syntax. For backward compatibility the previous syntax is still supported. SEE ALSO
ipcs(8), msgctl(2), msgget(2), semctl(2), semget(2), shmctl(2), shmdt(2), shmget(2), ftok(3) ipcrm last change: 19 March 2002 IPCRM(8)
All times are GMT -4. The time now is 02:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy