<?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: simple qustions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016174#M912296</link>
    <description>Tim,&lt;BR /&gt;&lt;BR /&gt;Your command line for the processor:&lt;BR /&gt;&lt;BR /&gt;# ioscan -knC processor&lt;BR /&gt;ioscan: Invalid combination of options&lt;BR /&gt;usage: ioscan [-k | -u] [-d driver | -C class] [-I instance] [-H hw_path]&lt;BR /&gt;              [-f | -F [-n]] [devfile]&lt;BR /&gt;       -k: show kernel structures; don't scan hardware&lt;BR /&gt;       -u: show usable devices; don't scan hardware&lt;BR /&gt;       -d: show hardware controlled by specified driver&lt;BR /&gt;       -C: show hardware in specified class&lt;BR /&gt;       -I: show hardware with specified instance&lt;BR /&gt;       -H: show hardware at specified path&lt;BR /&gt;       -f: give full listing&lt;BR /&gt;       -F: give listing separated by colons&lt;BR /&gt;       -n: show device file names&lt;BR /&gt;   or: ioscan -M module_path -H hw_path [-I instance]&lt;BR /&gt;       -M: force-configure specified drivers&lt;BR /&gt;       -H: force-configure specified hardware path&lt;BR /&gt;       -I: force-configure specified hardware instance&lt;BR /&gt;I think you mean:&lt;BR /&gt;# ioscan -kC processor&lt;BR /&gt;but it deosn't tell how many CPUs the system has.&lt;BR /&gt;It's just a thought.&lt;BR /&gt;Thanks&lt;BR /&gt;Latif</description>
    <pubDate>Sun, 06 Jul 2003 14:48:54 GMT</pubDate>
    <dc:creator>Norman_21</dc:creator>
    <dc:date>2003-07-06T14:48:54Z</dc:date>
    <item>
      <title>simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016169#M912291</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt; Hi,Here is a simple qustion cause i'm new person intersting in HP-UX.&lt;BR /&gt;&lt;BR /&gt;- How i can get the data size fro a server HP-UX&lt;BR /&gt;- what is the meanning when someone ask me what is the make of the server ? is it like HP-UX ??&lt;BR /&gt;- how i get no of CPUs without going to sam ?&lt;BR /&gt;&lt;BR /&gt;Many thanks in advance.</description>
      <pubDate>Sun, 06 Jul 2003 04:57:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016169#M912291</guid>
      <dc:creator>Abdullah_2</dc:creator>
      <dc:date>2003-07-06T04:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016170#M912292</link>
      <description>&lt;BR /&gt; - size: du -sk&lt;BR /&gt;&lt;BR /&gt; - To know the model of your server use: model.&lt;BR /&gt;   also, to know the version of the OS use: uname -a&lt;BR /&gt;&lt;BR /&gt; - Use the script in the scripts section here&lt;BR /&gt;   &lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x026250011d20d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt; it's called hpmem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 06 Jul 2003 05:33:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016170#M912292</guid>
      <dc:creator>Khalid A. Al-Tayaran</dc:creator>
      <dc:date>2003-07-06T05:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016171#M912293</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I agree, use du to check for Disk Usage:&lt;BR /&gt;#du -k &lt;YOUR data="https://community.hpe.com/" directory=""&gt;|sort -nr|pg&lt;BR /&gt;to start the list with the highest capacity.&lt;BR /&gt;&lt;BR /&gt;To list how many processors from the command line:&lt;BR /&gt;#ioscan -fn|grep processor|wc -l&lt;BR /&gt;&lt;BR /&gt;I'm not sure what you mean by system make, I think you mean the model, you can use the model command. Always, use man pages to check out a command:&lt;BR /&gt;# man du&lt;BR /&gt;&lt;BR /&gt;I'm sure other guys will have better answers.&lt;BR /&gt;Thanks and hope this help.&lt;/YOUR&gt;</description>
      <pubDate>Sun, 06 Jul 2003 05:47:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016171#M912293</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-07-06T05:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016172#M912294</link>
      <description>- How i get the data size fro server HP-UX&lt;BR /&gt;There are various interpretations to this question. &lt;BR /&gt;One is how much (in GB) disk is attached to system.&lt;BR /&gt;# ioscan -funCdisk&lt;BR /&gt;This will give you the types of disk.  Some disk product numbers actually gove the size e.g. SEAGATE ST318404LC is 3rd Gen 18 GB and&lt;BR /&gt;ST332502LC is a 3rd gen 32 GB.  If the product number is not helpful do a &lt;BR /&gt;# diskinfo /dev/rdsk/cXtYdZ&lt;BR /&gt;Another interpretation is how much disk space is configured into eacg volume group (&amp;amp; how much is free) to do this&lt;BR /&gt;# vgdisplay &lt;VOLUME_GROUP&gt;&lt;BR /&gt;The last I can think of is how much space is in each mounted filesystem. &lt;BR /&gt;# bdf&lt;BR /&gt;&lt;BR /&gt;-  what is the meanning when someone ask me what is the make of the server ? is it like HP-UX??&lt;BR /&gt;I guess they are asking for the model (not the make as it will be HP if you are runing HP-UX).  You can get this by typing&lt;BR /&gt;# model&lt;BR /&gt;Another thing they may be asking is what version of HP-UX you are on.  You can get this by typing&lt;BR /&gt;# uname -a&lt;BR /&gt;This will give a few answers, including the OS type (say HP-UX 11.11)&lt;BR /&gt; - how i get no of CPUs without going to sam??&lt;BR /&gt;# ioscan -knCprocessor&lt;BR /&gt;OR&lt;BR /&gt;# top&lt;BR /&gt;for both just count the nujber of relavent lines.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;&lt;BR /&gt;&lt;/VOLUME_GROUP&gt;</description>
      <pubDate>Sun, 06 Jul 2003 13:25:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016172#M912294</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-07-06T13:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016173#M912295</link>
      <description>Hi Abdullah,&lt;BR /&gt;Please have your Ignite-UX installed(normally it has been done), then you can use:&lt;BR /&gt;#/opt/ignite/bin/print_manifest&lt;BR /&gt;go get the useful infomation!&lt;BR /&gt;&lt;BR /&gt;-ux</description>
      <pubDate>Sun, 06 Jul 2003 13:56:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016173#M912295</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2003-07-06T13:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016174#M912296</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;Your command line for the processor:&lt;BR /&gt;&lt;BR /&gt;# ioscan -knC processor&lt;BR /&gt;ioscan: Invalid combination of options&lt;BR /&gt;usage: ioscan [-k | -u] [-d driver | -C class] [-I instance] [-H hw_path]&lt;BR /&gt;              [-f | -F [-n]] [devfile]&lt;BR /&gt;       -k: show kernel structures; don't scan hardware&lt;BR /&gt;       -u: show usable devices; don't scan hardware&lt;BR /&gt;       -d: show hardware controlled by specified driver&lt;BR /&gt;       -C: show hardware in specified class&lt;BR /&gt;       -I: show hardware with specified instance&lt;BR /&gt;       -H: show hardware at specified path&lt;BR /&gt;       -f: give full listing&lt;BR /&gt;       -F: give listing separated by colons&lt;BR /&gt;       -n: show device file names&lt;BR /&gt;   or: ioscan -M module_path -H hw_path [-I instance]&lt;BR /&gt;       -M: force-configure specified drivers&lt;BR /&gt;       -H: force-configure specified hardware path&lt;BR /&gt;       -I: force-configure specified hardware instance&lt;BR /&gt;I think you mean:&lt;BR /&gt;# ioscan -kC processor&lt;BR /&gt;but it deosn't tell how many CPUs the system has.&lt;BR /&gt;It's just a thought.&lt;BR /&gt;Thanks&lt;BR /&gt;Latif</description>
      <pubDate>Sun, 06 Jul 2003 14:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016174#M912296</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-07-06T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016175#M912297</link>
      <description>oooops&lt;BR /&gt;&lt;BR /&gt;ioscan -fkCprocessor&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Mon, 07 Jul 2003 11:02:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016175#M912297</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-07-07T11:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016176#M912298</link>
      <description>The command top also shows the number of processors in you machine.</description>
      <pubDate>Mon, 07 Jul 2003 11:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016176#M912298</guid>
      <dc:creator>Dagmar Boelen</dc:creator>
      <dc:date>2003-07-07T11:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016177#M912299</link>
      <description>Here's a script that will get you size of "mounted" filesystems by volume group.&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;/usr/local/bin/bdfmegs|grep vg |tr -s " " " "|cut -d" " -f 1-4|sort|&lt;BR /&gt;awk 'BEGIN {&lt;BR /&gt;prev="";&lt;BR /&gt;totals[0]=0;&lt;BR /&gt;totals[1]=0;&lt;BR /&gt;totals[2]=0;&lt;BR /&gt;gtotals[0]=0;&lt;BR /&gt;gtotals[1]=0;&lt;BR /&gt;gtotals[2]=0;&lt;BR /&gt;printf("%4s %14s %14s %14s\n","VG","Size(MB)","In use","Available");&lt;BR /&gt;}&lt;BR /&gt;{split($1,curr,"/");&lt;BR /&gt;if (prev!="" &amp;amp;&amp;amp; prev!=curr[3])&lt;BR /&gt;{printf("%4s %14d %14d %14d\n",prev,totals[0],totals[1],totals[2]);&lt;BR /&gt;gtotals[0]+=totals[0];&lt;BR /&gt;gtotals[1]+=totals[1];&lt;BR /&gt;gtotals[2]+=totals[2];&lt;BR /&gt;totals[0]=0;&lt;BR /&gt;totals[1]=0;&lt;BR /&gt;totals[2]=0;&lt;BR /&gt;}&lt;BR /&gt;prev=curr[3];&lt;BR /&gt;totals[0]+=$2;&lt;BR /&gt;totals[1]+=$3;&lt;BR /&gt;totals[2]+=$4;&lt;BR /&gt;}&lt;BR /&gt;END {&lt;BR /&gt;gtotals[0]+=totals[0];&lt;BR /&gt;gtotals[1]+=totals[1];&lt;BR /&gt;gtotals[2]+=totals[2];&lt;BR /&gt;printf("%4s %14d %14d %14d\n",prev,totals[0],totals[1],totals[2]);&lt;BR /&gt;printf("%4s %14s %14s %14s\n","----","--------------","--------------","--------------");&lt;BR /&gt;printf("%4s %14d %14d %14d\n","Totl",gtotals[0],gtotals[1],gtotals[2]);&lt;BR /&gt;}'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It uses the bdfmegs script attached...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2003 11:37:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016177#M912299</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-07-07T11:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: simple qustions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016178#M912300</link>
      <description>Here's another script for number of cpus/speed and some kernel parms - called hpmem:&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;#&lt;BR /&gt;# Taken from the HP/UniGraphics FAQ&lt;BR /&gt;# You must be ROOT to execute this since it uses adb to&lt;BR /&gt;# examine the running kernel&lt;BR /&gt;#&lt;BR /&gt;GetKernelSymbol()&lt;BR /&gt;{&lt;BR /&gt;echo "$1/D" | adb -k $hpux /dev/kmem | tr "\012" " " | read junk junk2 kval&lt;BR /&gt;}&lt;BR /&gt;hpux=/hp-ux&lt;BR /&gt;rev=$(uname -r | cut -d. -f2)&lt;BR /&gt;if ((rev &amp;gt; 9)); then hpux=/stand/vmunix ;fi&lt;BR /&gt;/bin/uname -a&lt;BR /&gt;GetKernelSymbol "processor_count"&lt;BR /&gt;print CPU Count: $kval&lt;BR /&gt;GetKernelSymbol "itick_per_tick"&lt;BR /&gt;let speed=kval/10000&lt;BR /&gt;print CPU Speed: $speed MHz&lt;BR /&gt;if ((rev &amp;gt; 10)); then&lt;BR /&gt;print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit&lt;BR /&gt;print Kernel Support: `getconf KERNEL_BITS`-bit&lt;BR /&gt;GetKernelSymbol "memory_installed_in_machine"&lt;BR /&gt;else&lt;BR /&gt;GetKernelSymbol "physmem"&lt;BR /&gt;fi&lt;BR /&gt;let mb=kval*4/1024 # convert pages to MB&lt;BR /&gt;print RAM Size: $mb MB&lt;BR /&gt;GetKernelSymbol "bufpages"&lt;BR /&gt;let mb=kval*4/1024 # convert pages to MB&lt;BR /&gt;print bufpages: $mb MB&lt;BR /&gt;GetKernelSymbol "maxuprc"&lt;BR /&gt;print maxuprc: $kval&lt;BR /&gt;GetKernelSymbol "maxvgs"&lt;BR /&gt;print maxvgs: $kval&lt;BR /&gt;GetKernelSymbol "maxfiles"&lt;BR /&gt;print maxfiles: $kval&lt;BR /&gt;GetKernelSymbol "max_thread_proc"&lt;BR /&gt;print max_thread_proc: $kval&lt;BR /&gt;GetKernelSymbol "nfile"&lt;BR /&gt;print nfile: $kval&lt;BR /&gt;GetKernelSymbol "nflocks"&lt;BR /&gt;print nflock: $kval&lt;BR /&gt;GetKernelSymbol "nproc"&lt;BR /&gt;print nproc: $kval&lt;BR /&gt;GetKernelSymbol "ninode"&lt;BR /&gt;print ninode: $kval&lt;BR /&gt;GetKernelSymbol "vfd_cw"&lt;BR /&gt;print shmmax: $kval&lt;BR /&gt;GetKernelSymbol "shmmni"&lt;BR /&gt;print shmmni: $kval&lt;BR /&gt;GetKernelSymbol "dbc_max_pct"&lt;BR /&gt;print dbc_max_pct: $kval&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jul 2003 11:39:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-qustions/m-p/3016178#M912300</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-07-07T11:39:26Z</dc:date>
    </item>
  </channel>
</rss>

