mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-20 09:10:15 +01:00
Update top.sh
This commit is contained in:
@@ -48,10 +48,11 @@ if [ $# -eq 0 ] || [ $# -gt 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
TARGET="${1}"
|
TARGET="${1}"
|
||||||
set_target_single "${TARGET}"
|
|
||||||
bastille_root_check
|
bastille_root_check
|
||||||
check_target_is_running "${_jail}"
|
set_target_single "${TARGET}"
|
||||||
|
check_target_exists "${TARGET}"
|
||||||
|
check_target_is_running "${TARGET}"
|
||||||
|
|
||||||
info "[${_jail}]:"
|
info "[${TARGET}]:"
|
||||||
jexec -l "${_jail}" /usr/bin/top
|
jexec -l "${TARGET}" /usr/bin/top
|
||||||
echo -e "${COLOR_RESET}"
|
echo -e "${COLOR_RESET}"
|
||||||
|
|||||||
Reference in New Issue
Block a user