LinuxQuestions.org
Visit Jeremy's Blog.
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-30-2009, 12:03 AM   #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, 05:48 PM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 586

Rep: Reputation: 58
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-31-2009, 12:21 AM   #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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:31 PM
grep output on stdout and grep output to file don't match xnomad Linux - General 3 01-13-2007 05:56 AM
Need Grep command for the following output minil Programming 2 12-29-2005 08:49 AM
sort grep output wijnands Linux - Newbie 4 10-09-2004 08:14 AM
trying to figure out some output from grep naijaguy Linux - Newbie 8 08-17-2004 01:44 PM


All times are GMT -5. The time now is 04:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration