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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you do need just the information about hardware, without the pretty
printing or displaying it via webserver, etc. than you can find a lot of
information about hardware in the (pseudo-) files in /proc filesystem -
processor information in /etc/cpuinfo, physical and virtual memory size
and usage in /proc/meminfo, etc.

Alexey Fadyushin.
Brainbench MVP for Linux
http://www.brainbench.com

> -----Original Message-----
> From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> bounces@xxxxxxxxxx] On Behalf Of nilesh vaghela
> Sent: Monday, March 27, 2006 5:41 PM
> To: General Red Hat Linux discussion list
> Subject: Re: To Determine System Configuration - (No of CPUs, their
> speed,RAM, No of Hard disks, their capacity)
> 
> try phpsysinfo.
> 
> Will give you good webbased info.
> 
> Nilesh
> 
> On 3/27/06, Krishnaprasad <k.krishna@xxxxxx> wrote:
> >
> >
> > 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@bangpcrh212 root]# more /etc/redhat-release
> > >Red Hat Linux Advanced Server release 2.1AS (Pensacola) Update 5
> > >[root@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@xxxxxxxxxx> 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@xxxxxxxxxx,  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@xxxxxxxxxx?subject=unsubscribe
> > >>https://www.redhat.com/mailman/listinfo/redhat-list
> > >>
> > >>
> > >>
> > >--
> > >redhat-list mailing list
> > >unsubscribe mailto:redhat-list-request@xxxxxxxxxx
> >
?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
> >
> > --
> > redhat-list mailing list
> > unsubscribe
mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> 
> 
> 
> --
> Nilesh Vaghela



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux