To Determine System Configuration - (No of CPUs, their speed, RAM, No of Hard disks, their capacity)
Krishnaprasad
k.krishna at hcl.in
Mon Mar 27 12:26:52 UTC 2006
try
df -H command
unix syzadmin wrote:
>Hi,
>
>One a linux server (RHEL AS 2), fdisk -l command does not tell the size of
>hard disk. Is there a way out. Please help.
>
>[root at bangpcrh212 root]# more /etc/redhat-release
>Red Hat Linux Advanced Server release 2.1AS (Pensacola) Update 5
>[root at bangpcrh212 root]# fdisk -l
>
>Disk /dev/sda: 255 heads, 63 sectors, 8924 cylinders
>Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
>/dev/sda1 * 1 127 1020096 83 Linux
>/dev/sda2 128 637 4096575 83 Linux
>/dev/sda3 638 1019 3068415 83 Linux
>/dev/sda4 1020 8924 63496912+ f Win95 Ext'd (LBA)
>/dev/sda5 1020 1401 3068383+ 83 Linux
>/dev/sda6 1402 1656 2048256 82 Linux swap
>/dev/sda7 1657 8924 58380178+ 83 Linux
>
>Disk /dev/sdb: 255 heads, 63 sectors, 8924 cylinders
>Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
>/dev/sdb1 * 1 3824 30716248+ 83 Linux
>/dev/sdb2 3825 8924 40965750 83 Linux
>
>Regards,
>-GnanaShekar-
>
>On 3/16/06, Dag Wieers <dag at wieers.com> wrote:
>
>
>>On Thu, 16 Mar 2006, Ed Wilts wrote:
>>
>>
>>
>>>On Thu, Mar 16, 2006 at 08:18:47PM +0530, unix syzadmin wrote:
>>>
>>>
>>>>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.
>>>>
>>>>
>>>I would start with lshw from either Dag's archive or from the author's
>>>site at http://www.ezix.org/software/lshw.html. You can generate the
>>>output in text, xml, or html. For an html sample, I threw up the output
>>>from my desktop at http://www.ewilts.org/lshw.html
>>>
>>>You may also want to look at the alist project at
>>>http://www.brains2bytes.com/alist/. It's getting a little old but it's
>>>open source and cross-platform so you could update it if required. It
>>>will give you not only the hardware configuration but also some basic
>>>software configurations including patch lists. It's designed to be more
>>>of a client-server application that allows it to keep itself up to date..
>>>
>>>
>>And dconf is something you might want to look at if the purpose is to
>>track changes (within a team) over time or to compare system (software and
>>hardware) configurations.
>>
>> http://dag.wieers.com/home-made/dconf/
>>
>>Of course, you still need to know what command-output provides you with
>>this information. Those would be: dmidecode and fdisk -l
>>
>>Kind regards,
>>-- dag wieers, dag at wieers.com, http://dag.wieers.com/ --
>>[all I want is a warm bed and a kind word and unlimited power]
>>
>>--
>>redhat-list mailing list
>>unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>>https://www.redhat.com/mailman/listinfo/redhat-list
>>
>>
>>
>--
>redhat-list mailing list
>unsubscribe mailto:redhat-list-request at redhat.com?subjectunsubscribehttps://www.redhatcom/mailman/listinfo/redhat-list
>
>DISCLAIMER:
>-----------------------------------------------------------------------------------------------------------------------
>
>The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
>It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
>this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
>Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
>this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
>received this email in error please delete it and notify the sender immediately. Before opening any mail and
>attachments please check them for viruses and defect.
>-----------------------------------------------------------------------------------------------------------------------
>
>
>
--
Rgds
KRISHNAPRASAD.K
R&D Engineer
HCL INFOSYSTEMS LTD
PONDICHERRY
Mob: 09894530948
--
Rgds
KRISHNAPRASAD.K
R&D Engineer
HCL INFOSYSTEMS LTD
PONDICHERRY
Mob: 09894530948
More information about the redhat-list
mailing list