ps cmd has TTY as "?"
Hi,
When I give the command "ps -ef | grep java" to see if my tomcat is running.. I find that the TTY column shows up as "?". What does this mean. My application then would work. I am killing this process and starting tomcat again. Please help. Thanks. With Regards, vjkchary. |
That means the process is not attached to a controlling terminal.
|
can we recover from this
Hi,
Can we recover from this.. I mean is there any other way to get my tomcat running, other than to kill the process and restart it again. Regards, vjkchary. |
Tomcat, being a webserver program, should run independently of anyone's terminal window.
So, why would you like to kill it? Many programs run without a TTY (a terminal window) associated to them. That's normal for services like ftp, http (web), etc. Furthermore, if your "ps" lists tomcat, then it is already running. But how do you run it exactly? Using a script in /etc/init.d? As a daemon? |
All times are GMT -5. The time now is 07:40 AM. |