We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
is_running
Wouldn't it better to leverage the /proc filesystem to figure out if the process is running instead of "parsing" ps output with awk and grep?
/proc
ps
awk
grep
is_running() { [ -d "/proc/$(get_pid)" ] }
The text was updated successfully, but these errors were encountered:
Good idea. Can you submit a PR?
Sorry, something went wrong.
Yes I can, I'll to it tonight
No branches or pull requests
Wouldn't it better to leverage the
/proc
filesystem to figure out if the process is running instead of "parsing"ps
output withawk
andgrep
?The text was updated successfully, but these errors were encountered: