LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command for viewing hardware stats (https://www.linuxquestions.org/questions/linux-newbie-8/command-for-viewing-hardware-stats-152683/)

devinWhalen 03-02-2004 02:04 PM

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

synaptical 03-02-2004 02:17 PM

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.)

david_ross 03-02-2004 02:19 PM

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

devinWhalen 03-02-2004 02:26 PM

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.

synaptical 03-02-2004 03:25 PM

Quote:

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

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


All times are GMT -5. The time now is 07:42 PM.