List Linux namespaces
List network, PID and mount namespaces, for example to see how containers are isolated.
lsns -t net,pid,mnt
- tool
- linux133 commands
More linux commands
-
systemd-cglsShow the systemd cgroup hierarchy as a tree, with the processes in each group.
-
find /var/log -name '*.log' -exec wc -l {} + | sort -rn | head -20Find the 20 biggest log files by line count.
-
tail -f /var/log/syslog /var/log/auth.logFollow several log files at once in one terminal.
-
zgrep -i 'error' /var/log/syslog.*.gzSearch inside .gz files without unpacking them first.
-
logrotate -f /etc/logrotate.confForce log rotation without waiting for the schedule.