Linux / UNIX Tech Support Forum
This is a discussion on RedHat Hardware Info within the Linux hardware forums, part of the Linux Getting Started category; Hi All I am looking for the following info for my redhat 4 and solaris servers. Please help me in ...
|
|||||||
| Linux hardware Discussion about Linux hardware related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi All
I am looking for the following info for my redhat 4 and solaris servers. Please help me in finding a command to list all these Info. later on I will write a script to get the info from all the machines in 1 go. Cpu count & hdd type, Memory – 6, 8, 16, 32, 64gb Hdd type – 36gb scsi, 72gb scsi, 120gb sata etc Thanks |
| Sponsored Links | ||
|
|
|
||||
|
Use the following command in a shell script to get the information about RHEL hardware.
CPU Info: Code:
cat /proc/cpuinfo mpstat -P ALL "Total CPUS: $(grep processor /proc/cpuinfo | wc -l)" Code:
free -m free -g cat /proc/meminfo echo "Total Memory: $(grep 'MemTotal' /proc/meminfo | cut -d: -f2)" Code:
fdisk -l | grep Disk dmesg | egrep 'sd|hd' | grep disk sdparm /dev/sda
For solaris UNIX try: mem info: Code:
prtconf | grep Mem pagesize -a Code:
/usr/sbin/prtconf -vp
__________________
Vivek Gite Linux Evangelist Last edited by nixcraft; 08-05-2009 at 05:29 PM. |
![]() |
| Tags |
| fdisk , free , prtconf , rhel hardware , solaris hardware information , unix hardware info |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux Wireless Internet Hardware | bharathi | Linux software | 7 | 02-04-2009 05:21 PM |
| sparc hardware price | pansarevai | Solaris/OpenSolaris | 3 | 18-02-2008 09:56 PM |
| Does Redhat have "what" utility which can be used to display identification Info? | DCAO | Linux software | 2 | 30-10-2007 07:23 PM |
| Problem in Hardware? | aaru | Getting started tutorials | 1 | 08-10-2007 01:00 AM |
| hardware hcl redhat.com | sheeba | Linux software | 1 | 30-01-2006 04:01 PM |