1832950 Members
2866 Online
110048 Solutions
New Discussion

ps: pstat failure

 
SOLVED
Go to solution
GTENCSS
Occasional Contributor

ps: pstat failure

My application folks are getting a ps:pstat failure when running the following command:
if ps -efx | grep 'native_threads/java coep/coepd/djbatchj/brcd/BrcdProcessor' | grep -v grep
then
....
else
....
fi
However, it is intermittent. Any ideas? I was unable to find anything in the knowledge base for this.
4 REPLIES 4
Martin Johnson
Honored Contributor

Re: ps: pstat failure

use glance to check the process table and swap to see if they are full (or near full).

HTH
Marty
S.K. Chan
Honored Contributor

Re: ps: pstat failure

I'm not sure if this will point you to the right direction. Take a look at the patch for example (pstat patch; PHKL_26008 for 11.0), it increases the number of characters of the process command line that are able to be stored in the kernel. My suspicion is the "-x" option that you're using.
U.SivaKumar_2
Honored Contributor

Re: ps: pstat failure

Hi,
Check the permission of the file /var/adm/ps_data , should be
-rw-rw-r-- 1 root sys 18308 Sep 19 13:46 ps_data

regards,
U.SivaKumar
Innovations are made when conventions are broken
Dietmar Konermann
Honored Contributor
Solution

Re: ps: pstat failure

see may comments in thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfb26543254bfd611abdb0090277a778c,00.html

Regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)