To Determine System Configuration - (No of CPUs, their speed, RAM, No of Hard disks, their capacity).

Russell Harrison rtlm10 at gmail.com
Thu Mar 16 15:01:04 UTC 2006


The /proc file system is your friend.  Its a fake file system that the
kernel creates giving you various information about the system.

cat /proc/cpuinfo
cat /meminfo

Hard drive information will be in sub directories under the drive type (ide,
scsi, ect.) so for my first ide disk I'd do:

cat /proc/ide/hda/capacity

Its not the only way to get that information but it is the easiest.

Russell

On 3/16/06, unix syzadmin <unixsyzadmin at gmail.com> wrote:
>
> Hi,
>
> We have a lot of RedHat Linux servers in our lab.  I have been assigned a
> task to determine hardware configuration of these servers.  Please suggest
> some commands that would give the following information:
> 1. Type and No of CPU's, also their speed,
> 2. Amount of RAM.
> 3. No of Hard disk and their size.
>
> Thanks & Regards,
> -GnanaShekar-
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subjectunsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list