<?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: Show Sys/State=SUSP in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209020#M96899</link>
    <description>&lt;!--!*#--&gt;John,&lt;BR /&gt;&lt;BR /&gt;Your explanations are crystal clear. Thanks for your time you spent to give this answer.&lt;BR /&gt;&lt;BR /&gt;Have a nice day&lt;BR /&gt;&lt;BR /&gt;Pierre</description>
    <pubDate>Fri, 13 Nov 2009 08:13:03 GMT</pubDate>
    <dc:creator>Max Pierre</dc:creator>
    <dc:date>2009-11-13T08:13:03Z</dc:date>
    <item>
      <title>Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209016#M96895</link>
      <description>&lt;!--!*#--&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to know what proc states a show system/state=SUSP is supposed to return.&lt;BR /&gt;For example :&lt;BR /&gt;VMSPOR &amp;gt; show sys/state=SUSP&lt;BR /&gt;OpenVMS V8.3  on node VMSPOR  12-NOV-2009 09:37:07.48  Uptime  0 02:00:22&lt;BR /&gt;  Pid    Process Name    State  Pri      I/O       CPU       Page flts  Pages&lt;BR /&gt;000000AF SYSTEM          RWMBX    6   324460   0 00:06:01.20     49602    122&lt;BR /&gt;0000025B PIERRE          SUSP     4      190   0 00:00:00.77       445     83&lt;BR /&gt;&lt;BR /&gt;Gives processes in RWMBX and SUSP states.&lt;BR /&gt;The dcl dictionary book does not give any details about what system states would be returned when the SUSP state is "checked".&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;Pierre</description>
      <pubDate>Thu, 12 Nov 2009 09:50:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209016#M96895</guid>
      <dc:creator>Max Pierre</dc:creator>
      <dc:date>2009-11-12T09:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209017#M96896</link>
      <description>This are the possible states.&lt;BR /&gt;&lt;BR /&gt;Jur.&lt;BR /&gt;&lt;BR /&gt;'RWMBX' Mailbox full&lt;BR /&gt;'RWNPG' Non-paged pool&lt;BR /&gt;'RWPFF' Page file full&lt;BR /&gt;'RWPAG' Paged pool&lt;BR /&gt;'RWBRK' Waiting for BROADCAST to finish&lt;BR /&gt;'RWIMG' Image activation lock&lt;BR /&gt;'RWQUO' Pooled quota&lt;BR /&gt;'RWLCK' Lock ID data base&lt;BR /&gt;'RWSWP' Swap file space&lt;BR /&gt;'RWMPE' Modified page list empty&lt;BR /&gt;'RWMPB' Modified page writer busy&lt;BR /&gt;'RWSCS' SCS wait&lt;BR /&gt;'RWCLU' Cluster transition wait&lt;BR /&gt;'RWCAP' CPU capability required&lt;BR /&gt;'RWCSV' Cluster server&lt;BR /&gt;'RWSNP' System snapshot&lt;BR /&gt;'PSXFR' POSIX fork wait&lt;BR /&gt;'RWINS' Inner mode (semaphore) wait&lt;BR /&gt;'RWEXH' 'Exit Handling' wait&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Nov 2009 09:57:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209017#M96896</guid>
      <dc:creator>Jur van der Burg</dc:creator>
      <dc:date>2009-11-12T09:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209018#M96897</link>
      <description>Jur,&lt;BR /&gt;&lt;BR /&gt;Thanks for the list :-)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Pierre</description>
      <pubDate>Thu, 12 Nov 2009 11:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209018#M96897</guid>
      <dc:creator>Max Pierre</dc:creator>
      <dc:date>2009-11-12T11:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209019#M96898</link>
      <description>Pierre,&lt;BR /&gt;&lt;BR /&gt;  You'll occasionally see a command like &lt;BR /&gt;&lt;BR /&gt;$ SHOW PROCESS/CONTINUOUS&lt;BR /&gt;&lt;BR /&gt;  return an error "Process is suspended", when the process is in a resource wait state, rather than in true SUSP state.&lt;BR /&gt;&lt;BR /&gt;  That's because the failure status from a $GETJPI on such a process is SS$_SUSPENDED. The definition of the state is&lt;BR /&gt;&lt;BR /&gt;"The specified process is suspended or in a miscellaneous wait state, and the requested information cannot be obtained."&lt;BR /&gt;&lt;BR /&gt;Jur's list of states looks complete as of latest version, V8.3, but be aware that some of these are fairly recent additions, so more may be added in future.&lt;BR /&gt;&lt;BR /&gt;  Explanation: Some (limited) information about processes can be determined from the "outside", everything else requires asking the process. The target process must execute a kernel AST to gather the information and return it to the requester. A process in SUSP or any of the resource wait states cannot execute this code, and therefore cannot return the extended information.&lt;BR /&gt;&lt;BR /&gt;  Unfortunately, the design decision in $GETJPI was to lump all these states together and call them all "suspended". This is confusing and misleading, but that's just the way it is. &lt;BR /&gt;&lt;BR /&gt;  If you want to list just the processes that are in "true" SUSP state, try:&lt;BR /&gt;&lt;BR /&gt;PIPE SHOW SYSTEM/STATE=(SUSP,CUR) | -&lt;BR /&gt; (SHOW SYSTEM/NOPROCESS ; SEARCH SYS$PIPE " SUSP "/EXACT) | -&lt;BR /&gt; SEARCH SYS$PIPE "%SEARCH-I-NOMATCHES"/MATCH=NOR&lt;BR /&gt;&lt;BR /&gt;(getting this to work for all cases is a bit ugly, and expensive. See if you can work out the reason for all the apparently extraneous stuff. There are still pathological cases where it will do strange things)</description>
      <pubDate>Fri, 13 Nov 2009 02:25:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209019#M96898</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-11-13T02:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209020#M96899</link>
      <description>&lt;!--!*#--&gt;John,&lt;BR /&gt;&lt;BR /&gt;Your explanations are crystal clear. Thanks for your time you spent to give this answer.&lt;BR /&gt;&lt;BR /&gt;Have a nice day&lt;BR /&gt;&lt;BR /&gt;Pierre</description>
      <pubDate>Fri, 13 Nov 2009 08:13:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209020#M96899</guid>
      <dc:creator>Max Pierre</dc:creator>
      <dc:date>2009-11-13T08:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209021#M96900</link>
      <description>&lt;!--!*#--&gt;Add MUTEX to Jur's list since it is the one Miscellaneous Wait State that doesn't start with RW.&lt;BR /&gt;&lt;BR /&gt;Also I believe that any process with that has the DELPEN bit set will also cause $GETJPI to return SS$_SUSPENDED, and would therefore show up with SHOW SYSTEM/STATE=SUSP.  So under unusual circumstances you could see a process in various other states, including LEF[O] or COM[O].</description>
      <pubDate>Fri, 13 Nov 2009 18:03:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209021#M96900</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2009-11-13T18:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209022#M96901</link>
      <description>Pierre&lt;BR /&gt;&lt;BR /&gt;You can often see some more states that will appear in future Vms versions with&lt;BR /&gt;&lt;BR /&gt;$ lib/extract=$rsndef/out=rsn.mar sys$library:lib.mlb&lt;BR /&gt;&lt;BR /&gt;will put in rsn.mar the list of states.&lt;BR /&gt;&lt;BR /&gt;Have fun.&lt;BR /&gt;&lt;BR /&gt;GÃ©rard</description>
      <pubDate>Fri, 13 Nov 2009 21:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209022#M96901</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2009-11-13T21:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209023#M96902</link>
      <description>I once tried to find the suspended processes too. I used lexicals to find them and found all the mentioned states. So, I checked the "suspended" every second during 60 seconds and if they were still suspended I reported them as suspect. In 10 years only the real suspended came up as suspended.&lt;BR /&gt;&lt;BR /&gt;fwiw&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Sat, 14 Nov 2009 18:31:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209023#M96902</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2009-11-14T18:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209024#M96903</link>
      <description>As for another way toward spotting these cases...&lt;BR /&gt;&lt;BR /&gt;set audit /enable=process=suspnd&lt;BR /&gt;&lt;BR /&gt;These suspended processes can also arise in cases when OpenVMS system security is configured to suspend processes that are generating volumes of activity and when security-related system resources are scarce.</description>
      <pubDate>Sat, 14 Nov 2009 19:41:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209024#M96903</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-11-14T19:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Show Sys/State=SUSP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209025#M96904</link>
      <description>&lt;!--!*#--&gt;Thank you all !&lt;BR /&gt;&lt;BR /&gt;As always, this forum is truly helpful.&lt;BR /&gt;&lt;BR /&gt;As I want to monitor a system continuously, I'll give a try to something approaching the solution proposed by Wim.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Pierre</description>
      <pubDate>Mon, 16 Nov 2009 11:58:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/show-sys-state-susp/m-p/5209025#M96904</guid>
      <dc:creator>Max Pierre</dc:creator>
      <dc:date>2009-11-16T11:58:17Z</dc:date>
    </item>
  </channel>
</rss>

