detect process attached to devices
Hi All,
How to find the process's that were attached to devices. For example, if we open ttyS driver from user space application, is it possible to get the process id by examining the /proc of the devices? If yes, how? Thanks in Advance |
You can use lsof to find the PID of the process that uses the serial port:
Code:
lsof|grep ttyS Regards |
All times are GMT -5. The time now is 12:37 PM. |