- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Hidden PIDs
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 11:23 PM
тАО09-27-2007 11:23 PM
I have attached output of top. The output of top displays PIDs 19533,21416,1594,1595 and 1595.
For some reason ps is not displaying the above PIDs.
Can anyone shed some light on this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2007 11:44 PM
тАО09-27-2007 11:44 PM
Solutionjava is a well known resource hog and its using a ton of resources on your system.
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.
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.
Perhaps you can attach your ps command and output.
Could be you formulated the ps command incorrectly.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 12:10 AM
тАО09-28-2007 12:10 AM
Re: Hidden PIDs
If it's a redhat based system, an 'rpm -V procps' should do that for you, assuming that a 'which ps' returns '/bin/ps'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 02:01 AM
тАО09-28-2007 02:01 AM
Re: Hidden PIDs
The HP DL380 G4 server is running RedHat Linux As 3 update 4.
The output of rpm -V procps give me nothing
[root#]
The output which ps see below
[root]# which ps
/bin/ps
[root]#
I have attached a file containing the output of top and the ps -ef.
You will notice the java processes show up in top but not is ps -ef.
I was wondering if this is expected behaviour of RedHat Linux As 3 that processes are hidden from ps but not top.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 02:02 AM
тАО09-28-2007 02:02 AM
Re: Hidden PIDs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 03:00 AM
тАО09-28-2007 03:00 AM
Re: Hidden PIDs
root 1593 1561 3 Sep27 ? 01:06:14 /local/bea92/jdk150_08/bin/java -ms1536m -mx1536m -XX:MaxPermSize=192m -XX:NewSize=128m -XX:Ma
You can also try:
ps auxw |grep java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 03:22 AM
тАО09-28-2007 03:22 AM
Re: Hidden PIDs
See output of ps auwx | grep -i java
[root]# ps auxw | grep -i java
root 1593 3.5 52.3 2496840 2109584 ? S Sep27 70:14 /local/bea92/jdk150_08/bin/java -ms1536m -mx1536m -XX:a
root 10252 0.1 5.4 1529816 218108 ? S Sep27 3:20 /local/bea92/jdk150_08/bin/java -ms128m -mx1024m -XX:N.
root 20427 0.0 0.0 3700 668 pts/3 S 16:14 0:00 grep -i java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 03:41 AM
тАО09-28-2007 03:41 AM
Re: Hidden PIDs
rpm -qi procps
Checking the procps changelog here:
http://procps.sourceforge.net/changelog.html
In Version 3.1.5
serious hidden-process problem (3.1.3+) fixed
Maybe you need to update your procps package.
Also, check if you can find in /proc a directory that corresponds with the hidden processes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 04:36 AM
тАО09-28-2007 04:36 AM
Re: Hidden PIDs
rpm -qi procps
I have cd to /proc directory
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.
I have appended the output
of ls -l and ls -la in the attached file to see what I am seeing.
What are your thoughts now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2007 08:00 AM
тАО09-28-2007 08:00 AM