mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
17 lines
284 B
Bash
Executable File
17 lines
284 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case $1 in
|
|
config)
|
|
cat <<'EOM'
|
|
graph_title Task Manager Processes
|
|
graph_vlabel num processes
|
|
graph_category tower
|
|
taskm.label Task Manager Processes
|
|
EOM
|
|
exit 0;;
|
|
esac
|
|
|
|
printf "taskm.value "
|
|
ps ax | grep run_task_system | grep -v grep | wc -l
|
|
printf "\n"
|