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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-02-2004, 02:04 PM
|
#1
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Rep:
|
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
|
|
|
03-02-2004, 02:17 PM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
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.
|
|
|
03-02-2004, 02:19 PM
|
#3
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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
|
|
|
03-02-2004, 02:26 PM
|
#4
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Original Poster
Rep:
|
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.
|
|
|
03-02-2004, 03:25 PM
|
#5
|
Senior Member
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020
Rep:
|
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.)
|
|
|
All times are GMT -5. The time now is 05:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|