05-01-2016
Whats wrong with that?
The real question is "am I swapping??"
lsps - a will give you that information...
It leaves you to find out what the resource is used for... On system like AIX unused RAM is something intolerable so you leave it for a certatin time and the system will happily find some use like filesystem cache etc... and of course should be able to give that resource back if claimed by an application.. or new process....
10 More Discussions You Might Find Interesting
1. AIX
All,
The (fre) coloumn of the (vmstat) command, does it report the size of the free list including the swap space or it only report on the RAM (physical memory).
BR, (1 Reply)
Discussion started by: Negm
1 Replies
2. AIX
Hi all
I need command to give me the utilization for memory and cpu,and how can I know if the utilization ok or no?
for example in hp unix #top
it is give me utilize for cpu and memory and also I can know if utilize ok or no.
thanks (2 Replies)
Discussion started by: magasem
2 Replies
3. HP-UX
Hi,
Please let me know what are all the reasons in increase in the Memory utilisation of ux servers, and the solutions to face those issues caused by the memory utilisation (memeory Likage)?
Thanks in Advance!
regards,
kishan (2 Replies)
Discussion started by: kishan
2 Replies
4. UNIX for Dummies Questions & Answers
hi guys
I just want to know how to get the cpu/memory utilization of a running script?
Well i know that I can use the sar command but it shows the whole system's statistics.
Is it possible to get the stats of a single scirpt or a single running service? (6 Replies)
Discussion started by: khestoi
6 Replies
5. Shell Programming and Scripting
Hi,
Is it possible to obtain physical memory and swap memory available in HP-UX server.
I tried using "top" command but i'm not able to grep the memory part exclusively...
Thanks.... (4 Replies)
Discussion started by: EmbedUX
4 Replies
6. AIX
Hi friends
i have a query.
we have two p-series machine(p550 & p570) with HACMP 5.3 and AIX 5.3 hosting SAP.
Now i need to now is there a way or a command to check the memory utilization on these machines on daily basis. I have tried vmstat and iostat but still it's not clear.
We have... (3 Replies)
Discussion started by: nathandrake13
3 Replies
7. HP-UX
command for checking memory utilization in HP -UX (2 Replies)
Discussion started by: tushar_spatil
2 Replies
8. Solaris
dear all,
kindly i want to check my server memory utilization i used alot of commands but i want to make sure that it is acurate let me explain
i have a server which has 32GB RAM
Total Memory = 33423360 kb
Free Memory = 4172568 kb
Utilized Memory = 29250792 kb
Memory Utilization... (2 Replies)
Discussion started by: maxim42
2 Replies
9. Solaris
Hi Experts,
Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing.
Why memory utilization on solaris always looks high?
I have statement about memory on solaris, is this true:
Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
10. Red Hat
Hi,
i am new to linux/RHEL 6.0 and i have two questions.
1) How to get the CPU utilization and Memory Utilization of all Services running currently?
2) How to get the CPU utilization and Memory Utilization of all Applications running currently?
Please help me to find the script.
... (2 Replies)
Discussion started by: nossam
2 Replies
LEARN ABOUT OPENDARWIN
shmget
SHMGET(2) BSD System Calls Manual SHMGET(2)
NAME
shmget -- get shared memory area identifier
SYNOPSIS
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
int
shmget(key_t key, int size, int shmflg);
DESCRIPTION
shmget() returns the shared memory identifier associated with the key key.
A shared memory segment is created if either key is equal to IPC_PRIVATE, or key does not have a shared memory segment identifier associated
with it, and the IPC_CREAT bit is set in shmflg.
If a new shared memory segment is created, the data structure associated with it (the shmid_ds structure, see shmctl(2)) is initialized as
follows:
o shm_perm.cuid and shm_perm.uid are set to the effective uid of the calling process.
o shm_perm.gid and shm_perm.cgid are set to the effective gid of the calling process.
o shm_perm.mode is set to the lower 9 bits of shmflg.
o shm_lpid, shm_nattch, shm_atime, and shm_dtime are set to 0
o shm_ctime is set to the current time.
o shm_segsz is set to the value of size.
RETURN VALUES
Upon successful completion a positive shared memory segment identifier is returned. Otherwise, -1 is returned and the global variable errno
is set to indicate the error.
ERRORS
[EACESS] A shared memory segment is already associated with key and the caller has no permission to access it.
[EEXIST] Both IPC_CREAT and IPC_EXCL are set in shmflg, and a shared memory segment is already associated with key.
[ENOSPC] A new shared memory indentifier could not be created because the system limit for the number of shared memory identifiers
has been reached.
[ENOENT] IPC_CREAT was not set in shmflg and no shared memory segment associated with key was found.
[ENOMEM] There is not enough memory left to created a shared memory segment of the requested size.
SEE ALSO
shmctl(2), shmat(2), shmdt(2)
BSD
August 17, 1995 BSD