When I run the 'tbspace.sh' from the command line, it works fine. But when I use an application to call this script, it reports with an error:
------------------
Script for monitor 'tbspace' failed.
Error message: 'ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
'.
------------------
Anybody knows what this means?
What is /dev/tty is used for?
Thanks,
------------------
Script for monitor 'tbspace' failed.
Error message: 'ttytype: couldn't open /dev/tty for reading
stty: : Not a typewriter
Not a terminal
stty: : Not a typewriter
stty: : Not a typewriter
'.
------------------
Anybody knows what this means?
What is /dev/tty is used for?
Thanks,