<?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: process status in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515190#M366344</link>
    <description>himacs,&lt;BR /&gt;&lt;BR /&gt;Check with ps command if the prcess still running, if it is using gzip you will see the gzip processes :&lt;BR /&gt;# ps -ef | grep -i gzip &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can track it from there.&lt;BR /&gt;&lt;BR /&gt;or check if the scrip has been executed:&lt;BR /&gt;Check the crontab log file: (look for the script name) &lt;BR /&gt;in /var/adm/cron/log &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
    <pubDate>Thu, 15 Oct 2009 20:26:50 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2009-10-15T20:26:50Z</dc:date>
    <item>
      <title>process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515189#M366343</link>
      <description>our backup team have a script which zip dumpfiles and runs automatically every midnite.&lt;BR /&gt;&lt;BR /&gt;NOw i can see that gzip process is running but its not showing in top output.When i checked the path where dump file is zipped,from last 10 minutes the file size is constant,not varrying.&lt;BR /&gt;&lt;BR /&gt;Please tell me the gzip process is running or hung state? Because of this file system usage crossed 95% which is very critical.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;himacs&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Oct 2009 20:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515189#M366343</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-10-15T20:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515190#M366344</link>
      <description>himacs,&lt;BR /&gt;&lt;BR /&gt;Check with ps command if the prcess still running, if it is using gzip you will see the gzip processes :&lt;BR /&gt;# ps -ef | grep -i gzip &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can track it from there.&lt;BR /&gt;&lt;BR /&gt;or check if the scrip has been executed:&lt;BR /&gt;Check the crontab log file: (look for the script name) &lt;BR /&gt;in /var/adm/cron/log &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Thu, 15 Oct 2009 20:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515190#M366344</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-10-15T20:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515191#M366345</link>
      <description>Als once you find out the process pid :run a tusc session on the pid and see if it is doing read write or in a sleeping state . A sleeping state represents the process is not doing anything at that moment.:&lt;BR /&gt;&lt;BR /&gt;# ps -ef  | grep gzip&lt;BR /&gt;# tusc &lt;PID&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.&lt;/PID&gt;</description>
      <pubDate>Thu, 15 Oct 2009 20:30:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515191#M366345</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-10-15T20:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515192#M366346</link>
      <description>Himacs, you can also check the script if there is any logfile it is maintaining by appending its activity of gzipping the dump files to the logfile. &lt;BR /&gt;&lt;BR /&gt;If you are running 11.31  you can trace th child process by # ptree &lt;PID&gt; and you will have a clear visibility.  &lt;BR /&gt;gzip takes lot of system resources and usually it is seen in the top of the top screen. If not may be process finished or not enough resource or in the queue. &lt;BR /&gt;Also check the syste load with # uptime . &lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;&lt;BR /&gt;&lt;/PID&gt;</description>
      <pubDate>Thu, 15 Oct 2009 20:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515192#M366346</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-10-15T20:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515193#M366347</link>
      <description>Shalom himacs,&lt;BR /&gt;&lt;BR /&gt;The obvious conclusion from the initial post is that the gzip process is running but is not doing anything.&lt;BR /&gt;&lt;BR /&gt;It could however be waiting for I/O and therefore not showing on top.&lt;BR /&gt;&lt;BR /&gt;It should show up on any one of the previous ps commands provided above in this thread.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 15 Oct 2009 20:38:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515193#M366347</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-10-15T20:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515194#M366348</link>
      <description>Hi Raj,&lt;BR /&gt;&lt;BR /&gt;Thanx for the response..&lt;BR /&gt;&lt;BR /&gt;Actually zipping is happening.NOw FS usage is fine.But gzip process not shown in top output.Since the same FS is related to cluster,its critical one.&lt;BR /&gt;and man tusc shows no manual entry.&lt;BR /&gt;Is there any other command to show process status,whether its running or hung&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;himacs</description>
      <pubDate>Thu, 15 Oct 2009 20:38:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515194#M366348</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-10-15T20:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515195#M366349</link>
      <description>Hi SEP,&lt;BR /&gt;&lt;BR /&gt;Thanx for the response.&lt;BR /&gt;&lt;BR /&gt;Actually ps -ef|grep gzip shows the process details.The same i missed to mention in my initial post.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;himacs</description>
      <pubDate>Thu, 15 Oct 2009 20:41:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515195#M366349</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-10-15T20:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515196#M366350</link>
      <description>do you see anything with: # top -s2 -d2 | grep gzip</description>
      <pubDate>Thu, 15 Oct 2009 20:46:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515196#M366350</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-10-15T20:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515197#M366351</link>
      <description>Yes Raj,&lt;BR /&gt;&lt;BR /&gt;Its showing list of processes with gzip on top.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;himacs</description>
      <pubDate>Thu, 15 Oct 2009 20:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515197#M366351</guid>
      <dc:creator>himacs</dc:creator>
      <dc:date>2009-10-15T20:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515198#M366352</link>
      <description>Himacs,&lt;BR /&gt;Another way to trace:,&lt;BR /&gt; &lt;BR /&gt;If you know the dump file locaton: &lt;BR /&gt;- cd /dumpfile_location&lt;BR /&gt;- do fuser -u *.dmp    //  or # fuser -u filename.dmp&lt;BR /&gt;- look at the pid associated with it. (It will show the pid if the dump file is in use by gzip)&lt;BR /&gt;- grep the pid in ( ps -ef | grep &lt;PID&gt;)&lt;BR /&gt;- Then you will be able to trace it if the dump file is in use by the gzip script.&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;/PID&gt;</description>
      <pubDate>Thu, 15 Oct 2009 20:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515198#M366352</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-10-15T20:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: process status</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515199#M366353</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;This is probably more like how to check state of a process&lt;BR /&gt;&lt;BR /&gt;ps -ef -o state,pid,ppid,wchan,comm | grep -i zip&lt;BR /&gt;&lt;BR /&gt;states of a process:&lt;BR /&gt;&lt;BR /&gt;0 Nonexistent&lt;BR /&gt;S Sleeping&lt;BR /&gt;W Waiting&lt;BR /&gt;R Running&lt;BR /&gt;I Intermediate&lt;BR /&gt;Z Terminated&lt;BR /&gt;T Stopped&lt;BR /&gt;X Growing&lt;BR /&gt;&lt;BR /&gt;WCHAN&lt;BR /&gt;The event for which the process is waiting or sleeping; if there is none, a hyphen (-) is displayed.&lt;BR /&gt;&lt;BR /&gt;ppid - parent process&lt;BR /&gt;&lt;BR /&gt;comm - command in execution</description>
      <pubDate>Fri, 16 Oct 2009 04:42:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-status/m-p/4515199#M366353</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2009-10-16T04:42:04Z</dc:date>
    </item>
  </channel>
</rss>

