mirror of https://github.com/BOINC/boinc.git
Remote server management:
added pshelper - script to find out whether a daemon is running on a remote server - ran via ssh by the server status page - returns the process line returned by 'ps ww pid' or 'false' - inefficient over long distances, as a new ssh connection is required for every daemon
This commit is contained in:
parent
71a63c8bc7
commit
7b33ef1b0c
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
pid=`cat "$1"` &&
|
||||||
|
ps ww $pid | grep "^ *\($pid\) " || echo false
|
Loading…
Reference in New Issue