connected from 🇳🇱 Amsterdam, Netherlands · SSH-2.0-Go
root@sg-sin-gcp-1's password: Logged in as root
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad_small_control'"'"' '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad'"'"''check_e5f0708bf2bd711c774fb8ad4949f7ad_small_control|check_e5f0708bf2bd711c774fb8ad4949f7ad
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad_small_math'"'"' "$((42*73+83))"'check_e5f0708bf2bd711c774fb8ad4949f7ad_small_math|3149
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad_small_pid'"'"' "$$"'check_e5f0708bf2bd711c774fb8ad4949f7ad_small_pid|52558
root@sg-sin-gcp-1:~# sh -c 'set -- '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad_arg1'"'"' '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad_arg2'"'"'; printf '"'"'\n%s|%s\n'"'"' '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad_small_positional'"'"' "$#|$1|$2"'check_e5f0708bf2bd711c774fb8ad4949f7ad_small_positional|2|check_e5f0708bf2bd711c774fb8ad4949f7ad_arg1|check_e5f0708bf2bd711c774fb8ad4949f7ad_arg2
root@sg-sin-gcp-1:~# sh -c 'f_check_e5f0708bf2bd711c774fb8ad4949f7ad() { printf '"'"'\n%s|%s\n'"'"' '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad_small_function'"'"' "$1|$#"; }; f_check_e5f0708bf2bd711c774fb8ad4949f7ad '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad_function_value'"'"''check_e5f0708bf2bd711c774fb8ad4949f7ad_small_function|check_e5f0708bf2bd711c774fb8ad4949f7ad_function_value|1
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_e5f0708bf2bd711c774fb8ad4949f7ad_small_done'"'"''check_e5f0708bf2bd711c774fb8ad4949f7ad_small_done
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_5fda0db7c7142651fdd8c78fa869159d_small_control'"'"' '"'"'check_5fda0db7c7142651fdd8c78fa869159d'"'"''check_5fda0db7c7142651fdd8c78fa869159d_small_control|check_5fda0db7c7142651fdd8c78fa869159d
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_5fda0db7c7142651fdd8c78fa869159d_small_math'"'"' "$((611*539+95))"'check_5fda0db7c7142651fdd8c78fa869159d_small_math|329424
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_5fda0db7c7142651fdd8c78fa869159d_small_pid'"'"' "$$"'check_5fda0db7c7142651fdd8c78fa869159d_small_pid|52558
root@sg-sin-gcp-1:~# sh -c 'set -- '"'"'check_5fda0db7c7142651fdd8c78fa869159d_arg1'"'"' '"'"'check_5fda0db7c7142651fdd8c78fa869159d_arg2'"'"'; printf '"'"'\n%s|%s\n'"'"' '"'"'check_5fda0db7c7142651fdd8c78fa869159d_small_positional'"'"' "$#|$1|$2"'check_5fda0db7c7142651fdd8c78fa869159d_small_positional|2|check_5fda0db7c7142651fdd8c78fa869159d_arg1|check_5fda0db7c7142651fdd8c78fa869159d_arg2
root@sg-sin-gcp-1:~# sh -c 'f_check_5fda0db7c7142651fdd8c78fa869159d() { printf '"'"'\n%s|%s\n'"'"' '"'"'check_5fda0db7c7142651fdd8c78fa869159d_small_function'"'"' "$1|$#"; }; f_check_5fda0db7c7142651fdd8c78fa869159d '"'"'check_5fda0db7c7142651fdd8c78fa869159d_function_value'"'"''check_5fda0db7c7142651fdd8c78fa869159d_small_function|check_5fda0db7c7142651fdd8c78fa869159d_function_value|1
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_5fda0db7c7142651fdd8c78fa869159d_small_done'"'"''check_5fda0db7c7142651fdd8c78fa869159d_small_done
root@sg-sin-gcp-1:~# echo; echo 'check_a610ea555833b1b3606188788ddad7bb_transport_done'check_a610ea555833b1b3606188788ddad7bb_transport_done
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_119ec3ea430f19faaba63ca0baa523d3_begin'"'"'; sh -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { "$@" </dev/null >/dev/null 2>&1; }; for _filter_utility in uname true cat sort head tail wc date; do if ! _filter_find_utility "$_filter_utility"; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' utility-failed; exit 1; fi; done; printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' utilities-ok; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_119ec3ea430f19faaba63ca0baa523d3_end'"'"' "$_filter_status"' 2>&1check_119ec3ea430f19faaba63ca0baa523d3_begin utilities-ok check_119ec3ea430f19faaba63ca0baa523d3_end:0
root@sg-sin-gcp-1:~# echo; echo 'check_8653c04482927c8e2d4bcaef2ac478f3_transport_done'check_8653c04482927c8e2d4bcaef2ac478f3_transport_done
root@sg-sin-gcp-1:~# sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_56dc1d459a858149e5ad4213a3386df9_begin'"'"'; sh -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_ae8db40722a851c69ca32f85a5f7bad5_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_ae8db40722a851c69ca32f85a5f7bad5_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_ae8db40722a851c69ca32f85a5f7bad5_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_56dc1d459a858149e5ad4213a3386df9_end'"'"' "$_filter_status"' 2>&1check_56dc1d459a858149e5ad4213a3386df9_begin sh: 1: Syntax error: ";;" unexpected (expecting "}") check_56dc1d459a858149e5ad4213a3386df9_end:2
root@sg-sin-gcp-1:~# echo; echo 'check_06c8fc0d7141476d33c9a50d41ad3b7c_transport_done'check_06c8fc0d7141476d33c9a50d41ad3b7c_transport_done
root@sg-sin-gcp-1:~# /bin/sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_b16cf4d01be926d30ee878089aa67028_begin'"'"'; /bin/sh -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_865e94085b0ed662b79b57fb463630ee_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_865e94085b0ed662b79b57fb463630ee_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_865e94085b0ed662b79b57fb463630ee_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_b16cf4d01be926d30ee878089aa67028_end'"'"' "$_filter_status"' 2>&1check_b16cf4d01be926d30ee878089aa67028_begin sh: 1: Syntax error: ";;" unexpected (expecting "}") check_b16cf4d01be926d30ee878089aa67028_end:2
root@sg-sin-gcp-1:~# echo; echo 'check_40fc807759f76fac7521bc9c99abbff4_transport_done'check_40fc807759f76fac7521bc9c99abbff4_transport_done
root@sg-sin-gcp-1:~# /usr/bin/sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_f654d5a7b22e2b1dac5899c4559920aa_begin'"'"'; /usr/bin/sh -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_1a140f563828a2235e381108941e3a01_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_1a140f563828a2235e381108941e3a01_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_1a140f563828a2235e381108941e3a01_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_f654d5a7b22e2b1dac5899c4559920aa_end'"'"' "$_filter_status"' 2>&1check_f654d5a7b22e2b1dac5899c4559920aa_begin sh: 1: Syntax error: ";;" unexpected (expecting "}") check_f654d5a7b22e2b1dac5899c4559920aa_end:2
root@sg-sin-gcp-1:~# echo; echo 'check_6db5eb41a0e7b185315b9a0cd7726f23_transport_done'check_6db5eb41a0e7b185315b9a0cd7726f23_transport_done
root@sg-sin-gcp-1:~# bash -c 'printf '"'"'\n%s\n'"'"' '"'"'check_c0d54a7ffe4d71c20c7c455bc1193c4c_begin'"'"'; bash -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_49cec3cde2c7455ec18215be74faaeaa_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_49cec3cde2c7455ec18215be74faaeaa_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_49cec3cde2c7455ec18215be74faaeaa_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_c0d54a7ffe4d71c20c7c455bc1193c4c_end'"'"' "$_filter_status"' 2>&1
check_c0d54a7ffe4d71c20c7c455bc1193c4c_begin
bash: -c: line 1: syntax error near unexpected token `;;'
bash: -c: line 1: ` _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '\n%s:%s\n' 'check_49cec3cde2c7455ec18215be74faaeaa_top_status' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in 'check_49cec3cde2c7455ec18215be74faaeaa_top_status':*) printf '%s\n' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '%.512s\n' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '%s\n' "$_filter_top_result"; case "$_filter_top_result" in *'check_49cec3cde2c7455ec18215be74faaeaa_top_status:0') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '%s\n' top-ok; else printf '%s\n' top-failed; exit 1; fi; '
check_c0d54a7ffe4d71c20c7c455bc1193c4c_end:2root@sg-sin-gcp-1:~# echo; echo 'check_df17e534adbb721016b74ff12e2f6a44_transport_done'check_df17e534adbb721016b74ff12e2f6a44_transport_done
root@sg-sin-gcp-1:~# /bin/bash -c 'printf '"'"'\n%s\n'"'"' '"'"'check_f16729885d8b9a25aba791b79539cf59_begin'"'"'; /bin/bash -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_8abb6f10090c625a19c7cb130bb9048f_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_8abb6f10090c625a19c7cb130bb9048f_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_8abb6f10090c625a19c7cb130bb9048f_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_f16729885d8b9a25aba791b79539cf59_end'"'"' "$_filter_status"' 2>&1
check_f16729885d8b9a25aba791b79539cf59_begin
bash: -c: line 1: syntax error near unexpected token `;;'
bash: -c: line 1: ` _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '\n%s:%s\n' 'check_8abb6f10090c625a19c7cb130bb9048f_top_status' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in 'check_8abb6f10090c625a19c7cb130bb9048f_top_status':*) printf '%s\n' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '%.512s\n' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '%s\n' "$_filter_top_result"; case "$_filter_top_result" in *'check_8abb6f10090c625a19c7cb130bb9048f_top_status:0') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '%s\n' top-ok; else printf '%s\n' top-failed; exit 1; fi; '
check_f16729885d8b9a25aba791b79539cf59_end:2root@sg-sin-gcp-1:~# echo; echo 'check_095c52eca75ac2ce9a9c0d682aa541de_transport_done'check_095c52eca75ac2ce9a9c0d682aa541de_transport_done
root@sg-sin-gcp-1:~# /usr/bin/bash -c 'printf '"'"'\n%s\n'"'"' '"'"'check_12e89e78a92f86a799a78d5902bec93b_begin'"'"'; /usr/bin/bash -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_6f5d68ca23094da10907a62076edfd93_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_6f5d68ca23094da10907a62076edfd93_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_6f5d68ca23094da10907a62076edfd93_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_12e89e78a92f86a799a78d5902bec93b_end'"'"' "$_filter_status"' 2>&1
check_12e89e78a92f86a799a78d5902bec93b_begin
bash: -c: line 1: syntax error near unexpected token `;;'
bash: -c: line 1: ` _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '\n%s:%s\n' 'check_6f5d68ca23094da10907a62076edfd93_top_status' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in 'check_6f5d68ca23094da10907a62076edfd93_top_status':*) printf '%s\n' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '%.512s\n' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '%s\n' "$_filter_top_result"; case "$_filter_top_result" in *'check_6f5d68ca23094da10907a62076edfd93_top_status:0') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '%s\n' top-ok; else printf '%s\n' top-failed; exit 1; fi; '
check_12e89e78a92f86a799a78d5902bec93b_end:2root@sg-sin-gcp-1:~# echo; echo 'check_04793e0644d868cbfee2e90fb235f672_transport_done'check_04793e0644d868cbfee2e90fb235f672_transport_done
root@sg-sin-gcp-1:~# dash -c 'printf '"'"'\n%s\n'"'"' '"'"'check_d34209bb6e475b2fdcd437160b8f5758_begin'"'"'; dash -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_01bbd08c5b5eedd8d052f829a4c34be6_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_01bbd08c5b5eedd8d052f829a4c34be6_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_01bbd08c5b5eedd8d052f829a4c34be6_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_d34209bb6e475b2fdcd437160b8f5758_end'"'"' "$_filter_status"' 2>&1check_d34209bb6e475b2fdcd437160b8f5758_begin dash: 1: Syntax error: ";;" unexpected (expecting "}") check_d34209bb6e475b2fdcd437160b8f5758_end:2
root@sg-sin-gcp-1:~# echo; echo 'check_e5292fe24677d57bb6bdac6b9089d508_transport_done'check_e5292fe24677d57bb6bdac6b9089d508_transport_done
root@sg-sin-gcp-1:~# /bin/dash -c 'printf '"'"'\n%s\n'"'"' '"'"'check_f0692b2cf8196a2cbd986cfd32cd1fb7_begin'"'"'; /bin/dash -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_abab582a83c0fa5268a7d84df53c1623_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_abab582a83c0fa5268a7d84df53c1623_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_abab582a83c0fa5268a7d84df53c1623_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_f0692b2cf8196a2cbd986cfd32cd1fb7_end'"'"' "$_filter_status"' 2>&1check_f0692b2cf8196a2cbd986cfd32cd1fb7_begin dash: 1: Syntax error: ";;" unexpected (expecting "}") check_f0692b2cf8196a2cbd986cfd32cd1fb7_end:2
root@sg-sin-gcp-1:~# echo; echo 'check_6253869b68e8dd5281d2d304ef547cc0_transport_done'check_6253869b68e8dd5281d2d304ef547cc0_transport_done
root@sg-sin-gcp-1:~# ash -c 'printf '"'"'\n%s\n'"'"' '"'"'check_a5b7b40de705e2799f9289814b422be3_begin'"'"'; ash -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_33381b61900c4bc12daedf5561bee054_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_33381b61900c4bc12daedf5561bee054_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_33381b61900c4bc12daedf5561bee054_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_a5b7b40de705e2799f9289814b422be3_end'"'"' "$_filter_status"' 2>&1-bash: ash: command not found
root@sg-sin-gcp-1:~# echo; echo 'check_e54c1a0ebe4085bf163c3fa91ac9bf7a_transport_done'check_e54c1a0ebe4085bf163c3fa91ac9bf7a_transport_done
root@sg-sin-gcp-1:~# /bin/ash -c 'printf '"'"'\n%s\n'"'"' '"'"'check_991a87a86125cb4555489b27a0ae61af_begin'"'"'; /bin/ash -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_bb9653f828db53e860ba5785ad2e4955_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_bb9653f828db53e860ba5785ad2e4955_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_bb9653f828db53e860ba5785ad2e4955_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_991a87a86125cb4555489b27a0ae61af_end'"'"' "$_filter_status"' 2>&1-bash: /bin/ash: No such file or directory
root@sg-sin-gcp-1:~# echo; echo 'check_55abb6dd07c0eab6b0c000584bea1084_transport_done'check_55abb6dd07c0eab6b0c000584bea1084_transport_done
root@sg-sin-gcp-1:~# busybox sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_c1f97aa7b2ed86e2e2910756aad15e0d_begin'"'"'; busybox sh -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_179d46e145261974db849fc4bd6ed06c_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_179d46e145261974db849fc4bd6ed06c_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_179d46e145261974db849fc4bd6ed06c_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_c1f97aa7b2ed86e2e2910756aad15e0d_end'"'"' "$_filter_status"' 2>&1root@sg-sin-gcp-1:~# echo; echo 'check_02bcfe5a2a0f6e52e57fb5cca7e03db7_transport_done'check_02bcfe5a2a0f6e52e57fb5cca7e03db7_transport_done
root@sg-sin-gcp-1:~# /bin/busybox sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_601bfe7ec2d34e1397ba30a702e80d57_begin'"'"'; /bin/busybox sh -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_4d11821c9c1d0e1c1b736f63ab880739_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_4d11821c9c1d0e1c1b736f63ab880739_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_4d11821c9c1d0e1c1b736f63ab880739_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_601bfe7ec2d34e1397ba30a702e80d57_end'"'"' "$_filter_status"' 2>&1root@sg-sin-gcp-1:~# echo; echo 'check_e3542888329c97dd630a6bfb7785b324_transport_done'check_e3542888329c97dd630a6bfb7785b324_transport_done
root@sg-sin-gcp-1:~# /usr/bin/busybox sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_5b81d252513e00cf3dcdfde6ff7f4820_begin'"'"'; /usr/bin/busybox sh -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_f2041a583cf38ad3236698152b1a4a35_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_f2041a583cf38ad3236698152b1a4a35_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_f2041a583cf38ad3236698152b1a4a35_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_5b81d252513e00cf3dcdfde6ff7f4820_end'"'"' "$_filter_status"' 2>&1root@sg-sin-gcp-1:~# echo; echo 'check_c04e8c05461e7bdd697823e272dacf5e_transport_done'check_c04e8c05461e7bdd697823e272dacf5e_transport_done
root@sg-sin-gcp-1:~# ksh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_cfa4747fca410a0e240480ec47a270f9_begin'"'"'; ksh -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_75ab67fbeee1ac59ae1eecf1493c6905_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_75ab67fbeee1ac59ae1eecf1493c6905_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_75ab67fbeee1ac59ae1eecf1493c6905_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_cfa4747fca410a0e240480ec47a270f9_end'"'"' "$_filter_status"' 2>&1-bash: ksh: command not found
root@sg-sin-gcp-1:~# echo; echo 'check_d453342eb216ea99587c7dd141bf0b08_transport_done'check_d453342eb216ea99587c7dd141bf0b08_transport_done
root@sg-sin-gcp-1:~# /bin/ksh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_5000a218fea8bf110641e7fccdd56a22_begin'"'"'; /bin/ksh -c '"'"' _filter_find_utility() { _filter_name=$1; shift; if _filter_try "$_filter_name" "$@"; then return 0; fi; _filter_resolved=$(which "$_filter_name" 2>/dev/null) || _filter_resolved=; case "$_filter_resolved" in /*) if _filter_try "$_filter_resolved" "$@"; then return 0; fi ;; esac; for _filter_dir in /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin; do _filter_path=$_filter_dir/$_filter_name; if [ "$_filter_path" = "$_filter_resolved" ]; then continue; fi; if _filter_try "$_filter_path" "$@"; then return 0; fi; done; return 1; }; _filter_try() { _filter_top_result=$( { LC_ALL=C "$@" </dev/null 2>&1; _filter_top_exit=$?; printf '"'"'"'"'"'"'"'"'\n%s:%s\n'"'"'"'"'"'"'"'"' '"'"'"'"'"'"'"'"'check_267f12aab44fe785791f2e3028fdb77e_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_267f12aab44fe785791f2e3028fdb77e_top_status'"'"'"'"'"'"'"'"':*) printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_line" ;; *[bB][uU][fF][fF][eE][rR]*) if [ "$_filter_top_lines" -lt 4 ]; then printf '"'"'"'"'"'"'"'"'%.512s\n'"'"'"'"'"'"'"'"' "$_filter_line"; _filter_top_lines=$((_filter_top_lines+1)); fi; ;; esac; done; }; ); printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' "$_filter_top_result"; case "$_filter_top_result" in *'"'"'"'"'"'"'"'"'check_267f12aab44fe785791f2e3028fdb77e_top_status:0'"'"'"'"'"'"'"'"') return 0 ;; esac; return 1; }; if _filter_find_utility top -b -n 1; then printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-ok; else printf '"'"'"'"'"'"'"'"'%s\n'"'"'"'"'"'"'"'"' top-failed; exit 1; fi; '"'"'; _filter_status=$?; printf '"'"'\n%s:%s\n'"'"' '"'"'check_5000a218fea8bf110641e7fccdd56a22_end'"'"' "$_filter_status"' 2>&1-bash: /bin/ksh: No such file or directory
root@sg-sin-gcp-1:~# echo; echo 'check_3636daad0aef3fa874664af0d2e12d0d_transport_done'check_3636daad0aef3fa874664af0d2e12d0d_transport_done
Disconnected · 24s inside
0:24 / 0:24
What they found: A web agency's WordPress serverA small web agency's cloud server that hosts a handful of client websites built on WordPress, with their databases on the same machine.