LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to display memory (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-display-memory-752738/)

ler0nldb2 09-04-2009 03:57 PM

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.

mrrangerman 09-04-2009 05:09 PM

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

lazlow 09-04-2009 05:21 PM

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.

syg00 09-04-2009 06:16 PM

For the O/S release level use
Code:

lsb_release -a
Should work on most distros in future.

ler0nldb2 09-04-2009 09:15 PM

Quote:

Originally Posted by lazlow (Post 3670165)
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

ler0nldb2 09-04-2009 09:17 PM

Quote:

Originally Posted by mrrangerman (Post 3670149)
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

ler0nldb2 09-04-2009 09:23 PM

Quote:

Originally Posted by syg00 (Post 3670227)
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.

lazlow 09-04-2009 09:26 PM

I think lspsi is a typo. Try lspci .

syg00 09-04-2009 09:29 PM

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


ler0nldb2 09-04-2009 09:33 PM

Quote:

Originally Posted by lazlow (Post 3670396)
I think lspsi is a typo. Try lspci .

lspci works!

Thanks

ler0nldb2 09-04-2009 09:41 PM

Quote:

Originally Posted by syg00 (Post 3670227)
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...

ler0nldb2 09-04-2009 09:50 PM

Quote:

Originally Posted by syg00 (Post 3670401)
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

mrrangerman 09-04-2009 09:56 PM

Quote:

ler0nldb2

Everything works except lspsi.

Thank you so much
Sorry miss type, thats lspci

mobinskariya 09-04-2009 10:04 PM

you should install lshw to work
Code:

apt-get install lshw

syg00 09-04-2009 10:17 PM

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.


All times are GMT -5. The time now is 08:10 PM.