Sponsored Content
Full Discussion: ps -ef | grep java | wc -l
Top Forums Shell Programming and Scripting ps -ef | grep java | wc -l Post 302300352 by suresh_krish on Tuesday 24th of March 2009 01:53:43 AM
Old 03-24-2009
hi rikxik,
what will be the output for ur script does it is starting the java daemon or it just checking the daemon status. i neeed to start the alone daemons which is stopped. can u please explain in details about ur script

thanks
suresh
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

PS -EF | GREP JAVA Modification

Hi, When I do ps -ef | grep java I get the following output on my server, But how to get just the last line and the pid....something like:- wasadmin@ccos2104:TEST:bin> ps -ef | grep java wasadmin 5935 54288 0 12:39 pts/8 00:00:00 grep java ccos2104Cell ccos2104 aa ... (2 Replies)
Discussion started by: crosairs
2 Replies
AIRPORT2-CONFIG(1)					      General Commands Manual						AIRPORT2-CONFIG(1)

NAME
airport2-config - Configurator for the Apple AirPort Extreme Base Station ("Snow") SYNOPSIS
airport2-config DESCRIPTION
airport2-config allows you to manage your AirPort base station, just like the AirPort software on Mac OS X. OPTIONS
airport2-config accepts no command-line options. airport2-config is a wrapper script around the Airport2BaseStationConfigurator.jar jar file located in /usr/share/java/airport-utils. You can set the JAVACMD environment variable to use a specific JVM instead of the one chosen by the wrapper script. Set the DEBUG environ- ment variable to 1 to get the debug output from the wrapper script. ENVIRONMENT VARIABLES
DEBUG Set this variable to 1 to get the debug output from the wrapper script. JAVACMD The full path to the Java Virtual Machine to use. By default, the wrapper uses JAVACMD; if it is not set, it looks for JAVA_BINDIR/java, then for JAVA_HOME/bin/java before looking for a java executable in the PATH. In the latter case, the JVM used can be configured using the Debian alternatives system (see update-alternatives(8)). JAVA_HOME The full path where your JDK/JRE is installed. JAVA_BINDIR The full path to the directory where the java executable is located. JAVA_ARGS Extra command-line arguments to be passed to the Java Virtual Machine. AUTHOR
airport2-config was written by Jon Sevy <jsevy@cs.drexel.edu>. This manual page was written by Julien BLACHE <jblache@debian.org>, for the Debian project (but may be used by others). May 20, 2006 AIRPORT2-CONFIG(1)
All times are GMT -4. The time now is 12:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy