Also with TOP command and sorted on Swap i got the below output
The first two entries itself will add up above 6GB
The virtual addresses add up to about 6 GB. The resident memory is about 2 GB.
If a program allocates a 5 GB array its virtual address space utilization instantly increases by 5 GB because addresses must be assigned to all 5 GB. But the OS is not stupid enough to instantly dedicate 5GB of physical memory to that array. As the program actually uses the array the OS will allocate memory page by page.
And think about a program like vim. It's a huge program with many features but most of us don't use them all. As we use features in vim, if the code is already in core, fine. Otherwise a page fault is generated and a page is read in. vim page-faults just enough stuff into core to do what we want. The rest stays on disk.
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)
Hi
Can any help me on setting the swap memory ? I would like to set swap memory for installing oracle 9i software.
RAM - 512 Mb
HDD - 40 Gb
OS - Sun Solaris 5.9 (6 Replies)
Hi,
When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2):... (2 Replies)
Hi,
When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046
exec(2): insufficient swap or memory available.
exec(2): insufficient swap or memory available.
exec(2): insufficient swap... (3 Replies)
Hi,
I want to see used swap memory
I know that for this there is command free -m
but this shows Swap: 16383 4529 11854
by top command
while load is 1.05
max CPU % 24 mysqld
why used swap shows 4529
either it is not flushed
there is other command... (2 Replies)
:wall:I'm having a bit of a problem with Solaris 10u8 and one of our applications requesting memory and being told, "no space left".
The break down:
24GB Physical Memory
8GB swap
at the time of occurance, here's what a memory breakdown looks like:
Page Summary Pages ... (21 Replies)
hi guys
the monitoring team is using a tool for monitoring linux boxes and they set an alarm for swap memory to 10%(critical) I really has no idea when swap memory usage is high....
Can someone recommend me a threshold for this? when is warning or critical and this parameters can affect... (3 Replies)
here is the output of swapinfo command
==> swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192000 0 8184000 0% 0 - 1 /dev/vg00/swap
reserve - 8184000 -8184000
memory ... (5 Replies)
Hi team,
Is there any ability to force the system to use the swap memory for a specific service? And prevent another service of using the swap memory?
Thanks (2 Replies)
Admins,
How can I configure the server so that it will utilize the swap file as little as possible? Please correct me if I'm wrong, I would say change the value of sysctl - vm.swappiness? And if, how can I keep it permenatly even after rebooting the system? since no related parameters in... (7 Replies)