How to increase /tmp size in solaris ?

How to increase /tmp size in Solaris ?


You can Increase the tmp space by adding a new and big swap file. 

To add a swap file, follow these instructions:

Syntax: mkfile sizeoffile // => it creates a swap file
Ex:
   bash-2.05#mkfile 1500m /opt/myswapfile

Syntax: swap -a /path/file => adds the swap file
Ex:
 bash-2.05#swap -a /opt/myswapfile

To view the added swap file:
Ex: 
 swap -l => view added swap file

Note : 
bash-2.05# which mkfile
/usr/sbin/mkfile

bash-2.05# which swap
/usr/sbin/swap




1 comments to "How to increase /tmp size in solaris ?"

Post a Comment

Whoever writes Inappropriate/Vulgar comments to context, generally want to be anonymous …So I hope U r not the one like that?
For lazy logs, u can at least use Name/URL option which doesn’t even require any sign-in, The good thing is that it can accept your lovely nick name also and the URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")

Popular Posts

Enter your email address:

Buffs ...

Tags


Powered by WidgetsForFree

Archives