mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
17 lines
303 B
Plaintext
17 lines
303 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
case $1 in
|
||
|
config)
|
||
|
cat <<'EOM'
|
||
|
graph_title SocketIO Service Processes
|
||
|
graph_vlabel num processes
|
||
|
graph_category tower
|
||
|
socketio.label SocketIO Service Processes
|
||
|
EOM
|
||
|
exit 0;;
|
||
|
esac
|
||
|
|
||
|
printf "socketio.value "
|
||
|
ps ax | grep run_socketio_service | grep -v grep | wc -l
|
||
|
printf "\n"
|