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

Who ever 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 don’t even require any sign-in, good thing is that it can accept your lovely nick name also and URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")
వీలయితే నాల్గు పోస్టులు ...కుదురితే ఒక కామెంటూ ...

Translate

Enter your email address:

Buffs ...

Visitors


hits counter
View My StatsCheck Google Page Rank

Add to Google Reader or Homepage

Bookmark and Share

Tags


Powered by WidgetsForFree

Archives