LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-02-2004, 02:04 PM   #1
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Rep: Reputation: 30
Question command for viewing hardware stats


Hey,


I want to know if there is a command to view hardware stats on my pc. I want to see things like RAM, processor speed and so on. If there is a gui device then that is cool too.

Thanks for the help

Later
 
Old 03-02-2004, 02:17 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
cat /proc/cpuinfo and cat /proc/meminfo will give you cpu and memory information. free -m will tell you how much mem you have in use/available. (ed: not sure if you're looking for more static or more dynamic-type information, but top is useful CPU/resource monitor, too.)

Last edited by synaptical; 03-02-2004 at 02:19 PM.
 
Old 03-02-2004, 02:19 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
For gui - it depends on your window manager. The KDE control center has a pretty good Information section. On the CLI try:
cat /proc/cpuinfo
cat /proc/meminfo
 
Old 03-02-2004, 02:26 PM   #4
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Original Poster
Rep: Reputation: 30
Thanks for the help.

Those are great commands. I have kde installed but I use xfce4....I wonder if you can run the KDE control center from the command line in xfce4? Probably not, oh well, the commands you guys gave me work great.


Thanks again



Is the /proc directory where all the system stuff is stored? There is a lot of stuff under there (partitions,uptime and so on). Is this the only directory that contains info like this? Just wondering, in case I am lookig for other hardware info, I will know where to look.

Last edited by devinWhalen; 03-02-2004 at 02:33 PM.
 
Old 03-02-2004, 03:25 PM   #5
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
Quote:
Originally posted by devinWhalen
I wonder if you can run the KDE control center from the command line in xfce4?
kcontrol

(wouldn't recommend it as a regular practice, though.)
 
  


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
How to read the disk stats info in the command line ICO Suse/Novell 1 09-20-2005 02:13 AM
What programs in the command line can I use in order to see the PC stats??? Shagrath239 Slackware 3 02-17-2005 03:42 PM
viewing command coding. dr_zayus69 Linux - Software 4 12-16-2004 11:17 PM
viewing how the kernal assigns hardware dr_zayus69 Linux - Hardware 12 12-01-2004 11:12 PM
viewing how the kernal assigns hardware. dr_zayus69 Linux - Hardware 1 10-01-2004 05:26 AM


All times are GMT -5. The time now is 06:25 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration