Command to know the JBoss Service Status in UNIX.?

As we have start and stop service command for jboss configured in UNIX, so is it possible to know about the status of Jboss!  Like can we configure command for status like service jboss status? If yes Pls. let me know.
Or is there any other way to know about current status of jboss on UNIX, as we use service httpd status command for apache in UNIX.
Thanks in Advance!
Brijeshk9Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

anilallewarCommented:
Hmmm....as far as I know none that JBoss provides on its own. You can use the following command to find if the Java exe command corresponding to JBoss is running or not

ps -ef|grep java
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Brijeshk9Author Commented:
Thanks- for the command but  that I have already tried..! is there any way to configure/customize the command for Jboss Status...!

0
gheistCommented:
What UNIX (uname -a)? service - like TCP port? It is not Windows... Daemon processes running in backgrouns.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Ajay-SinghCommented:
You can use jmx console to find out the status of running
jboss. Take a look at section 1.3 of
 
http://docs.jboss.org/jbossas/getting_started/v4/html/install.html
0
anilallewarCommented:
Can you check out this link? Let me know if that is a starting point.

http://colab.mpdl.mpg.de/mediawiki/Jboss-rc-script_SLES10
0
ramazanyichCommented:
if you check 4.2.x jboss installation you will find run.sh and shutdown.sh file in JBOSS_HOME/bin directory.
Where you can find how they are doing special staff with JBOSS PID.
you can reuse those commands in your stop/start scripts
0
Brijeshk9Author Commented:
Thanks!
0
Brijeshk9Author Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.