<?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: Dumb question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219098#M169997</link>
    <description>Yes,&lt;BR /&gt;&lt;BR /&gt;Your processor time slices many times a second. Running is a state that many processes can be in. The other states are for processes that for example may be awaiting input or child processes to finish.&lt;BR /&gt;&lt;BR /&gt;The only dumb question btw is the one not asked.&lt;BR /&gt;&lt;BR /&gt;It was a very good question in my opinion.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 15 Mar 2004 12:22:18 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-03-15T12:22:18Z</dc:date>
    <item>
      <title>Dumb question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219096#M169995</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;How is possible to have more processes in running state than the number of CPU ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 15 Mar 2004 12:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219096#M169995</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-03-15T12:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dumb question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219097#M169996</link>
      <description>Yes it is.&lt;BR /&gt; &lt;BR /&gt;No in any instant of time but most measurements are taken over a period of time, even if it's just one second.  In that second, several processes might run.&lt;BR /&gt; &lt;BR /&gt;To give exact answers, I guess, it would be interesting to know just how you are determining that a process is running.&lt;BR /&gt; &lt;BR /&gt;Not such a dumb question though :)</description>
      <pubDate>Mon, 15 Mar 2004 12:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219097#M169996</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-15T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dumb question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219098#M169997</link>
      <description>Yes,&lt;BR /&gt;&lt;BR /&gt;Your processor time slices many times a second. Running is a state that many processes can be in. The other states are for processes that for example may be awaiting input or child processes to finish.&lt;BR /&gt;&lt;BR /&gt;The only dumb question btw is the one not asked.&lt;BR /&gt;&lt;BR /&gt;It was a very good question in my opinion.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 15 Mar 2004 12:22:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219098#M169997</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-15T12:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dumb question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219099#M169998</link>
      <description>Yes - this is normal for a "true" multi tasking OS.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 15 Mar 2004 12:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219099#M169998</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-03-15T12:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dumb question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219100#M169999</link>
      <description>To me there are only few state for a process :&lt;BR /&gt;- Active (running)&lt;BR /&gt;- Waiting for a resource (IO, ...)&lt;BR /&gt;- Sleeping (one may say that you're in a sleeping state when waiting for a resource. My understanding is sleeping is from your own will ;-)  - the process put itself to sleep whereas waiting for an IO the process has no choice !)&lt;BR /&gt;&lt;BR /&gt;from the man ps you have :&lt;BR /&gt;&lt;BR /&gt;state          The state of the 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;Therefore on a 4 cpus system only 4 processes can really be active at any one time.&lt;BR /&gt;Now, perf tools may give results for a certain amount of time - that you can adjust.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Mon, 15 Mar 2004 12:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219100#M169999</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-03-15T12:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dumb question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219101#M170000</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;I was just look at top.&lt;BR /&gt;I've tryed to get similar output from ps this way :&lt;BR /&gt;&lt;BR /&gt;while :&lt;BR /&gt;        do&lt;BR /&gt;        ps -efo s | grep R | wc -l&lt;BR /&gt;        sleep 3&lt;BR /&gt;        done&lt;BR /&gt;&lt;BR /&gt;The issue is the reliability of the measurement tool ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2004 12:34:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219101#M170000</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-03-15T12:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dumb question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219102#M170001</link>
      <description>Nicolas,&lt;BR /&gt; &lt;BR /&gt;Not really the reliability as such but whilst your measuring tool, e.g. "ps" or "top" is getting cpu time then the processes you are monitoring can not, because in reality, two processes can't be on the CPU at any instant in time.  Therefore an average is the best you can hope for.&lt;BR /&gt; &lt;BR /&gt;Furthermore, the process table is actually changing whilst "ps" is working so it can't possibly be accurate.  The "man" page for "ps" used to say something to this effect and added something like "but nothing about ps is reliable anyway".  I think they took that out because "ps" is good enough for everyday use.&lt;BR /&gt; &lt;BR /&gt;To find out exactly what is on the CPU at any one time, the kernel would have to find some way of dumping the process table without actually running.  This would be rather cool</description>
      <pubDate>Mon, 15 Mar 2004 12:41:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dumb-question/m-p/3219102#M170001</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-15T12:41:43Z</dc:date>
    </item>
  </channel>
</rss>

