Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Monitor process on a remote machine #84

Open
shadyabhi opened this issue Sep 9, 2018 · 2 comments
Open

Feature Request: Monitor process on a remote machine #84

shadyabhi opened this issue Sep 9, 2018 · 2 comments

Comments

@shadyabhi
Copy link

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
Copy link
Author

@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?

@mmarchini
Copy link

A workaround I'm using is:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants