<?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: Check the process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692654#M247493</link>
    <description>Hi&lt;BR /&gt;Are you using hpux versions 10.20 or 11.i ?&lt;BR /&gt;Because on my systems a ps-ef &lt;BR /&gt;orapic  1619     1  0 09:16:42 ?         0:25 oracleP01 (LOCAL=NO)&lt;BR /&gt;where the 2nd column is the pid and 0:25&lt;BR /&gt;is the cpu time clocked up.&lt;BR /&gt;&lt;BR /&gt;The most extended ps I can run is&lt;BR /&gt;[root@orasrv1:]/root&amp;lt;&amp;gt;&amp;gt;&amp;gt; ps -eld| grep R&lt;BR /&gt;  F S        UID   PID  PPID  C PRI NI             ADDR   SZ            WCHAN TTY       TIME COMD&lt;BR /&gt;1003 R          0    36     0  0 152 20         43fcb800    0                - ?         6:38 vxfsd&lt;BR /&gt;&lt;BR /&gt;The capital R means it is running,&lt;BR /&gt;if it is S it is sleeping.&lt;BR /&gt;&lt;BR /&gt;Do you have top ?&lt;BR /&gt;You can output to a file top -f &lt;FILE&gt;&lt;BR /&gt;Although that maybe not so handy,&lt;BR /&gt;as it displays the big procs first.&lt;BR /&gt;&lt;BR /&gt;Let me know if it is this that you want ?&lt;BR /&gt;want. We can dig deeper.&lt;BR /&gt;rgds,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FILE&gt;</description>
    <pubDate>Fri, 16 Dec 2005 11:19:18 GMT</pubDate>
    <dc:creator>Frank de Vries</dc:creator>
    <dc:date>2005-12-16T11:19:18Z</dc:date>
    <item>
      <title>Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692643#M247482</link>
      <description>If I want to check the process ( eg. the process name is "oraapp" ) in the system that have already submitted over 15 minutes , includes the process status is sleep or running , what can I do ? thx</description>
      <pubDate>Fri, 16 Dec 2005 01:32:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692643#M247482</guid>
      <dc:creator>hanyyu1</dc:creator>
      <dc:date>2005-12-16T01:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692644#M247483</link>
      <description>ps -Coraapp -o pid,ruser,state,args</description>
      <pubDate>Fri, 16 Dec 2005 01:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692644#M247483</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-16T01:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692645#M247484</link>
      <description>Just Try &lt;BR /&gt;&lt;BR /&gt;   ps -lf | grep oraapp ,&lt;BR /&gt;&lt;BR /&gt;    The second column will give the status of the server.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Guna</description>
      <pubDate>Fri, 16 Dec 2005 01:44:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692645#M247484</guid>
      <dc:creator>guna_1</dc:creator>
      <dc:date>2005-12-16T01:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692646#M247485</link>
      <description>Hi Quna ,&lt;BR /&gt;&lt;BR /&gt;I am not want to check the status , if I want to check the pid , what can I do ? thx.</description>
      <pubDate>Fri, 16 Dec 2005 02:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692646#M247485</guid>
      <dc:creator>hanyyu1</dc:creator>
      <dc:date>2005-12-16T02:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692647#M247486</link>
      <description>UNIX95= ps -Coraapp -o pid,ruser,state,args&lt;BR /&gt;&lt;BR /&gt;This will give what you want.</description>
      <pubDate>Fri, 16 Dec 2005 02:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692647#M247486</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-16T02:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692648#M247487</link>
      <description>thx RAC,&lt;BR /&gt;&lt;BR /&gt;if I want ps -C , it seems no such option .&lt;BR /&gt;&lt;BR /&gt;ps -C &lt;BR /&gt;ps: illegal option -- C&lt;BR /&gt;usage: ps [-edaflP] [-u ulist] [-g glist] [-p plist] [-t tlist] [-R prmgroup]</description>
      <pubDate>Fri, 16 Dec 2005 02:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692648#M247487</guid>
      <dc:creator>hanyyu1</dc:creator>
      <dc:date>2005-12-16T02:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692649#M247488</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;execute&lt;BR /&gt;&lt;BR /&gt;#ps -ef | grep &lt;PROCESS name=""&gt;&lt;BR /&gt;&lt;BR /&gt;This will give the following details about the process.&lt;BR /&gt;&lt;BR /&gt; UID   PID  PPID  C    STIME TTY       TIME COMMAND&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;root     0     0  0  Dec  9  ?         0:04 swapper&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/PROCESS&gt;</description>
      <pubDate>Fri, 16 Dec 2005 02:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692649#M247488</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2005-12-16T02:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692650#M247489</link>
      <description>That would require to do  following first&lt;BR /&gt;UNIX95=1&lt;BR /&gt;&lt;BR /&gt;ps -Coraapp -o pid,state,ruser,args</description>
      <pubDate>Fri, 16 Dec 2005 02:27:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692650#M247489</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-16T02:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692651#M247490</link>
      <description># ps -elf|grep -i "ora" will give you. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 16 Dec 2005 02:48:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692651#M247490</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-16T02:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692652#M247491</link>
      <description>Indeed keep it simple&lt;BR /&gt;you can just do &lt;BR /&gt;&lt;BR /&gt;ps -ef | grep oraap&lt;BR /&gt;&lt;BR /&gt;However, I wondered if it concerned an&lt;BR /&gt;Oracle process you can check if &lt;BR /&gt;the connection was set up in Oracle&lt;BR /&gt;&lt;BR /&gt;select p.spid&lt;BR /&gt;s.username,&lt;BR /&gt;p.spid, s.sid, s.serial# , s.program&lt;BR /&gt;from v$session s, v$process p&lt;BR /&gt;where s.paddr = p.addr&lt;BR /&gt;and s.type = 'USER'&lt;BR /&gt;&lt;BR /&gt;and then find your spid (=&lt;PID&gt;)&lt;BR /&gt;and use this in your unix grep:&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep &lt;THE pid=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/THE&gt;&lt;/PID&gt;</description>
      <pubDate>Fri, 16 Dec 2005 03:35:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692652#M247491</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2005-12-16T03:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692653#M247492</link>
      <description>thx all , &lt;BR /&gt;&lt;BR /&gt;it is not oracle process .&lt;BR /&gt;&lt;BR /&gt;if use ps -elf|grep -i "ora"  or ps -ef , it only show the CPU process time of the process , if I want to know the process that have submitted ( from the submit time to current time )is over 15 minutes , even it only run within 1 second in term of CPU  , what can I do ? thx.</description>
      <pubDate>Fri, 16 Dec 2005 07:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692653#M247492</guid>
      <dc:creator>hanyyu1</dc:creator>
      <dc:date>2005-12-16T07:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692654#M247493</link>
      <description>Hi&lt;BR /&gt;Are you using hpux versions 10.20 or 11.i ?&lt;BR /&gt;Because on my systems a ps-ef &lt;BR /&gt;orapic  1619     1  0 09:16:42 ?         0:25 oracleP01 (LOCAL=NO)&lt;BR /&gt;where the 2nd column is the pid and 0:25&lt;BR /&gt;is the cpu time clocked up.&lt;BR /&gt;&lt;BR /&gt;The most extended ps I can run is&lt;BR /&gt;[root@orasrv1:]/root&amp;lt;&amp;gt;&amp;gt;&amp;gt; ps -eld| grep R&lt;BR /&gt;  F S        UID   PID  PPID  C PRI NI             ADDR   SZ            WCHAN TTY       TIME COMD&lt;BR /&gt;1003 R          0    36     0  0 152 20         43fcb800    0                - ?         6:38 vxfsd&lt;BR /&gt;&lt;BR /&gt;The capital R means it is running,&lt;BR /&gt;if it is S it is sleeping.&lt;BR /&gt;&lt;BR /&gt;Do you have top ?&lt;BR /&gt;You can output to a file top -f &lt;FILE&gt;&lt;BR /&gt;Although that maybe not so handy,&lt;BR /&gt;as it displays the big procs first.&lt;BR /&gt;&lt;BR /&gt;Let me know if it is this that you want ?&lt;BR /&gt;want. We can dig deeper.&lt;BR /&gt;rgds,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FILE&gt;</description>
      <pubDate>Fri, 16 Dec 2005 11:19:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692654#M247493</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2005-12-16T11:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692655#M247494</link>
      <description>Hi&lt;BR /&gt;Are you using hpux versions 10.20 or 11.i ?&lt;BR /&gt;Because on my systems a ps-ef &lt;BR /&gt;&lt;BR /&gt;orapic  1619     1  0 09:16:42 ?         0:25 oracleP01 (LOCAL=NO)&lt;BR /&gt;where the 2nd column is the pid and 0:25&lt;BR /&gt;is the cpu time clocked up.&lt;BR /&gt;&lt;BR /&gt;You can easily script that when&lt;BR /&gt;a command started with the date&lt;BR /&gt;command , how long this is going on for.&lt;BR /&gt;&lt;BR /&gt;The most extended ps I can run is&lt;BR /&gt;[root@orasrv1:]/root&amp;lt;&amp;gt;&amp;gt;&amp;gt; ps -eld| grep R&lt;BR /&gt;  F S        UID   PID  PPID  C PRI NI             ADDR   SZ            WCHAN TTY       TIME COMD&lt;BR /&gt;1003 R          0    36     0  0 152 20         43fcb800    0                - ?         6:38 vxfsd&lt;BR /&gt;&lt;BR /&gt;The capital R means it is running,&lt;BR /&gt;if it is S it is sleeping.&lt;BR /&gt;&lt;BR /&gt;Do you have top ?&lt;BR /&gt;You can output to a file top -f &lt;FILE&gt;&lt;BR /&gt;Although that maybe not so handy,&lt;BR /&gt;as it displays the big procs first.&lt;BR /&gt;&lt;BR /&gt;Let me know if it is this that you want ?&lt;BR /&gt;want. We can dig deeper.&lt;BR /&gt;Because I am not entirely sure this is what&lt;BR /&gt;you want.&lt;BR /&gt;rgds,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FILE&gt;</description>
      <pubDate>Fri, 16 Dec 2005 11:22:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692655#M247494</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2005-12-16T11:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692656#M247495</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Sorry to be so strict, but as you &lt;BR /&gt;are a relative new member it is better&lt;BR /&gt;to be told in the beginning.&lt;BR /&gt;&lt;BR /&gt;Noticed that you have never ever &lt;BR /&gt;allocated any points to any of the 36 responses to your questions.&lt;BR /&gt;&lt;BR /&gt;Even if ou get ananswer that is not helpfull,&lt;BR /&gt;it is etiquette to allocate points :&lt;BR /&gt;I paste the rules for your info:&lt;BR /&gt;As you assign points, please keep in mind the scale that applies: &lt;BR /&gt;&lt;BR /&gt;N/A: The answer was simply a point of clarification to my original question &lt;BR /&gt;&lt;BR /&gt;1-3: The answer didn't really help answer my question but thanks for your assistance! &lt;BR /&gt;&lt;BR /&gt;4-7: The answer helped with a portion of my question, but I still need some additional help. &lt;BR /&gt;&lt;BR /&gt;8-10: The answer has solved my problem completely! Now I'm a happy camper! &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for taking your time&lt;BR /&gt;to read this&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Dec 2005 11:43:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692656#M247495</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2005-12-16T11:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692657#M247496</link>
      <description>thx all replies ,&lt;BR /&gt;&lt;BR /&gt;I will explain my question clearly , what I want is to find the process(es) which are submitted over 15 minutes , is it possible ? thx .</description>
      <pubDate>Tue, 20 Dec 2005 04:07:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692657#M247496</guid>
      <dc:creator>hanyyu1</dc:creator>
      <dc:date>2005-12-20T04:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692658#M247497</link>
      <description>Yes.&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -ef -o time,pid,comm | grep -v 'TIME' | sort -rnk 1 | awk -F: '{ if ($1&amp;gt;15) { print; }}'&lt;BR /&gt;&lt;BR /&gt;Is it giving what do you want?&lt;BR /&gt;&lt;BR /&gt;-Muthu</description>
      <pubDate>Tue, 20 Dec 2005 04:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692658#M247497</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-20T04:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692659#M247498</link>
      <description>To get state of process then,&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -ef -o time,pid,comm,state | grep -v 'TIME' | sort -rnk 1 | awk -F: '{ if ($1&amp;gt;15) { print; }}'&lt;BR /&gt;&lt;BR /&gt;-Muthu</description>
      <pubDate>Tue, 20 Dec 2005 04:19:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692659#M247498</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-20T04:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692660#M247499</link>
      <description>Looks like you are confused between elapsed time (time since process was started) and cpu time taken by process.&lt;BR /&gt;&lt;BR /&gt;Folloing are the details that you can get&lt;BR /&gt;etime - elapsed time&lt;BR /&gt;stime - start time of process&lt;BR /&gt;time - commulative time.&lt;BR /&gt;&lt;BR /&gt;In first case (elapsed time), you need to do as follows.&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -C"exact_process_name" -o pid,etime,ruser,args&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Dec 2005 04:26:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692660#M247499</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-20T04:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Check the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692661#M247500</link>
      <description>thx Muthukumar ,&lt;BR /&gt;&lt;BR /&gt;your script is excellent , but it seems not find the process which over 15 minutes ? isn't it ? thx</description>
      <pubDate>Tue, 20 Dec 2005 06:19:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-the-process/m-p/3692661#M247500</guid>
      <dc:creator>hanyyu1</dc:creator>
      <dc:date>2005-12-20T06:19:21Z</dc:date>
    </item>
  </channel>
</rss>

