toolbox progress

This commit is contained in:
Maciej Lebiest 2023-04-24 20:48:22 +02:00
parent 9e56434b0b
commit a4d94fbd45
2 changed files with 30 additions and 2 deletions

View file

@ -1,10 +1,25 @@
FROM registry.fedoraproject.org/fedora:38
ENV PKGS_GENERAL="htop \
btop"
btop \
sysstat"
ENV PKGS_PROCESSES="procps-ng \
strace"
ENV PKGS_NETWORK="bind-utils \
nmap \
nmap-ncat \
telnet \
tcpdump \
iftop \
iproute \
iputils \
whois \
iptraf-ng"
RUN dnf clean all && \
dnf install -y ${PKGS_GENERAL} && \
dnf install -y ${PKGS_GENERAL} ${PKGS_PROCESSES} ${PKGS_NETWORK} && \
dnf -y autoremove && \
dnf -y clean all

View file

@ -40,7 +40,20 @@ function printTitle() {
printTitle "Toolbox pkgs"
printTitle "General"
echo "htop - interactive process viewer"
echo "btop - interactive multipurpose viewer"
echo "mpstat - monitor cpu usage with usage type distinction"
echo "iostat - monitor storage traffic"
printTitle "Processes"
echo "ps - list processes"
echo "strace - see syscalls of a process"
printTitle "Network"
echo "host - resolve addresses"
echo "dig - resolve adresses"
echo "nmap - advanced network scanning"
echo "telnet - open interactive tcp connection"
echo "tcpdump - monitor network packets"
echo "iftop - monitor network traffic per hosts"
echo
printTitle "Memory"
printTitle "Storage"