LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-27-2007, 12:16 PM   #1
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Rep: Reputation: 30
Where is RAM listed?


In Fedora 8 which program do I use to see how much RAM I have?

I installed what I think is a 256MB stick next to an existing 256MB stick but I just want to be sure.
 
Old 11-27-2007, 12:22 PM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Code:
cat /proc/meminfo
 
Old 11-27-2007, 01:20 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can also use the command "free".
 
Old 11-27-2007, 03:31 PM   #4
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by reddazz View Post
You can also use the command "free".
Looks like I've only got 254236 kB

Which means the computer isn't even recognizing the other stick I put in. But it's not having any problem booting up like it did when I installed a brand new stick the other day, which turned out to be defective. The one I put in today came out of another computer and I know the stick is good.

I wonder what the deal is here.
 
Old 11-27-2007, 03:50 PM   #5
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by reddazz View Post
You can also use the command "free".
This is the output using the free command.

total used free shared buffers cached
Mem: 254236 250280 3956 0 652 47964
-/+ buffers/cache: 201664 52572
Swap: 524280 109272 415008
 
Old 11-27-2007, 04:03 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
use dmidecode or lshw to see how much memory the system sees, what type of memory it is and what slot it is installed in..

Code:
it-etch:~# lshw -C memory

  *-memory
       description: System Memory
       physical id: 1000
       slot: System board or motherboard
       size: 1GB
       capacity: 2GB
     *-bank:0
          description: DIMM DDR Synchronous 533 MHz (1.9 ns)
          product: KHU006-QIA
          vendor: 7F98000000000000
          physical id: 0
          serial: A036F583
          slot: DIMM_1
          size: 1GB
          width: 64 bits
          clock: 533MHz (1.9ns)
     *-bank:1
          description: DIMM DDR Synchronous 533 MHz (1.9 ns) [empty]
          vendor: FFFFFFFFFFFFFFFF
          physical id: 1
          serial: FFFFFFFF
          slot: DIMM_3
          width: 64 bits
          clock: 533MHz (1.9ns)
 
Old 11-27-2007, 04:48 PM   #7
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by farslayer View Post
use dmidecode or lshw to see how much memory the system sees, what type of memory it is and what slot it is installed in..
Are these programs part of the Fedora 8 Live CD installation or will I need to install them?
 
Old 11-28-2007, 07:02 AM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I don't know if they are on the live CD or not.. if they are not available you would need to install them.

Only one way to find out... try the commands
 
Old 11-28-2007, 03:08 PM   #9
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by farslayer View Post
use dmidecode or lshw to see how much memory the system sees, what type of memory it is and what slot it is installed in..
Ok, lshw wasn't installed on my system so I did

Code:
yum install lshw
It appeared to install, the last 2 lines of the readout in the terminal window being

Code:
Installed: lshw.i386 0:B.02.12.01-1.fc8
Complete!
But when I try to run it in the terminal window, I get 'command not found'.

What am I doing wrong?

I know it got installed because when I do 'whereis lshw', I get

lshw: /usr/sbin/lshw /usr/share/lshw /usr/share/man/man1/lshw.1.gz

And if I do 'man lshw', I get the man page.
 
Old 11-28-2007, 04:55 PM   #10
hacker supreme
Member
 
Registered: Oct 2006
Location: As far away from my username as possible
Distribution: Gentoo
Posts: 259
Blog Entries: 1

Rep: Reputation: 31
try (as root) /usr/sbin/lshw -C memory

IIRC, /usr/sbin isn't in the path.
 
Old 11-28-2007, 05:42 PM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You need to switch to root using "su -" or enter the full path of the command.
 
Old 11-29-2007, 07:08 AM   #12
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Yep, that did the trick. And I should have known enough to do that but I've forgotten a lot of stuff since the last time I used Linux (Red Hat 8.0)

Thanks for the help.
 
  


Reply



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
FC 6 - missing RAM - Intel S5000PSL Board - 16GB RAM meofcourse Linux - Hardware 11 12-20-2007 03:21 AM
RAM: Does linux require as much ram as Windows XP? hanzj Linux - Newbie 48 04-18-2007 12:14 AM
256 ram shows as 183284 total ram phreakshew Linux - Hardware 6 08-21-2006 02:37 PM
Listed partition in cfdisk, but not listed in /dev? Erik_the_Red Linux - Newbie 7 08-05-2005 11:44 PM
Win98SE Pentium166MMX/64MB RAM vs Linux AthlonXP+ 3000/512MB RAM : Lucent LT WinModem t3gah Linux - Software 2 04-22-2005 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration