I am trying to change the setting of serial port baud rate in Red Hat Linux 5.9 by the following command.
>> stty 9600 cs8 -parenb -ixon -cstopb -echo -F /dev/ttyS0
The serial port will be used by our custom application in 2 separate servers which are the replica of one another.
The port setting got automatically changes when the application got start in one of the server. Where as on the other server it is not happening.
Can I able to see the process which are using the serial ports?I do not set any serial port configuration through my custom application.It only check the ./dev/ttyS0 file and nothing else.
Can some body help me out to trouble shoot the issue