I am looking for a command to see the process listening to a port, e.g.
/dev/ttyS0 (with root rights on a Linux system). I can do that with
but this is really too slow. Also, I cannot use the
-p flag to make it faster.
I would like to do essentially the same using other resources of the linux system. Is that possible?