Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Shell setup file is getting hanged

Manjula_3
Occasional Visitor

Shell setup file is getting hanged

I am trying to read a file from remote machine using java through SSH API but the shell setup file is getting hanged when it encounters read statement.
I would like to know is there anyway to find out the shell has been hanged so that I throw some exception by which the user can know status whats up.