Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.
[root@smm ~]# grep -i swaptotal /proc/meminfo
SwapTotal:           0 kB

[root@smm ~]# grep "model name" /proc/cpuinfo
model name      : Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz
model name      : Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz
model name      : Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz
model name      : Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz
model name      : Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz
model name      : Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz
model name      : Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz
model name      : Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz

[root@smm ~]# df -k /dev/shm
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                 16639508         0  16639508   0% /dev/shm

[root@smm ~]# df -k /tmp
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/cciss/c0d0p2     10154020   9990680         0 100% /

Question goes like thiss...

How to increase the swap space i.e. upto 24GB... And how to increase disk space /tmp... we installed the fresh centOS linux and it is giving suchh output.. Please let me know on thiss...

share|improve this question
2  
24GB is an insane amount of swap... –  Antoine Benkemoun Jun 4 '10 at 10:49
add comment

2 Answers

I didn't understand well what you have to do. To check swap:

#swapon -s

#cat /proc/meminfo | grep -i swap

To add a file or partition just use swapon(8)

PS: I forgot...to create a swap file or partition use mkswap(8)

share|improve this answer
add comment

Can you show

df -h

Also do you have free space on the disks?

share|improve this answer
    
and are you using LVM? –  egorgry Jun 4 '10 at 15:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.