LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-12-2005, 01:16 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
tmpfs and swap memory basics


Hi I am using Debian Sarge Distribution. When I give the command:
Code:
df -h
Code:
I get the following output:
debian:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda7             7.5G  3.6G  3.6G  50% /
tmpfs                 443M     0  443M   0% /dev/shm
Also here is my fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda7       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda6       none            swap    sw              0       0
/dev/hdb        /media/cdrom0   iso9660 ro,user,noauto  0       0
I have 1 GB of Physical RAM on my system.

1)I would like to know that the 443M that it shows above(tmpfs), is that a part of RAM or hard drive space(dev/hda7) or part of my swap partition.
2)Also what are the advantages and disadvantages of having a Swap partition or not.
3)Also for what purpose in tmpfs required.

Can anyone answer the above questions or give some pointers where I can learn the basics of all these

Thank you in advance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap Memory xbill311x Linux - Newbie 2 04-11-2005 01:58 PM
top reports 99% memory used when using a tmpfs damonnew Linux - General 1 01-30-2005 01:51 AM
Swap being used before memory gone bmiley_ncaa Linux - Hardware 2 09-29-2004 03:53 PM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM
Swap Memory in use or not? Qebex Linux - Hardware 5 09-21-2002 07:59 AM


All times are GMT -5. The time now is 05:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration