LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-04-2002, 08:04 AM   #1
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Rep: Reputation: 30
/dev/shm


when i type df the output is

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda5 1889568 1719604 73980 96% /
none 79232 0 79232 0% /dev/shm
/dev/hda1 2092328 1232100 860228 59% /mnt/hda1


what is /dev/shm here?
 
Old 06-04-2002, 10:12 AM   #2
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
I have no idea, but since it is mounted automatically look through /etc/fstab and that might give you a clue on what /dev/shm might be...

Hope that helps

-NSKL
 
Old 06-04-2002, 10:35 AM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
This is your swap
 
Old 06-05-2002, 01:18 AM   #4
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Original Poster
Rep: Reputation: 30
here is my /etc/fstab

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda6 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/hda1 /mnt/hda1 auto noauto,users 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0


and there is a seperate entry for swap partition. more over simply invoking df will not show swap partion
 
Old 06-05-2002, 03:21 AM   #5
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
shm is your shared memory system, nothing to do with swap. Shared memory, shared messages and semaphores are part of IPC, interprocess communications, which allows different programs within UNIX/Linux to talk to each other, pass data or just signal each other. Do a google search on "Interprocess communications" for more indepth descriptions on IPC. -mk
 
Old 06-05-2002, 03:45 AM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Re: /dev/shm

Quote:
Originally posted by sakeeb
when i type df the output is

Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda5 1889568 1719604 73980 96% /
none 79232 0 79232 0% /dev/shm
/dev/hda1 2092328 1232100 860228 59% /mnt/hda1


what is /dev/shm here?
You're running very low on free space on your root ( /dev/hda5 ) partition.
 
Old 06-05-2002, 04:26 AM   #7
sakeeb
Member
 
Registered: Apr 2002
Posts: 270

Original Poster
Rep: Reputation: 30
i have only 4 gb harddisk and 2 gb devoted to windows
i am satisfied with it

thanks for having a look at this thread and giving valuable informations.
 
Old 06-05-2002, 05:17 AM   #8
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
hm I always wondered what that shm is, but never botherd enough to try to find out

but why it alsways 0 used?
 
Old 06-05-2002, 05:29 AM   #9
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Quote:
Originally posted by sakeeb
i have only 4 gb harddisk and 2 gb devoted to windows
i am satisfied with it

thanks for having a look at this thread and giving valuable informations.
If you run too low, you won't be able to start X window. You need to see what files that you don't need anymore and then delete them.
 
Old 06-05-2002, 06:03 AM   #10
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
To get a true indication of what IPC is using, type in the command:

ipcs -a

I think the reason why it states 0 is due to it not really being a filesystem. Just running the kernel and whatever starts up upon boot uses shared memory, shared messages and semaphores. -mk
 
  


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
What is : /dev/shm PionexUser Linux - Newbie 4 03-14-2006 07:48 AM
/dev/shm? icecube Linux - Hardware 3 03-14-2006 07:34 AM
What is /dev/pts, /dev/shm? mrpc_cambodia Red Hat 1 10-18-2004 03:27 AM
what is /dev/shm? chem1 Linux - Hardware 13 05-31-2004 02:52 PM
What's the /dev/shm? antz1981cn Linux - Hardware 2 12-30-2002 01:55 PM


All times are GMT -5. The time now is 11:58 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