<?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: shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726065#M945889</link>
    <description>You could have a look at a script called&lt;BR /&gt;cfg2html - it creates ascii and html files containing details of system configuration, disk usage etc.&lt;BR /&gt;&lt;BR /&gt;It is available at&lt;BR /&gt;&lt;A href="http://members.tripod.com/rose_swe/cfg/cfg.html" target="_blank"&gt;http://members.tripod.com/rose_swe/cfg/cfg.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;John</description>
    <pubDate>Fri, 17 May 2002 06:30:37 GMT</pubDate>
    <dc:creator>John Strang</dc:creator>
    <dc:date>2002-05-17T06:30:37Z</dc:date>
    <item>
      <title>shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726060#M945884</link>
      <description>I want to make shell which has following information&lt;BR /&gt;model k370&lt;BR /&gt;version 11.0&lt;BR /&gt;CPU  xxxMhz , -2-EA running&lt;BR /&gt;MEM  xxGB&lt;BR /&gt;HDD total xxxGB&lt;BR /&gt;    internal xxxGB&lt;BR /&gt;    external XXX GB&lt;BR /&gt;    Used    xxx GB&lt;BR /&gt;Could you help me?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 May 2002 01:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726060#M945884</guid>
      <dc:creator>chin hyeon jung</dc:creator>
      <dc:date>2002-05-17T01:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726061#M945885</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I believe you are asking for shell scripts that will return you system configuration information as you listed.&lt;BR /&gt;&lt;BR /&gt;Following link contains a number of useful scripts that perform what you require (look at bottom of page):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.introcomp.co.uk/examples/" target="_blank"&gt;http://www.introcomp.co.uk/examples/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 17 May 2002 01:15:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726061#M945885</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-05-17T01:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726062#M945886</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In particular, look at collect.sh. Other scripts are also available.&lt;BR /&gt;&lt;BR /&gt;More information can also be found in the following thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb6f35e938a10d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb6f35e938a10d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Fri, 17 May 2002 01:21:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726062#M945886</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-05-17T01:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726063#M945887</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can get most of this information from your ignite manifest file:&lt;BR /&gt;&lt;BR /&gt;/var/opt/ignite/manifest/manifest&lt;BR /&gt;&lt;BR /&gt;I have another script provided by HP that you could use. If you have a support contract I can provide it. Let me know.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;~Michael~</description>
      <pubDate>Fri, 17 May 2002 01:27:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726063#M945887</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-05-17T01:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726064#M945888</link>
      <description>Hi Chin,&lt;BR /&gt;&lt;BR /&gt;I will provide half of the information. It's real simple..&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh                                                                  &lt;BR /&gt;MODEL=`model|awk '{FS="/";print $3}'`                                           &lt;BR /&gt;VER=`uname -r`                                                                  &lt;BR /&gt;SPEED=`echo itick_per_tick/D | adb -k /stand/vmunix /dev/kmem | tail -1 |awk '{p&lt;BR /&gt;rint $2 / 10000}'`                                                              &lt;BR /&gt;MEM=`echo 'phys_mem_pages/D'| adb -k /stand/vmunix /dev/kmem | tail -1 |awk '{pr&lt;BR /&gt;intf ( "%.2f",  $2 * 4096 / 1000000000 ) }'`                                    &lt;BR /&gt;PROC=`echo 'processor_count/D' | adb -k /stand/vmunix /dev/kmem |tail -1 |awk '{&lt;BR /&gt;print $2}'`                                                                     &lt;BR /&gt;                                                                                &lt;BR /&gt;echo MODEL: $MODEL                                                              &lt;BR /&gt;echo VERSION: $VER                                                              &lt;BR /&gt;echo CPU: $SPEED Mhz, - $PROC running                                           &lt;BR /&gt;echo MEM: $MEM GB                                                  &lt;BR /&gt;&lt;BR /&gt;About the disk information, I will give you some hints so that you can get it on your own.&lt;BR /&gt;&lt;BR /&gt;1. Get the disks from ioscan -fnC disk&lt;BR /&gt;2. Do a diskinfo on each of the disk and add them all together to get total HDD&lt;BR /&gt;3. Do a vgdisplay and get the volume groups&lt;BR /&gt;4. For each volume group do a vgdisplay and get PE size, total PE Alloc PE.&lt;BR /&gt;&lt;BR /&gt;total PE * Alloc PE gives you used disk.&lt;BR /&gt;&lt;BR /&gt;It is difficult (but possible) to differentiate between internal and external disks.    &lt;BR /&gt;&lt;BR /&gt;You can use all the above scripts plus the above to get what you want.&lt;BR /&gt;      &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 17 May 2002 04:14:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726064#M945888</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-05-17T04:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726065#M945889</link>
      <description>You could have a look at a script called&lt;BR /&gt;cfg2html - it creates ascii and html files containing details of system configuration, disk usage etc.&lt;BR /&gt;&lt;BR /&gt;It is available at&lt;BR /&gt;&lt;A href="http://members.tripod.com/rose_swe/cfg/cfg.html" target="_blank"&gt;http://members.tripod.com/rose_swe/cfg/cfg.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Fri, 17 May 2002 06:30:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell/m-p/2726065#M945889</guid>
      <dc:creator>John Strang</dc:creator>
      <dc:date>2002-05-17T06:30:37Z</dc:date>
    </item>
  </channel>
</rss>

