LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2011, 10:16 AM   #1
jpfrenchy
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
Question what kind of pc i have?????


hello
what can I do to find out how many ram, size of hard drive, .....and so on, I have in my pc.
I'm new w/ Linux and what ever I know with window doesnot neceseray work.
Thank you
Jpfrenchy
 
Old 08-24-2011, 10:26 AM   #2
0men
Member
 
Registered: Mar 2011
Location: Brisbane
Distribution: Windows 10, Red Hat, Debian
Posts: 183

Rep: Reputation: 22
uname -a will give your hostname and kernel name

have a look at lspci

sudo /proc/meminfo
* will give you info about memory


I just smashed this as i have to go to class :S (night time classes !! arrgghhh !! )

But this will get you going if no-one else comments soon. Just do a quick google search! it will turn up heaps i just had a quick look

Have a good one.
 
1 members found this post helpful.
Old 08-24-2011, 10:45 AM   #3
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,620

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Hi,

try
Code:
sudo hwinfo
This will give you a huge amount of information about your pc, probably too much for a newbie. So here are some other commands that will also give you some info (not all) about your pc (run as root):
Code:
# info about your harddrives
fdisk -l

# info about installed hardware
lspci

# cpuinfo
cat /proc/cpuinfo

# meminfo
cat /proc/meminfo
# OR
free
 
2 members found this post helpful.
Old 08-24-2011, 06:16 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,150

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
df -h would be friendlier for hard disk sizes.
 
Old 08-24-2011, 07:49 PM   #5
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,620

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Quote:
Originally Posted by schneidz View Post
df -h would be friendlier for hard disk sizes.
This will report only mounted partitions and not the device itself.
 
1 members found this post helpful.
Old 08-24-2011, 09:41 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,412

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Other options may include lshw, lsusb and the contents of /var/log/boot.log, /var/log/dmesg.
also, please post output of
Code:
cat /etc/*release*
and add to your profile; it should tell you what distro & version you have.

HTH & Welcome to LQ

PS good tutorial
http://rute.2038bug.com/index.html.gz

Last edited by chrism01; 08-24-2011 at 09:42 PM.
 
Old 08-24-2011, 09:54 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,793
Blog Entries: 18

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
What distro are you using?

Debian comes with a "System Information" tool which as actually a program called "hardinfo." It will display the information in a way that someone used to Windows System-->Device manager will quickly become comfortable with.

Gnome has a Gnome Control Center which will give you a lot of that information, and KDE as a System Information application.

If you don't have hardinfo installed, you can likely find it in your repos if you have a system that uses repositories.

The HardInfo website appears to be broken right now. Here's a link to a blog post I wrote about it last year: http://www.geekazine.com/news/franks...mation-utility
 
Old 08-25-2011, 01:16 AM   #8
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,680
Blog Entries: 29

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Code:
sudo /usr/sbin/dmidecode
Code:
cat /etc/issue

Last edited by TheIndependentAquarius; 08-25-2011 at 01:18 AM.
 
1 members found this post helpful.
Old 08-25-2011, 06:38 AM   #9
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934Reputation: 934
Quote:
Originally Posted by frankbell View Post
What distro are you using?

Debian comes with a "System Information" tool which as actually a program called "hardinfo." It will display the information in a way that someone used to Windows System-->Device manager will quickly become comfortable with.

Gnome has a Gnome Control Center which will give you a lot of that information, and KDE as a System Information application.
hardinfo is hardinfo when you check the packages with debian, it just appears as 'system profiler and benchmark' in the menus. (I really wish that debian would fix that, hardinfo isnt a good benchmarker).

The KDE 'System Information application' is kinfocenter.

Quote:
Originally Posted by chrism01 View Post
Other options may include lshw
That covers the only tools I use commonly to get hardware info, lshw and hardinfo. I do use the others from time to time, but lshw gets by far the most use.

Quote:
Originally Posted by jpfrenchy View Post
what can I do to find out how many ram, size of hard drive, .....and so on, I have in my pc.
I'm new w/ Linux and what ever I know with window doesnot neceseray work.
You can find out a lot of that info from the BIOS as well. OS free hardware info.
 
Old 08-25-2011, 12:14 PM   #10
goossen
Member
 
Registered: May 2006
Location: Bayern, Germany
Distribution: Many
Posts: 224

Rep: Reputation: 41
Thumbs up

[QUOTE=Anisha Kaul;4452748]
Code:
sudo /usr/sbin/dmidecode
That's is one of the most (if not the most) complete command to get info about your hardware.
 
Old 08-25-2011, 09:57 PM   #11
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,793
Blog Entries: 18

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
Quote:
Originally Posted by cascade9 View Post
The KDE 'System Information application' is kinfocenter.
Thanks. I couldn't remember whether or not KDE had changed the name for v. 3.x.

I find kinfocenter provides far more thorough information than Gnome Control Center.
 
  


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
Need your kind help~ jcky Linux - Newbie 1 06-07-2011 10:09 AM
I'm kind of new yodahome LinuxQuestions.org Member Intro 3 03-20-2008 01:38 PM
WebMail Kind Of joelhop Linux - Software 4 12-29-2005 02:03 PM
kind of a programming quesion...kind of not tho jhorvath Programming 2 06-30-2003 11:05 PM
What kind of X? alitrix Slackware 6 06-13-2003 04:59 AM

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

All times are GMT -5. The time now is 05:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration