<?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: WCHAN field in ps in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248913#M892009</link>
    <description>The WCHAN value is not a function address.  It is actually the address that was passed into a call to sleep() in the kernel.  It should later be used in a call to wakeup().&lt;BR /&gt;&lt;BR /&gt;The WCHAN address is sometimes a global variable with a name that you could match to some particular driver or system call.  At other times it is an allocated address that has no particular meaning outside of the kernel code that is making those calls.&lt;BR /&gt;&lt;BR /&gt;You can get a look at what symbol a WCHAN value maps to using adb to print it as a symbolic address.  Here is a little script that looks at the WCHAN values of all the processes on the system.&lt;BR /&gt;&lt;BR /&gt;for a in $(UNIX95=1 /usr/bin/ps -e -o wchan | sort | uniq)&lt;BR /&gt;do&lt;BR /&gt;  print "0x$a?a"&lt;BR /&gt;done | adb /stand/vmunix&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Apr 2004 15:47:36 GMT</pubDate>
    <dc:creator>Mike Stroyan</dc:creator>
    <dc:date>2004-04-19T15:47:36Z</dc:date>
    <item>
      <title>WCHAN field in ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248909#M892005</link>
      <description>Dear,&lt;BR /&gt;How can I know the process is waiting for what/or blocked from somebody? &lt;BR /&gt;WCHAN field in ps?&lt;BR /&gt;&lt;BR /&gt;tks a lot&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2004 04:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248909#M892005</guid>
      <dc:creator>Romeo_Lou</dc:creator>
      <dc:date>2004-04-15T04:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: WCHAN field in ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248910#M892006</link>
      <description>WCHAN indicates the event for which process is wating, if hypen is placed in that field the process is not waiting or sleeping.&lt;BR /&gt;&lt;BR /&gt;I think that should help U.</description>
      <pubDate>Thu, 15 Apr 2004 05:32:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248910#M892006</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-04-15T05:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: WCHAN field in ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248911#M892007</link>
      <description>WCHAN stands for "wait channel".&lt;BR /&gt;&lt;BR /&gt;The value listed by the ps command shows a hexidecimal address of the resource that you are waiting or sleeping on.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2004 05:54:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248911#M892007</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2004-04-15T05:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: WCHAN field in ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248912#M892008</link>
      <description>If your goal is to find out what the process is blocked on/ waited on then try using glance as a first step, go into the process details and you could see what it is blocked on or the wait's on. &lt;BR /&gt;&lt;BR /&gt;You could use wchan also to get the function it was waiting on using adb. Again know what you are going for, there could be multiple threads/process waiting on the same wchan. If you need further assistance you could open a support call into HP.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Apr 2004 11:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248912#M892008</guid>
      <dc:creator>Navin Bhat_2</dc:creator>
      <dc:date>2004-04-16T11:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: WCHAN field in ps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248913#M892009</link>
      <description>The WCHAN value is not a function address.  It is actually the address that was passed into a call to sleep() in the kernel.  It should later be used in a call to wakeup().&lt;BR /&gt;&lt;BR /&gt;The WCHAN address is sometimes a global variable with a name that you could match to some particular driver or system call.  At other times it is an allocated address that has no particular meaning outside of the kernel code that is making those calls.&lt;BR /&gt;&lt;BR /&gt;You can get a look at what symbol a WCHAN value maps to using adb to print it as a symbolic address.  Here is a little script that looks at the WCHAN values of all the processes on the system.&lt;BR /&gt;&lt;BR /&gt;for a in $(UNIX95=1 /usr/bin/ps -e -o wchan | sort | uniq)&lt;BR /&gt;do&lt;BR /&gt;  print "0x$a?a"&lt;BR /&gt;done | adb /stand/vmunix&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Apr 2004 15:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wchan-field-in-ps/m-p/3248913#M892009</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2004-04-19T15:47:36Z</dc:date>
    </item>
  </channel>
</rss>

