connected from 🇳🇱 Amsterdam, Netherlands · SSH-2.0-Go
root@us-pdx-gcp-1's password: Logged in as root
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_75783b4c60971c6f45764c6d5c72c49f_small_control'"'"' '"'"'check_75783b4c60971c6f45764c6d5c72c49f'"'"''check_75783b4c60971c6f45764c6d5c72c49f_small_control|check_75783b4c60971c6f45764c6d5c72c49f
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_75783b4c60971c6f45764c6d5c72c49f_small_math'"'"' "$((163*316+3))"'check_75783b4c60971c6f45764c6d5c72c49f_small_math|51511
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_75783b4c60971c6f45764c6d5c72c49f_small_pid'"'"' "$$"'check_75783b4c60971c6f45764c6d5c72c49f_small_pid|85732
root@us-pdx-gcp-1:~# sh -c 'set -- '"'"'check_75783b4c60971c6f45764c6d5c72c49f_arg1'"'"' '"'"'check_75783b4c60971c6f45764c6d5c72c49f_arg2'"'"'; printf '"'"'\n%s|%s\n'"'"' '"'"'check_75783b4c60971c6f45764c6d5c72c49f_small_positional'"'"' "$#|$1|$2"'check_75783b4c60971c6f45764c6d5c72c49f_small_positional|2|check_75783b4c60971c6f45764c6d5c72c49f_arg1|check_75783b4c60971c6f45764c6d5c72c49f_arg2
root@us-pdx-gcp-1:~# sh -c 'f_check_75783b4c60971c6f45764c6d5c72c49f() { printf '"'"'\n%s|%s\n'"'"' '"'"'check_75783b4c60971c6f45764c6d5c72c49f_small_function'"'"' "$1|$#"; }; f_check_75783b4c60971c6f45764c6d5c72c49f '"'"'check_75783b4c60971c6f45764c6d5c72c49f_function_value'"'"''check_75783b4c60971c6f45764c6d5c72c49f_small_function|check_75783b4c60971c6f45764c6d5c72c49f_function_value|1
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_75783b4c60971c6f45764c6d5c72c49f_small_done'"'"''check_75783b4c60971c6f45764c6d5c72c49f_small_done
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_0800f9280830f3827cc66e8504256722_small_control'"'"' '"'"'check_0800f9280830f3827cc66e8504256722'"'"''check_0800f9280830f3827cc66e8504256722_small_control|check_0800f9280830f3827cc66e8504256722
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_0800f9280830f3827cc66e8504256722_small_math'"'"' "$((55*361+12))"'check_0800f9280830f3827cc66e8504256722_small_math|19867
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s|%s\n'"'"' '"'"'check_0800f9280830f3827cc66e8504256722_small_pid'"'"' "$$"'check_0800f9280830f3827cc66e8504256722_small_pid|85732
root@us-pdx-gcp-1:~# sh -c 'set -- '"'"'check_0800f9280830f3827cc66e8504256722_arg1'"'"' '"'"'check_0800f9280830f3827cc66e8504256722_arg2'"'"'; printf '"'"'\n%s|%s\n'"'"' '"'"'check_0800f9280830f3827cc66e8504256722_small_positional'"'"' "$#|$1|$2"'check_0800f9280830f3827cc66e8504256722_small_positional|2|check_0800f9280830f3827cc66e8504256722_arg1|check_0800f9280830f3827cc66e8504256722_arg2
root@us-pdx-gcp-1:~# sh -c 'f_check_0800f9280830f3827cc66e8504256722() { printf '"'"'\n%s|%s\n'"'"' '"'"'check_0800f9280830f3827cc66e8504256722_small_function'"'"' "$1|$#"; }; f_check_0800f9280830f3827cc66e8504256722 '"'"'check_0800f9280830f3827cc66e8504256722_function_value'"'"''check_0800f9280830f3827cc66e8504256722_small_function|check_0800f9280830f3827cc66e8504256722_function_value|1
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_0800f9280830f3827cc66e8504256722_small_done'"'"''check_0800f9280830f3827cc66e8504256722_small_done
root@us-pdx-gcp-1:~# echo; echo 'check_1bc201b3f62e02c86e3acdfd18f7fc09_transport_done'check_1bc201b3f62e02c86e3acdfd18f7fc09_transport_done
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_f8eee8e6b5fde272bef0a08f324b2ba4_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_f8eee8e6b5fde272bef0a08f324b2ba4_end'"'"' "$_filter_status"' 2>&1check_f8eee8e6b5fde272bef0a08f324b2ba4_begin utilities-ok check_f8eee8e6b5fde272bef0a08f324b2ba4_end:0
root@us-pdx-gcp-1:~# echo; echo 'check_d79ae39838262dd32098a35edd980b17_transport_done'check_d79ae39838262dd32098a35edd980b17_transport_done
root@us-pdx-gcp-1:~# sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_239896436b7a9ab22b4af633636a94cf_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_49402a9f8f919f3555e3bb90ab93a71f_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_49402a9f8f919f3555e3bb90ab93a71f_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_49402a9f8f919f3555e3bb90ab93a71f_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_239896436b7a9ab22b4af633636a94cf_end'"'"' "$_filter_status"' 2>&1check_239896436b7a9ab22b4af633636a94cf_begin sh: 1: Syntax error: ";;" unexpected (expecting "}") check_239896436b7a9ab22b4af633636a94cf_end:2
root@us-pdx-gcp-1:~# echo; echo 'check_52ca591c19a2d71a44fa770c8a4972a8_transport_done'check_52ca591c19a2d71a44fa770c8a4972a8_transport_done
root@us-pdx-gcp-1:~# /bin/sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_1bb22d951929a3ee5b4bb6674fbee34a_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_4eb63a0538a3db62f5e3a48034dce620_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_4eb63a0538a3db62f5e3a48034dce620_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_4eb63a0538a3db62f5e3a48034dce620_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_1bb22d951929a3ee5b4bb6674fbee34a_end'"'"' "$_filter_status"' 2>&1check_1bb22d951929a3ee5b4bb6674fbee34a_begin sh: 1: Syntax error: ";;" unexpected (expecting "}") check_1bb22d951929a3ee5b4bb6674fbee34a_end:2
root@us-pdx-gcp-1:~# echo; echo 'check_7ef5a5aaa82b645172b51b189cc84c7a_transport_done'check_7ef5a5aaa82b645172b51b189cc84c7a_transport_done
root@us-pdx-gcp-1:~# /usr/bin/sh -c 'printf '"'"'\n%s\n'"'"' '"'"'check_1b5a92301bd106ba17d94fde0ad727ca_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_dae6b7715978f16cca0d6add4d2ddb57_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_dae6b7715978f16cca0d6add4d2ddb57_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_dae6b7715978f16cca0d6add4d2ddb57_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_1b5a92301bd106ba17d94fde0ad727ca_end'"'"' "$_filter_status"' 2>&1check_1b5a92301bd106ba17d94fde0ad727ca_begin sh: 1: Syntax error: ";;" unexpected (expecting "}") check_1b5a92301bd106ba17d94fde0ad727ca_end:2
root@us-pdx-gcp-1:~# echo; echo 'check_c52c14dc96ee2629a3d0dd17fa740c9f_transport_done'check_c52c14dc96ee2629a3d0dd17fa740c9f_transport_done
root@us-pdx-gcp-1:~# bash -c 'printf '"'"'\n%s\n'"'"' '"'"'check_da53e7fb6d8d9f87355b0268ba199693_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_b4124a6c9628fc828eb9f41fd8aa46d9_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_b4124a6c9628fc828eb9f41fd8aa46d9_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_b4124a6c9628fc828eb9f41fd8aa46d9_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_da53e7fb6d8d9f87355b0268ba199693_end'"'"' "$_filter_status"' 2>&1
check_da53e7fb6d8d9f87355b0268ba199693_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_b4124a6c9628fc828eb9f41fd8aa46d9_top_status' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in 'check_b4124a6c9628fc828eb9f41fd8aa46d9_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_b4124a6c9628fc828eb9f41fd8aa46d9_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_da53e7fb6d8d9f87355b0268ba199693_end:2root@us-pdx-gcp-1:~# echo; echo 'check_3db3625bc8488186fb0ce8af290fb358_transport_done'check_3db3625bc8488186fb0ce8af290fb358_transport_done
root@us-pdx-gcp-1:~# /bin/bash -c 'printf '"'"'\n%s\n'"'"' '"'"'check_7a8af459ce9cbfb2c4cdbb9b7b9347c6_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_4ec1ef28b7b22d580dd3125d4a84ee69_top_status'"'"'"'"'"'"'"'"' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in '"'"'"'"'"'"'"'"'check_4ec1ef28b7b22d580dd3125d4a84ee69_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_4ec1ef28b7b22d580dd3125d4a84ee69_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_7a8af459ce9cbfb2c4cdbb9b7b9347c6_end'"'"' "$_filter_status"' 2>&1
check_7a8af459ce9cbfb2c4cdbb9b7b9347c6_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_4ec1ef28b7b22d580dd3125d4a84ee69_top_status' "$_filter_top_exit"; } | { _filter_top_lines=0; while IFS= read -r _filter_line; do case "$_filter_line" in 'check_4ec1ef28b7b22d580dd3125d4a84ee69_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_4ec1ef28b7b22d580dd3125d4a84ee69_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_7a8af459ce9cbfb2c4cdbb9b7b9347c6_end:2root@us-pdx-gcp-1:~# echo; echo 'check_f47fbec56d80e181969c2e926459538c_transport_done'check_f47fbec56d80e181969c2e926459538c_transport_done
Disconnected · 38s inside
0:38 / 0:38
What they found: A startup's API serverA small company's cloud VM running a Node.js API.