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