LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-29-2009, 11:03 PM   #1
johnkalikavunkal
LQ Newbie
 
Registered: Jul 2008
Location: Bangalore
Posts: 24

Rep: Reputation: 15
Thumbs up ps -eH | grep java output in a active passive clustered output


Hi everyone,

we are having an ACTIVE PASSIVE clustered environment, Redhat Cluster Suite 4. It is used for the application Tomcat, which uses the java.

My question is that whenever we check the status of the service JAVA, using the command

# ps -eH | grep java

as output we get

4652 ? 00:01:34 java

what does this QUESTION mark in the output of ps command specify to.

In a normal scenario i.e., without clustering this QUESTION mark will not be there. I tested it by creating a test setup with same OS, RHEL 4 and same version of Tomcat and java.

Thanks in advance
 
Old 01-30-2009, 04:48 PM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
That means that java is not started from the terminal, non-tty start-up lets say.

Its not a problem, just ignore.

Try next time with ps -ef|grep -i java|grep -v grep

Good luck!
 
1 members found this post helpful.
Old 01-30-2009, 11:21 PM   #3
johnkalikavunkal
LQ Newbie
 
Registered: Jul 2008
Location: Bangalore
Posts: 24

Original Poster
Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by robertjinx View Post
That means that java is not started from the terminal, non-tty start-up lets say.

Its not a problem, just ignore.

Try next time with ps -ef|grep -i java|grep -v grep

Good luck!

thanks robert for your reply, thankyou very much
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to understand pipes - Can't pipe output from tail -f to grep then grep again lostjohnny Linux - Newbie 15 03-12-2009 10:31 PM
grep output on stdout and grep output to file don't match xnomad Linux - General 3 01-13-2007 04:56 AM
Need Grep command for the following output minil Programming 2 12-29-2005 07:49 AM
sort grep output wijnands Linux - Newbie 4 10-09-2004 07:14 AM
trying to figure out some output from grep naijaguy Linux - Newbie 8 08-17-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration