Python to emulate remote tail -f?

前端 未结 6 1490
攒了一身酷
攒了一身酷 2021-01-04 20:28

We have several application servers, and a central monitoring server.

We are currently running ssh with \"tail -f\" from the monitoring server to stream several text

6条回答
  •  执念已碎
    2021-01-04 20:55

    I've written a library that allows you to do just this - check out the "remote" feature of PimpedSubprocess (on github) or PimpedSubprocess (on PyPI)

提交回复
热议问题