<?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: Hidden PIDs in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078044#M30232</link>
    <description>Please see this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://uwsg.indiana.edu/hypermail/linux/kernel/0612.1/1851.html" target="_blank"&gt;http://uwsg.indiana.edu/hypermail/linux/kernel/0612.1/1851.html&lt;/A&gt;</description>
    <pubDate>Fri, 28 Sep 2007 15:09:50 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2007-09-28T15:09:50Z</dc:date>
    <item>
      <title>Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078034#M30222</link>
      <description>When I run the top command to check the processor activity it displays PIDs and other useful information on my screen. Now when type the ps command I notice that some of the PIDs displayed by top do not appear in ps.&lt;BR /&gt;&lt;BR /&gt;I have attached output of top. The output of top displays PIDs 19533,21416,1594,1595 and 1595. &lt;BR /&gt;&lt;BR /&gt;For some reason ps is not displaying the above PIDs.&lt;BR /&gt;&lt;BR /&gt;Can anyone shed some light on this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Sep 2007 06:23:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078034#M30222</guid>
      <dc:creator>Danesh Qureshi</dc:creator>
      <dc:date>2007-09-28T06:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078035#M30223</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;java is a well known resource hog and its using a ton of resources on your system.&lt;BR /&gt;&lt;BR /&gt;java launches individual processes in response to certain application requests and the discrepancy may be due to the fact that the process you are monitoring is closed by the time you get to the ps command.&lt;BR /&gt;&lt;BR /&gt;I suppose the process table is corrupted but your system would not last long in that condition. I don't see anything on the process list that sticks out other than java using a lot of resources and dominating your whole system.&lt;BR /&gt;&lt;BR /&gt;Perhaps you can attach your ps command and output.&lt;BR /&gt;&lt;BR /&gt;Could be you formulated the ps command incorrectly.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 28 Sep 2007 06:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078035#M30223</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-28T06:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078036#M30224</link>
      <description>If you're really worried about hidden processes (which incidentally should not be possible to hide form a super user), you might want to verify your ps binary.&lt;BR /&gt;&lt;BR /&gt;If it's a redhat based system, an 'rpm -V procps' should do that for you, assuming that a 'which ps' returns '/bin/ps'.</description>
      <pubDate>Fri, 28 Sep 2007 07:10:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078036#M30224</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-09-28T07:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078037#M30225</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;The HP DL380 G4 server is running RedHat Linux As 3 update 4.&lt;BR /&gt;&lt;BR /&gt;The output of rpm -V procps give me nothing&lt;BR /&gt;[root#] &lt;BR /&gt;&lt;BR /&gt;The output which ps see below&lt;BR /&gt;[root]# which ps&lt;BR /&gt;/bin/ps&lt;BR /&gt;[root]# &lt;BR /&gt;&lt;BR /&gt;I have attached a file containing the output of top and the ps -ef.&lt;BR /&gt;&lt;BR /&gt;You will notice the java processes show up in top but not is ps -ef.&lt;BR /&gt;&lt;BR /&gt;I was wondering if this is expected behaviour of RedHat Linux As 3 that processes are hidden from ps but not top.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Sep 2007 09:01:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078037#M30225</guid>
      <dc:creator>Danesh Qureshi</dc:creator>
      <dc:date>2007-09-28T09:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078038#M30226</link>
      <description>Sorry forgot to attach the file. here it is.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Sep 2007 09:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078038#M30226</guid>
      <dc:creator>Danesh Qureshi</dc:creator>
      <dc:date>2007-09-28T09:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078039#M30227</link>
      <description>Maybe the process starts and die very fast, and from the output of ps, you have to check the full path to the java command, not just "java", for example:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root      1593  1561  3 Sep27 ?        01:06:14 /local/bea92/jdk150_08/bin/java -ms1536m -mx1536m -XX:MaxPermSize=192m -XX:NewSize=128m -XX:Ma&lt;BR /&gt;&lt;BR /&gt;You can also try:&lt;BR /&gt;&lt;BR /&gt;ps auxw |grep java</description>
      <pubDate>Fri, 28 Sep 2007 10:00:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078039#M30227</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-09-28T10:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078040#M30228</link>
      <description>have attached another file containing the output of the top command and you will notice those java PIDs are still running.&lt;BR /&gt;&lt;BR /&gt;See output of ps auwx | grep -i java&lt;BR /&gt;&lt;BR /&gt;[root]# ps auxw | grep -i java&lt;BR /&gt;root      1593  3.5 52.3 2496840 2109584 ?   S    Sep27  70:14 /local/bea92/jdk150_08/bin/java -ms1536m -mx1536m -XX:a&lt;BR /&gt;root     10252  0.1  5.4 1529816 218108 ?    S    Sep27   3:20 /local/bea92/jdk150_08/bin/java -ms128m -mx1024m -XX:N.&lt;BR /&gt;root     20427  0.0  0.0  3700  668 pts/3    S    16:14   0:00 grep -i java&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Sep 2007 10:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078040#M30228</guid>
      <dc:creator>Danesh Qureshi</dc:creator>
      <dc:date>2007-09-28T10:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078041#M30229</link>
      <description>I think that is interesting. What is your procps version?&lt;BR /&gt;&lt;BR /&gt;rpm -qi procps&lt;BR /&gt;&lt;BR /&gt;Checking the procps changelog here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://procps.sourceforge.net/changelog.html" target="_blank"&gt;http://procps.sourceforge.net/changelog.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In Version 3.1.5&lt;BR /&gt;serious hidden-process problem (3.1.3+) fixed&lt;BR /&gt;&lt;BR /&gt;Maybe you need to update your procps package.&lt;BR /&gt;&lt;BR /&gt;Also, check if you can find in /proc a directory that corresponds with the hidden processes.</description>
      <pubDate>Fri, 28 Sep 2007 10:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078041#M30229</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-09-28T10:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078042#M30230</link>
      <description>I have attached a file containing output of&lt;BR /&gt;rpm -qi procps&lt;BR /&gt;&lt;BR /&gt;I have cd to /proc directory&lt;BR /&gt;&lt;BR /&gt;The interesting thing is when I use ls -l I cannot see those PIDs but when I ls -la I can those PIDs which are also in top.&lt;BR /&gt;&lt;BR /&gt;I have appended the output &lt;BR /&gt;of ls -l and ls -la in the attached file to see what I am seeing.&lt;BR /&gt;&lt;BR /&gt;What are your thoughts now?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:36:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078042#M30230</guid>
      <dc:creator>Danesh Qureshi</dc:creator>
      <dc:date>2007-09-28T11:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078043#M30231</link>
      <description>Investigating a little further, it seems like these "dot directories" in /proc, are threads, and you can display with p-m option of ps, for example, ps auxm</description>
      <pubDate>Fri, 28 Sep 2007 15:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078043#M30231</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-09-28T15:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078044#M30232</link>
      <description>Please see this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://uwsg.indiana.edu/hypermail/linux/kernel/0612.1/1851.html" target="_blank"&gt;http://uwsg.indiana.edu/hypermail/linux/kernel/0612.1/1851.html&lt;/A&gt;</description>
      <pubDate>Fri, 28 Sep 2007 15:09:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078044#M30232</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-09-28T15:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078045#M30233</link>
      <description>Hi Ivan,&lt;BR /&gt;&lt;BR /&gt;When I type "ps auxm" it lists a lot of output.&lt;BR /&gt;&lt;BR /&gt;See attached file which contains output of "ps auxm".&lt;BR /&gt;&lt;BR /&gt;So what are these threads in Linux and do I need to worry about them. I have noticed that these hidden processes take up a lot of memory. See output of hidden PIDs using large amount of memory. Why is that?</description>
      <pubDate>Mon, 01 Oct 2007 09:10:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078045#M30233</guid>
      <dc:creator>Danesh Qureshi</dc:creator>
      <dc:date>2007-10-01T09:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078046#M30234</link>
      <description>&amp;gt;&amp;gt;&amp;gt; So what are these threads in Linux and do I need to worry about them. &lt;BR /&gt;&lt;BR /&gt;Threads are a way for a program to fork (or split) itself into two or more simultaneously (or pseudo-simultaneously) running tasks. I don't know what is, maybe your developers? What does the Java application on your system? They key thing is to identify if the application should fork too many threads, or the threads are not ending.&lt;BR /&gt;&lt;BR /&gt;Until you understand the function of these programs, you should be worried.&lt;BR /&gt;&lt;BR /&gt;I have noticed that these hidden processes take up a lot of memory. See output of hidden PIDs using large amount of memory. Why is that?&lt;BR /&gt;&lt;BR /&gt;Java programs are know to use a lot of memmory. But Linux handles the memory so most part of the memory used by process are shared, and a small part "private".</description>
      <pubDate>Mon, 01 Oct 2007 15:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078046#M30234</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-10-01T15:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078047#M30235</link>
      <description>Threads (aka lightweight processes) don't have their own resources, they all share the resources of the process that owns them. If you look through the list, whole groups of threads have the exact same memory use. The entire process is using that much memory, all those threads are just sharing it. If any one thread increases the memory use then the parent process actually grows and every thread it owns will show the increase.&lt;BR /&gt;&lt;BR /&gt;Should you worry about the threads? Are you the application developer? Are you the application admin? Are you getting complaints about performance or seeing resource issues on the system? If not, then you probably don't need worry. Threads are a normal part of a running system, especially if you're hosting Java apps.</description>
      <pubDate>Tue, 02 Oct 2007 10:08:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078047#M30235</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2007-10-02T10:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden PIDs</title>
      <link>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078048#M30236</link>
      <description>The DBA has logged a call with WebCT who develop the application and are awaiting feedback from them to let us know how to resolve the performance issue with their WebCT application. I will let you know the outcome of the issue. In the mean time thank you all for your help and advice.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Oct 2007 11:41:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/hidden-pids/m-p/4078048#M30236</guid>
      <dc:creator>Danesh Qureshi</dc:creator>
      <dc:date>2007-10-03T11:41:51Z</dc:date>
    </item>
  </channel>
</rss>

