Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java in Unix 1

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
Hello,

We have java class in Unix. We are running this class using script startapplication.sh. This script has following only one line.

java com.test.apps.socketListener

How to check if the java class is running or not in the Unix. If running, what would be the proper way to stop/kill it. I'm very new to Unix environment. I really appreciate any help.

Thanks
 
man ps
man kill

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Thanks much !

I have one more doubt. I'm not sure whether Unix forum is appropriate or Java forum. The socketListener class I mentioned in the original question calls other java classes. I need to modify the other classes. Once I modify the class can I just overrides the old .class files with new one ? Does it require restarting any service/server on Unix ?

Thanks

 
only the running socketListener.

The classes which you override - are they started as new process with a new jvm, or are they called directly by the socketListener? You know that in the latter you have to stick to the interface - you're not new to java too?

dont't visit my homepage:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top