Show running containers namespaces linux
List Linux namespaces for network, PID, and mount isolation
lsns -t net,pid,mnt
more linux
all 133 commands →
Inspect cgroup hierarchy
systemd-cgls
Count lines in all logs
find /var/log -name '*.log' -exec wc -l {} + | sort -rn | head -20
Follow multiple log files
tail -f /var/log/syslog /var/log/auth.log
Search compressed logs
zgrep -i 'error' /var/log/syslog.*.gz
Rotate logs manually
logrotate -f /etc/logrotate.conf