Get the pid by ps -ef | grep <processName>
Get the port in which this process is listening by below command.
netstat -lanpt | grep LISTEN | grep <pid>
1) Class level locking will lock entire class, so no other thread can access any of other synchronized blocks. 2) Object locking will lo...
No comments:
Post a Comment
Thank You for your valuable comment