<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to check h/w config? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750519#M1837</link>
    <description>I always refer back to this link. The perl script mentioned by Santosh is particularly natty.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x1f92abe92dabd5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x1f92abe92dabd5118ff10090279cd0f9,00.html&lt;/A&gt;</description>
    <pubDate>Tue, 25 Jun 2002 07:47:46 GMT</pubDate>
    <dc:creator>Mike Brown_3</dc:creator>
    <dc:date>2002-06-25T07:47:46Z</dc:date>
    <item>
      <title>How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750513#M1831</link>
      <description>I am new to Linux, can anybody tell me how I can get the similar output as what ioscan or diskinfo in hpux can give me? For example, I want to how many disk drives and their capacities, how much is the memory size, what commands can I run?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jun 2002 06:48:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750513#M1831</guid>
      <dc:creator>zhaogui</dc:creator>
      <dc:date>2002-06-24T06:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750514#M1832</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Linux doesn't have ioscan.&lt;BR /&gt;&lt;BR /&gt;Try dmesg to see what device are attached to your system.&lt;BR /&gt;&lt;BR /&gt;Try #cat /proc/scsi/scsi to see what scsi device are attached.&lt;BR /&gt;&lt;BR /&gt;Try #fdisk -l /dev/sda or /dev/hda to see how many partitions are in the disk.&lt;BR /&gt;&lt;BR /&gt;Try #free  to see the memory usage and also swap usage (No swapinfo on Linux.)&lt;BR /&gt;&lt;BR /&gt;Try #cat /proc/meminfo &lt;BR /&gt;&lt;BR /&gt;Try #cat /proc/cpuinfo to see&lt;BR /&gt;what cpu your system is using.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jun 2002 07:14:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750514#M1832</guid>
      <dc:creator>I_M</dc:creator>
      <dc:date>2002-06-24T07:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750515#M1833</link>
      <description>I would also suggest to check /proc/pci (and/or lspci utility).  It may provide a bit of useful information as well.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Misha</description>
      <pubDate>Mon, 24 Jun 2002 08:02:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750515#M1833</guid>
      <dc:creator>Mikhail Sobolev</dc:creator>
      <dc:date>2002-06-24T08:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750516#M1834</link>
      <description>Thank you for your response, I tried all commands and found out almost every thing except the disk capacity. Attached is what I got from running those commands.&lt;BR /&gt;But is my disk 2x36GB or 2x72GB in RAID5? What's the usable space?</description>
      <pubDate>Tue, 25 Jun 2002 00:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750516#M1834</guid>
      <dc:creator>zhaogui</dc:creator>
      <dc:date>2002-06-25T00:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750517#M1835</link>
      <description>According to disk capacity try the df command.&lt;BR /&gt;You should get all informations on all disks available.&lt;BR /&gt;df -hl  should give you HUMAN readable informations, for LOCAL disks.&lt;BR /&gt;HTH&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jun 2002 07:09:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750517#M1835</guid>
      <dc:creator>MiQUET Pascal</dc:creator>
      <dc:date>2002-06-25T07:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750518#M1836</link>
      <description>#df -hl&lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;BR /&gt;/dev/sda8            1011M   86M  874M   9% /&lt;BR /&gt;/dev/sda1              23M  7.8M   13M  36% /boot&lt;BR /&gt;/dev/sda7            1011M  472k  959M   1% /home&lt;BR /&gt;/dev/sda5             9.8G   62M  9.2G   1% /opt&lt;BR /&gt;/dev/sda10           1011M   36k  959M   1% /tmp&lt;BR /&gt;/dev/sda6             1.5G  956M  458M  68% /usr&lt;BR /&gt;/dev/sda12            509M   96k  483M   1% /usr/local&lt;BR /&gt;/dev/sda9            1011M   17M  943M   2% /var&lt;BR /&gt;  You see, df will only tell you whatever have been partitioned and mounted, but how do I know how much has been left and unpartitioned, what are the physical sizes of all disk drives? Are there 4x18GB disks or 2x36GB?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jun 2002 07:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750518#M1836</guid>
      <dc:creator>zhaogui</dc:creator>
      <dc:date>2002-06-25T07:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750519#M1837</link>
      <description>I always refer back to this link. The perl script mentioned by Santosh is particularly natty.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x1f92abe92dabd5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x1f92abe92dabd5118ff10090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Tue, 25 Jun 2002 07:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750519#M1837</guid>
      <dc:creator>Mike Brown_3</dc:creator>
      <dc:date>2002-06-25T07:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750520#M1838</link>
      <description>Mike, thanks for the post -- I LIKE this script!&lt;BR /&gt;&lt;BR /&gt;(zhaqui N/A for me, please, but Mike's post deserves a 10!)</description>
      <pubDate>Tue, 25 Jun 2002 17:49:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750520#M1838</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2002-06-25T17:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750521#M1839</link>
      <description>I will definitely give you points if your answer can solve my problem.&lt;BR /&gt;Here is the output after running hinv.pl version1.4 which I downloaded from the URL you mentioned in the link.&lt;BR /&gt;Can you tell me how many physical disk drives in my Linux server?&lt;BR /&gt;&lt;BR /&gt;#perl hinv.pl&lt;BR /&gt;printf (...) interpreted as function at hinv.pl line 384.&lt;BR /&gt;printf (...) interpreted as function at hinv.pl line 393.&lt;BR /&gt;printf (...) interpreted as function at hinv.pl line 402.&lt;BR /&gt;Main memory size: 905 Mbytes&lt;BR /&gt;2 GenuineIntel Pentium III (Coppermine) processors&lt;BR /&gt;2 16550A serial ports&lt;BR /&gt;1 National Semiconductor PC87306 floppy controller&lt;BR /&gt;1 1.44M floppy drive&lt;BR /&gt;1 vga+ graphics device&lt;BR /&gt;1 keyboard&lt;BR /&gt;1 IDE device:&lt;BR /&gt;  /dev/hda: ATAPI 48X CD-ROM drive, 120kB Cache&lt;BR /&gt;PCI bus devices:&lt;BR /&gt;    Host bridge: ServerWorks CNB20LE (rev 6).&lt;BR /&gt;    Host bridge: ServerWorks CNB20LE (#2) (rev 6).&lt;BR /&gt;    Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 8).&lt;BR /&gt;    Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (#2) (rev 8).&lt;BR /&gt;    VGA compatible controller: ATI Technologies Inc 3D Rage IIC (rev 122).&lt;BR /&gt;    ISA bridge: ServerWorks OSB4 (rev 80).&lt;BR /&gt;    IDE interface: PCI device 1166:0211 (ServerWorks) (rev 0).&lt;BR /&gt;    RAID bus controller: PCI device 101e:1960 (American Megatrends Inc.) (rev 32).&lt;BR /&gt;    SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c1010 Ultra3 SCSI Adapter (rev 1).&lt;BR /&gt;    SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c1010 Ultra3 SCSI Adapter (#2) (rev 1).&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2002 00:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750521#M1839</guid>
      <dc:creator>zhaogui</dc:creator>
      <dc:date>2002-06-26T00:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750522#M1840</link>
      <description>OK, I'll 'fess, in YOUR case, it doesn't. It would be an honorable mention, thoough.&lt;BR /&gt;&lt;BR /&gt;From your output here and the earlier post, it's clear that you need a tool like HP-UX's hparraycfg or some such. The output indicates that you've got one LUN of ~ 54GB set up on your RAID controller. But where did the rest of the (probably) 72GB go? So, absent hparraycfg, what tools are available to you to examine your raid and set up LUNS, etc? &lt;BR /&gt;&lt;BR /&gt;In RH Linux (probably starting with 7.0 and beyond) there is lsraid, which can print information about linux multidisk devices. Man lsraid for info. I haven't got a Linux box with a RAID to test on, so will bow out now...&lt;BR /&gt;&lt;BR /&gt;Hth&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2002 01:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750522#M1840</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2002-06-26T01:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to check h/w config?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750523#M1841</link>
      <description>I visited the remote site and found there are 4x18GB disks which means the total capacity is 72GB. According to the rule of thumb for RAID5, the usable space is 0.75*72GB=54GB, so it is coincident with the figure shown in dmesg. &lt;BR /&gt;You are right, it is probably because of RAID that all these tools can't tell exactly the physical disk information.  I don't know if there is such thing as Israid or hparraycfg on Linux. But anyway you deserve honorable mention and thank you once again for your comments,time and efforts.&lt;BR /&gt;A lot of thanks.&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jun 2002 02:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-check-h-w-config/m-p/2750523#M1841</guid>
      <dc:creator>zhaogui</dc:creator>
      <dc:date>2002-06-26T02:23:53Z</dc:date>
    </item>
  </channel>
</rss>

