Arguments
grep.string
String(s) to check for in ps
. If a vector, runs a chain of piped grep commands for each string.
remote
Remote machine specification for ssh, in format such as user@server
that does not
require interactive password entry. For local execution, pass an empty string "" (default).
stop.if.any
Stop if any of grep.string
is running
stop.if.none
Stop if none of grep.string
is running
count.self
When FALSE
, excludes the calling process name from the count, if it gets matched.
ps.options
Gives the ability to run different options to ps.