LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hardware Details (https://www.linuxquestions.org/questions/linux-newbie-8/hardware-details-4175549726/)

Volcano 08-03-2015 10:35 AM

Hardware Details
 
I need to find Hardware details of a Box.

Box OS is:
Description: Red Hat Enterprise Linux Server release 5.8 (Tikanga)
Release: 5.8
Codename: Tikanga


I wish to find the follwing details

RAM:
Processor:
Disk Size:
Partition:

Is there any command ?

Keruskerfuerst 08-03-2015 11:02 AM

1. CPU info cat /proc/cpu
2. Image of Ram cat /proc/kcore
3. PCI information lspci -v
4. Disk information fdisk -l

gramofenomeno 08-03-2015 02:27 PM

Hardware details' commands
 
RAM:
cat /proc/meminfo

Processor:
cat /proc/cpuinfo

Disk Size:
Partition:
df -h

I also find usefull to check disk velocity using:
hdparm -Tt /dev/sda
changing sda to your settings (taked from df -h output).

top is also a nice tool to check resources

Most of these commands must be invoked as root.

sarnobat 08-03-2015 04:52 PM

I don't know about Red Hat, but if you can get the package hwloc you'll find this really nice:

Quote:

sudo apt-get install -y hwloc
lstopo

Doug G 08-03-2015 05:55 PM

You can install inxi. Do inxi -Fxz for a nice listing.

purevw 08-04-2015 12:36 PM

openSUSE uses the "hwinfo" package and command.

zeebra 08-04-2015 05:28 PM

also/alternatively:

"lshw" and "lscpu"
"cpupower" or "cpufreq"

and ofcourse "dmesg"

cesarbergara 02-13-2016 12:42 PM

Hi. Under /proc directory you can find a lot info about system and hardware, sometime in files, other under subdirectories.
/proc is not a 'directory' classic. It have only 'virtual' files and directories for the system. When you shutdown PC, all those files and directories are deleted. When you boot, linux create all them.


All times are GMT -5. The time now is 11:22 AM.