<?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: adb: info: Option -k is deprecated. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409051#M202203</link>
    <description>Which version of 11i are you using?&lt;BR /&gt;&lt;BR /&gt;-k seems fine on mine 11i v1&lt;BR /&gt;&lt;BR /&gt;# echo 'itick_per_tick/D' | adb -k /stand/vmunix /dev/kmem | \&lt;BR /&gt;&amp;gt; tail -n 1 | awk '{print $2}'&lt;BR /&gt;4000000&lt;BR /&gt;&lt;BR /&gt;# ll /usr/bin/adb&lt;BR /&gt;-r-xr-xr-x   1 bin        bin         212992 Nov 14  2000 /usr/bin/adb&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Wed, 27 Oct 2004 08:11:54 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2004-10-27T08:11:54Z</dc:date>
    <item>
      <title>adb: info: Option -k is deprecated.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409050#M202202</link>
      <description>I had written a script for HP-ux 10.x and HP-ux 11.00.&lt;BR /&gt;&lt;BR /&gt;Now, it has to work on HP-ux 11.i but I receive the following warning :&lt;BR /&gt;&lt;BR /&gt;adb: info: Option -k is deprecated.&lt;BR /&gt;&lt;BR /&gt;The command is the following one :&lt;BR /&gt;&lt;BR /&gt;case $OS in&lt;BR /&gt;10)&lt;BR /&gt;        VitesseCPU=`echo 'itick_per_tick/D' | adb /stand/vmunix /dev/kmem | \&lt;BR /&gt;                tail -n 1 | awk '{print $2}'`&lt;BR /&gt;        ;;&lt;BR /&gt;11)&lt;BR /&gt;        VitesseCPU=`echo 'itick_per_tick/D' | adb -k /stand/vmunix /dev/kmem | \&lt;BR /&gt;                tail -n 1 | awk '{print $2}'`&lt;BR /&gt;        ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;May I remove the -k option for 11.11 ?</description>
      <pubDate>Wed, 27 Oct 2004 08:07:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409050#M202202</guid>
      <dc:creator>BOUZALMAD Youssef</dc:creator>
      <dc:date>2004-10-27T08:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: adb: info: Option -k is deprecated.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409051#M202203</link>
      <description>Which version of 11i are you using?&lt;BR /&gt;&lt;BR /&gt;-k seems fine on mine 11i v1&lt;BR /&gt;&lt;BR /&gt;# echo 'itick_per_tick/D' | adb -k /stand/vmunix /dev/kmem | \&lt;BR /&gt;&amp;gt; tail -n 1 | awk '{print $2}'&lt;BR /&gt;4000000&lt;BR /&gt;&lt;BR /&gt;# ll /usr/bin/adb&lt;BR /&gt;-r-xr-xr-x   1 bin        bin         212992 Nov 14  2000 /usr/bin/adb&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 27 Oct 2004 08:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409051#M202203</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-10-27T08:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: adb: info: Option -k is deprecated.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409052#M202204</link>
      <description>The server is running HP-ux v11.11...&lt;BR /&gt;&lt;BR /&gt;All about adb :&lt;BR /&gt;&lt;BR /&gt;root:/# ls -al /usr/bin/adb &lt;BR /&gt;-r-xr-xr-x   1 bin        bin         212992 May 31  2003 /usr/bin/adb&lt;BR /&gt;&lt;BR /&gt;root/# file /usr/bin/adb   &lt;BR /&gt;/usr/bin/adb:   PA-RISC1.1 shared executable dynamically linked&lt;BR /&gt;&lt;BR /&gt;root/# type /usr/bin/adb   &lt;BR /&gt;/usr/bin/adb is /usr/bin/adb&lt;BR /&gt;&lt;BR /&gt;root/# what /usr/bin/adb   &lt;BR /&gt;/usr/bin/adb:&lt;BR /&gt;         $Revision: B.11.11_EP_PATCH_28774&lt;BR /&gt;         Sat May 31 10:42:26 IST 2003 $&lt;BR /&gt;&lt;BR /&gt;Its not the same on 11.00...</description>
      <pubDate>Wed, 27 Oct 2004 08:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409052#M202204</guid>
      <dc:creator>BOUZALMAD Youssef</dc:creator>
      <dc:date>2004-10-27T08:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: adb: info: Option -k is deprecated.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409053#M202205</link>
      <description>I tried your command :&lt;BR /&gt;&lt;BR /&gt;root:/# echo 'itick_per_tick/D' | adb -k /stand/vmunix /dev/kmem | \                     &lt;BR /&gt;_root@y8ri06l# tail -n 1 | awk '{ print $2 }'&lt;BR /&gt;adb: info: Option -k is deprecated.&lt;BR /&gt;4400000&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2004 08:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409053#M202205</guid>
      <dc:creator>BOUZALMAD Youssef</dc:creator>
      <dc:date>2004-10-27T08:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: adb: info: Option -k is deprecated.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409054#M202206</link>
      <description># what /usr/bin/adb&lt;BR /&gt;/usr/bin/adb:&lt;BR /&gt;         $Revision: B.11.11_LR&lt;BR /&gt;         Fri Oct 27 01:03:42 PDT 2000 $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So yours is patched - what's in the man page?&lt;BR /&gt;&lt;BR /&gt;Is the man page still at "November 2000" or has it been updated?&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2004 08:19:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409054#M202206</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-10-27T08:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: adb: info: Option -k is deprecated.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409055#M202207</link>
      <description>Why do you even need the -k option?&lt;BR /&gt;&lt;BR /&gt;Here's what I use:&lt;BR /&gt;&lt;BR /&gt;HPUX=/stand/vmunix&lt;BR /&gt;MAJORREV=$(uname -r | cut -f2 -d .)&lt;BR /&gt;if [ $MAJORREV -ge "11.0" ]&lt;BR /&gt;then&lt;BR /&gt;  MYSYMBOL="phys_mem_pages"&lt;BR /&gt;else&lt;BR /&gt;  MYSYMBOL="physmem"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;MYMEM=$(echo "${MYSYMBOL}/D" \&lt;BR /&gt;        | adb $HPUX /dev/kmem \&lt;BR /&gt;        | grep "${MYSYMBOL}: *." \&lt;BR /&gt;        | awk '{printf "%.0f MB\n",$2/256}')&lt;BR /&gt;echo $MYMEM&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 27 Oct 2004 08:21:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409055#M202207</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-10-27T08:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: adb: info: Option -k is deprecated.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409056#M202208</link>
      <description>Pete's right - you don't need -k....&lt;BR /&gt;&lt;BR /&gt;Just modified a script called hpmem:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/hpmem&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" | \&lt;BR /&gt;adb $hpux /dev/kmem | \&lt;BR /&gt;tr "\012" " " | \&lt;BR /&gt;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;adb works without the -k&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 27 Oct 2004 08:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409056#M202208</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-10-27T08:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: adb: info: Option -k is deprecated.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409057#M202209</link>
      <description>Your adb command is just 4 years old ? October, 27th 2000 !&lt;BR /&gt;&lt;BR /&gt;The man files I've found :&lt;BR /&gt;&lt;BR /&gt;-r--r--r--   1 bin        bin          11294 Nov 14  2000 /usr/share/man/ja_JP.SJIS/man1.Z/adb.1&lt;BR /&gt;-r--r--r--   1 bin        bin          11221 Nov 14  2000 /usr/share/man/ja_JP.eucJP/man1.Z/adb.1&lt;BR /&gt;-r--r--r--   1 bin        bin          10543 Jun  2  2003 /usr/share/man/man1.Z/adb.1&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Oct 2004 08:26:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409057#M202209</guid>
      <dc:creator>BOUZALMAD Youssef</dc:creator>
      <dc:date>2004-10-27T08:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: adb: info: Option -k is deprecated.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409058#M202210</link>
      <description>Geoff you wrotte "adb works without the -k"&lt;BR /&gt;&lt;BR /&gt;So, to summarize, I've to use -k only on 11.00. For 10.x and 11i, it's not a mandatory option.&lt;BR /&gt;&lt;BR /&gt;Thank a lot for your help !</description>
      <pubDate>Wed, 27 Oct 2004 08:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adb-info-option-k-is-deprecated/m-p/3409058#M202210</guid>
      <dc:creator>BOUZALMAD Youssef</dc:creator>
      <dc:date>2004-10-27T08:35:17Z</dc:date>
    </item>
  </channel>
</rss>

