Author here,
I just want to share one of the command line tools for monitoring foregin connections which I made with python. Its a wrapper around python's psutil and should work with both python 2 and 3.
https://github.com/Gananath/pyort
Please share your feedback.