12-30-2003
swap -s and swap -l gives swap space information
/usr/proc/bin/pmap -x PID gives information about the
memory usage of a process
- Finnbarr
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I need to put a program together to determine the total, available memory and total and available swap on unix machines. I have been searching for weeks and I seem to run into dead ends. Every unix platform I look at has a different way to determine memory info.
Any sugggestions or new... (4 Replies)
Discussion started by: ghe1
4 Replies
2. UNIX for Advanced & Expert Users
Hi,
I am facing an interesting aspect of find command...
to be clear, we are running a small web server with oracle 8i database and Oralce9iAS on Sun E250 with Solaris 2.6
Over a period of time, the free memory ( displayed in 'top' utility ) drops down.. we could relate this to dedicated... (6 Replies)
Discussion started by: shibz
6 Replies
3. UNIX for Dummies Questions & Answers
I'm interested in adding more swap space to my current workstation (Solaris 10). I currently have 2 hard drives installed, however the system was only created with 512MB for swap that resides on drive 1. This drive is already sliced up and all slices are being used.
The second drive has two... (3 Replies)
Discussion started by: here2learn
3 Replies
4. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
5. Solaris
Hi,
Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:-
1. Total Physical Memory in the system(total RAM).
2. Available Physical Memory(i.e. RAM Usage)
3. Total (Logical) Memory in the system
4. Available (Logical) Memory.
I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies
6. Solaris
Hi all,
Could please let me know how to get the more memory free space (not added the RAM) in local zone.
-bash-3.00# vmstat 2 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 s1 s1 in sy cs us sy... (3 Replies)
Discussion started by: murthy76
3 Replies
7. Red Hat
hi, I have done the below, but am confused as to how much memory is "free"
please help
thanks
$ free
total used free shared buffers cached
Mem: 132033488 48827536 83205952 0 1007696 45404632
-/+ buffers/cache: 2415208 ... (7 Replies)
Discussion started by: JamesByars
7 Replies
8. UNIX for Advanced & Expert Users
I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies
9. AIX
All,
AIX: 6.1 64 bits
How to find out Free memory available on AIX 6.1 64 bits
When I used :
svmon -G
size inuse free pin virtual mmode
memory 1048576 612109 191151 215969 549824 Ded-E
pg space 4325376 ... (1 Reply)
Discussion started by: a1_win
1 Replies
10. Solaris
I have a Solaris 10 VM that processes are seg faulting on (no space) and swap goes from 64GB to 151MB which triggers the seg fault. The free memory is 25GB when this occurs. I have adjusted the project to use all available ram. My question is why is swap being filled with 25GB remaining?
the... (10 Replies)
Discussion started by: thefroggy
10 Replies
LEARN ABOUT HPUX
swapmem_on
swapmem_on(5) OBSOLETE swapmem_on(5)
NAME
swapmem_on - OBSOLETE kernel tunable parameter
DESCRIPTION
The tunable is obsolete. Processes will always be allowed to use pseudo-swap space if it is available.
In previous versions of HP-UX, system configuration required sufficient physical swap space for the maximum possible number of processes on
the system. This is because HP-UX reserves swap space for a process when it is created, to ensure that a running process never needs to be
killed due to insufficient swap.
This was difficult, however, for systems needing gigabytes of swap space with gigabytes of physical memory, and those with workloads where
the entire load would always be in core. This tunable was created to allow system swap space to be less than core memory. To accomplish
this, a portion of physical memory is set aside as "pseudo-swap" space. While actual swap space is still available, processes still
reserve all the swap they will need at fork or execute time from the physical device or file system swap. Once this swap is completely
used, new processes do not reserve swap, and each page which would have been swapped to the physical device or file system is instead
locked in memory and counted as part of the pseudo-swap space.
WARNINGS
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
Tunable Kernel Parameters swapmem_on(5)