LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags ,

Reply
 
Thread Tools
Old 09-04-2009, 03:57 PM   #1
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28
Thanked: 0
How to display memory


[Log in to get rid of this advertisement]
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.
linuxubuntu ler0nldb2 is offline  
Tag This Post ,
Reply With Quote
Old 09-04-2009, 05:09 PM   #2
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Gentoo Slackware
Posts: 488
Thanked: 23
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 10:02 PM.. Reason: fix typo
linuxdebian mrrangerman is offline     Reply With Quote
Thanked by:
Old 09-04-2009, 05:21 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 3,920
Thanked: 109
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.
linuxcentos lazlow is offline     Reply With Quote
Old 09-04-2009, 06:16 PM   #4
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,908
Thanked: 165
For the O/S release level use
Code:
lsb_release -a
Should work on most distros in future.
syg00 is offline     Reply With Quote
Thanked by:
Old 09-04-2009, 09:15 PM   #5
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28
Thanked: 0

Original Poster
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
linuxubuntu ler0nldb2 is offline     Reply With Quote
Old 09-04-2009, 09:17 PM   #6
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28
Thanked: 0

Original Poster
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
linuxubuntu ler0nldb2 is offline     Reply With Quote
Old 09-04-2009, 09:23 PM   #7
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28
Thanked: 0

Original Poster
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.
linuxubuntu ler0nldb2 is offline     Reply With Quote
Old 09-04-2009, 09:26 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 3,920
Thanked: 109
I think lspsi is a typo. Try lspci .
linuxcentos lazlow is offline     Reply With Quote
Thanked by:
Old 09-04-2009, 09:29 PM   #9
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,908
Thanked: 165
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
syg00 is offline     Reply With Quote
Old 09-04-2009, 09:33 PM   #10
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28
Thanked: 0

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

Thanks
linuxubuntu ler0nldb2 is offline     Reply With Quote
Old 09-04-2009, 09:41 PM   #11
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28
Thanked: 0

Original Poster
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...
linuxubuntu ler0nldb2 is offline     Reply With Quote
Old 09-04-2009, 09:50 PM   #12
ler0nldb2
LQ Newbie
 
Registered: Aug 2009
Posts: 28
Thanked: 0

Original Poster
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
linuxubuntu ler0nldb2 is offline     Reply With Quote
Old 09-04-2009, 09:56 PM   #13
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Gentoo Slackware
Posts: 488
Thanked: 23
Quote:
ler0nldb2

Everything works except lspsi.

Thank you so much
Sorry miss type, thats lspci
linuxdebian mrrangerman is offline     Reply With Quote
Old 09-04-2009, 10:04 PM   #14
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 9.04, fedora 11, slackware 12.2
Posts: 359
Thanked: 50
you should install lshw to work
Code:
apt-get install lshw
linuxubuntu mobinskariya is offline     Reply With Quote
Old 09-04-2009, 10:17 PM   #15
syg00
Guru
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 6,908
Thanked: 165
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.
syg00 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:23 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration