noti icon indicating copy to clipboard operation
noti copied to clipboard

Feature Request: Monitor process on a remote machine

Open shadyabhi opened this issue 5 years ago • 2 comments

Omit non-relevant sections.

Description

What is this issue about?

Use case

What use case would this solve? We should have a feature to monitor the process on a remote server.

Steps to reproduce

What steps did you take when you found this issue?

Expected behavior

What did you expect to happen?

Actual behavior

What actually happened?

Version

What go version and noti --version are you using?

shadyabhi avatar Sep 09 '18 15:09 shadyabhi

@variadico Golang doesn't have a feature-rich library to parse ~/.ssh/config and connect to servers over SSH. (like paramiko in Python).

How do you propose we should connect to the remote server for getting PID status?

shadyabhi avatar Sep 09 '18 15:09 shadyabhi

A workaround I'm using is:

noti -- ssh HOST 'bash -c "while [[ -d /proc/PID ]]; do sleep 10s; done"'

mmarchini avatar Feb 26 '19 19:02 mmarchini