LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-04-2009, 02:57 PM   #1
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28

Rep: Reputation: 15
How to display memory


Hello,

I have been a Windows user until my Dell Vostro A90 arrived last Tuesday, loaded with Ubuntu 8.04.1. Everything works fine. I would like to display the memory size, my SSD capacity, and other hardware such as graphics card, wireless card, etc, just to see if everything are as ordered. Also, I would like to display the version of the Ubuntu on my Vostro. (I know it's 8.04.1 only because it comes with the pc.)

Thank you.
 
Old 09-04-2009, 04:09 PM   #2
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
open a terminal window and type

free for memory
df -h for HD info
lspci
lsusb
dmesg
uname -a kernel info

also take a look in /proc

Edit: Fixed typo

Last edited by mrrangerman; 09-04-2009 at 09:02 PM. Reason: fix typo
 
Old 09-04-2009, 04:21 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
There is a package called lshw (list hardware) for most distros. It will tell you LOTS of imformation about you system. Bios version, what memory is in what slot, and more.
 
Old 09-04-2009, 05:16 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
For the O/S release level use
Code:
lsb_release -a
Should work on most distros in future.
 
Old 09-04-2009, 08:15 PM   #5
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by lazlow View Post
There is a package called lshw (list hardware) for most distros. It will tell you LOTS of imformation about you system. Bios version, what memory is in what slot, and more.
As I learn more about Linux, I will try to download lswh and lspsi...

Thank you
 
Old 09-04-2009, 08:17 PM   #6
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mrrangerman View Post
open a terminal window and type

free for memory
df -h for HD info
lspsi
lsusb
dmesg
uname -a kernel info

also take a look in /proc
Everything works except lspsi.

Thank you so much
 
Old 09-04-2009, 08:23 PM   #7
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00 View Post
For the O/S release level use
Code:
lsb_release -a
Should work on most distros in future.
Yes, the command tells me I have 8.04.2 Hardy.

Thanks.
 
Old 09-04-2009, 08:26 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I think lspsi is a typo. Try lspci .
 
Old 09-04-2009, 08:29 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
No need to download anything (on Ubuntu) - couple of typos. Should be:
lspci
lshw

Best to pipe (the character above \ usually) through a pager program (such as less) so you can page back and forward through the info (use q to quit)
Code:
lspci | less
lshw | less
 
Old 09-04-2009, 08:33 PM   #10
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by lazlow View Post
I think lspsi is a typo. Try lspci .
lspci works!

Thanks
 
Old 09-04-2009, 08:41 PM   #11
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00 View Post
I always presume you have a verified B-A-C-K-U-P before taking any advice given.
I have read warnings that some may post malicious commands to destroy the file system. But did'nt know how to verify the backup. Could you elaborate the basic steps to do this. My pc is 3 days old... Thx. I don't have a usb cd-rom. Just plan to rely on my usb stick for backup. And I have not taken any backup. Right now, all my data is still on the other Windows pc. I thought I just explore Linux...
 
Old 09-04-2009, 08:50 PM   #12
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00 View Post
No need to download anything (on Ubuntu) - couple of typos. Should be:
lspci
lshw

Best to pipe (the character above \ usually) through a pager program (such as less) so you can page back and forward through the info (use q to quit)
Code:
lspci | less
lshw | less
Is my OS missing something?

ler0nudb2@ler0nudb2:~$ lshw
bash: lshw: command not found
 
Old 09-04-2009, 08:56 PM   #13
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
Quote:
ler0nldb2

Everything works except lspsi.

Thank you so much
Sorry miss type, thats lspci
 
Old 09-04-2009, 09:04 PM   #14
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
you should install lshw to work
Code:
apt-get install lshw
 
Old 09-04-2009, 09:17 PM   #15
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Sorry - my bad. Been too long since I used Hardy.
As for the backup, there are truckloads of options. dar has CRC checking, and should work with everything.
For the paranoid (read experienced) have a look at what dvdisaster offers.
 
  


Reply

Tags
display, hardware


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
Debian incorrect RAM Memory display Taz3 Debian 2 08-14-2009 08:14 PM
php memory footprint display frieza Linux - Server 1 10-07-2008 05:55 PM
Command to display amount of memory rust8y Linux - Newbie 4 05-20-2006 07:30 PM
Memory usage display problem swaroop.tata Linux - General 1 01-18-2006 01:38 PM
Invalid memory allocation display corrupted Andknig Linux - Newbie 2 04-27-2005 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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