Operating System - OpenVMS
1831645 Members
1981 Online
110029 Solutions
New Discussion

Shell setup file is getting hanged

 
Manjula_3
New Member

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.