You may use the top command in this case. Use top to get a snapshot of the processes along with the memory consumption.
This redirects the output to top.out file with max. 10000 process listing (hopefully that's enough for you) and it does this for only one iteration.
Now you have to sort the result for RES and SIZE columns. SIZE gives you the total virtual memory consumed by a process in KB. RES gives is equivalent to the real memory consumption of a process in KB. So, if you deduct RES from SIZE for every process and then add them all, you should get closer to the least amount of swap memory needed for running the processes.
By the way, as you may be aware of, increasing the swap memory does not actually increase the performance for long. You may need to invest in more RAM.
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)
Could someone please explain how you know how much swap space you have on your system. See below:
# swap -s
total: 8225048k bytes allocated + 4863488k reserved = 13088536k used, 4008032k available
# swap -l
swapfile dev swaplo blocks free
/dev/dsk/c3t0d0s1 32,25 16... (2 Replies)
HI All,
Recently during oracle install I realized that I did not have enough swap space.
So I -
1. Created a swap file "swap_fille1" in /rpool using mkfile -
# ls -ltr /rpool
total 10487121
drwxr-xr-x 3 root root 3 Dec 21 12:09 boot
drwxr-xr-x 2 root root ... (10 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,
i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :-
1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024
1057 ls -l /root/myswapfile
1058 chmod 600 /root/myswapfile
1059 mkswap /root/myswapfile
1060 swapon /root/myswapfile
... (1 Reply)
I have Solaris-10 with mutiple zones running in it. My Big Brother monitoring is complaining for very less swap space available, but I am not able to find, what process has consumed its swap space and how to clear it. All zones including global server have almost blank /tmp with very less data.... (3 Replies)