<?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: monitoring nflock , system table in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417168#M353933</link>
    <description>assuming you have a recent enough version of glance, just do the following:&lt;BR /&gt;&lt;BR /&gt;echo 'print GBL_STATTIME, " ",  TBL_FILE_LOCK_UTIL, "%"' &amp;gt; /tmp/advisor.cfg&lt;BR /&gt;&lt;BR /&gt;glance -aos /tmp/advisor.cfg -j 60&lt;BR /&gt;&lt;BR /&gt;This will give you an indication of the utilisation level of nflock every 60 seconds.&lt;BR /&gt;&lt;BR /&gt;I'm suyre you can figure out the rest from that&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
    <pubDate>Mon, 11 May 2009 10:25:45 GMT</pubDate>
    <dc:creator>Duncan Edmonstone</dc:creator>
    <dc:date>2009-05-11T10:25:45Z</dc:date>
    <item>
      <title>monitoring nflock , system table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417166#M353931</link>
      <description>Dear Gurus ,&lt;BR /&gt;&lt;BR /&gt;           We had some "EDEADLK Deadlock condition" with one of application S/W and the vendor advised use to monitor the &lt;BR /&gt;nflock nfile system resources.&lt;BR /&gt;1)when nflock is full will not an error message be logged in syslog ?&lt;BR /&gt;2)we don't have wma/extract , we have glance , can we use glance to collect statistics over a period of time ?&lt;BR /&gt;(glance -t &amp;gt;&amp;gt; ~xyz/report is not read friendly )&lt;BR /&gt;3)from where can i download Krmond to enable the kernel resource monitor, sorry, but i am not able to find the same on software.hp.com.OS is B.11.00 .&lt;BR /&gt;</description>
      <pubDate>Mon, 11 May 2009 09:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417166#M353931</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-05-11T09:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring nflock , system table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417167#M353932</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do you mean nflocks?&lt;BR /&gt;&lt;BR /&gt;To prevent file or data corruption, when simultaneous access to a given file by two or more processes, a process that is altering the contents of a file must be able to lock the file against conflicting uses until it is safe to release control of the file. This is what nflocks is used.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;1)when nflock is full will not an error message be logged in syslog ?&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Yes. you will get a message like below in system when nflocks is full.&lt;BR /&gt;cannot lock xxxxxxxx: No locks available&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;2)we don't have wma/extract , we have glance , can we use glance to collect statistics over a period of time ? &amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;I don't think so. You need that to extract the data. Normally lsof will be used to find the nflocks usage.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 May 2009 10:13:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417167#M353932</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-05-11T10:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring nflock , system table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417168#M353933</link>
      <description>assuming you have a recent enough version of glance, just do the following:&lt;BR /&gt;&lt;BR /&gt;echo 'print GBL_STATTIME, " ",  TBL_FILE_LOCK_UTIL, "%"' &amp;gt; /tmp/advisor.cfg&lt;BR /&gt;&lt;BR /&gt;glance -aos /tmp/advisor.cfg -j 60&lt;BR /&gt;&lt;BR /&gt;This will give you an indication of the utilisation level of nflock every 60 seconds.&lt;BR /&gt;&lt;BR /&gt;I'm suyre you can figure out the rest from that&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 11 May 2009 10:25:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417168#M353933</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-05-11T10:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring nflock , system table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417169#M353934</link>
      <description>Thanks Ganesan and Duncan. &lt;BR /&gt;                           Glance version is C.03.71.00.The /tmp/advisor.cfg file contains nothing expect headder.</description>
      <pubDate>Mon, 11 May 2009 10:44:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417169#M353934</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-05-11T10:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring nflock , system table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417170#M353935</link>
      <description>Hmmm I didn't think I'd need to spell it out...&lt;BR /&gt;&lt;BR /&gt;echo 'print GBL_STATTIME, " ", TBL_FILE_LOCK_UTIL, "%"' &amp;gt; /tmp/advisor.cfg&lt;BR /&gt;&lt;BR /&gt;glance -aos /tmp/advisor.cfg -j 60&lt;BR /&gt;&lt;BR /&gt;The file /tmp/advisor.cfg is a configuration file to tell it what data to monitor - it's not an output file. Glance with write ou&lt;BR /&gt;tput to stdout unless you redirect it. so you could instead do:&lt;BR /&gt;&lt;BR /&gt;glance -aos /tmp/advisor.cfg -j 60 &amp;gt; /tmp/nflocks.out&lt;BR /&gt;&lt;BR /&gt;you should get an entry in /tmp/nflocks.out every 60 seconds&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
      <pubDate>Mon, 11 May 2009 10:54:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417170#M353935</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-05-11T10:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring nflock , system table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417171#M353936</link>
      <description>Dear Duncan ,&lt;BR /&gt;&lt;BR /&gt;/tmp/nflocks.out will not be readable , as i mentioned in the initation post.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 May 2009 11:25:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417171#M353936</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-05-11T11:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring nflock , system table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417172#M353937</link>
      <description>so when you run:&lt;BR /&gt;&lt;BR /&gt;glance -aos /tmp/advisor.cfg -j 2&lt;BR /&gt;&lt;BR /&gt;what *do* you see on the screen... anything at all?&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 11 May 2009 11:31:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417172#M353937</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-05-11T11:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring nflock , system table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417173#M353938</link>
      <description>Dear Duncan ,&lt;BR /&gt;&lt;BR /&gt;            From what i can see on screen, i cannot make out how to infer the nflocks value.&lt;BR /&gt;It's something relating to process Id that did the last context switch, i guess .&lt;BR /&gt;.Attachment . My idea was to collect nflocks value in a file  over a period of time , in a system which has only glance.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 May 2009 11:50:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417173#M353938</guid>
      <dc:creator>DeafFrog</dc:creator>
      <dc:date>2009-05-11T11:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: monitoring nflock , system table</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417174#M353939</link>
      <description>hmm - I wonder if the "-aos" option isn't working on your older version of glance. On my version (04.50) I get this:&lt;BR /&gt;&lt;BR /&gt;# glance -aos /tmp/advisor.cfg  -j 2&lt;BR /&gt;&lt;BR /&gt;Welcome to GlancePlus&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;14:01:10    0.2%&lt;BR /&gt;14:01:11    0.2%&lt;BR /&gt;14:01:13    0.2%&lt;BR /&gt;14:01:15    0.2%&lt;BR /&gt;14:01:17    0.2%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;which is showing me only 0.2% usage of my file locks...&lt;BR /&gt;&lt;BR /&gt;Maybe try this syntax instead:&lt;BR /&gt;&lt;BR /&gt;# glance -advisor_only -syntax /tmp/advisor.cfg -j 2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 May 2009 12:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-nflock-system-table/m-p/4417174#M353939</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-05-11T12:08:22Z</dc:date>
    </item>
  </channel>
</rss>

