• Hostname I $ hostname; hostname -f; hostname -d; hostname -i
HOST
• System information I # inxi -v7
• System information II # inxi -v7 -c0 | tee system.txt
• Hostname I $ hostname; hostname -f; hostname -d; hostname -i
• Hostname II $ cat /etc/hostname; hostnamectl; uname --nodename
• Hostname III $ cat /proc/sys/kernel/hostname
• Hostname IV # hostname mars
• Prelogin message $ cat /etc/issue
• Operating system $ cat /etc/os-release; lsb_release -a; uname --operating-system
• Debian version $ cat /etc/debian_version
• Debian Upgradeable packets $ apt-show-versions -u > upgradeableVersions.txt; vim upgradeableVersions.txt
• Kernel $ uname -a
• Kernel name $ uname --kernel-name
• Kernel release $ uname --kernel-release
• Kernel version $ uname --kernel-version
• Kernel ring buffer I # dmesg | less
• Kernel ring buffer II # dmesg | tail -n 25
• Rootkit scanner # chkrootkit
• System log I # logwatch | less
• System log II # tail -f /var/log/syslog
• Systemd journal # journalctl
• Memory $ watch free -h
• Processes I $ ps auxw | sort | less
• Processes II $ atop | htop | top | glances
• Disk I # lshw -short -class disk
• Disk II $ df -hT
• Disk III # e4defrag /home -c
• Disk IV # du -hs /home/userxyz
• Disk V # du -h --max-depth=1 /home/userxyz | sort -n
• Disk VI # du -h --max-depth=1 / 2>/dev/null | sort -n
• Volumes # lshw -short -class volume
• USB # usbview; lsusb
• Documentation $ man -k . | less
NETWORK & SERVER
• ufw - ufw status # ufw status
• netstat - TCP Sessions # netstat -tupan
• nmap - Interfaces & Routes $ nmap --iflist
• arp-scan - ARP # arp-scan --localnet
• ip - Neighbours $ ip neigh; ip monitor
• mtr - Network diagnostic $ mtr --curses google.com
• sntop - Network status $ sntop
• nmap - Services $ nmap -A -T4 -Pn a.b.c.d
• nmap - Identify Internet Services $ nmap a.b.c.d; nmap -sP a.b.c.d/24
• SYSSTAT $ sar -o file 10 8640
Homepage : sebastien.godard.pagesperso-orange.fr/index.html
Documentation : sebastien.godard.pagesperso-orange.fr/documentation.html
Tutorial : sebastien.godard.pagesperso-orange.fr/tutorial.html
• BLEACHBIT # bleachbit --gui &
Homepage : bleachbit.org
Documentation : docs.bleachbit.org
Tutorial : bleachbit.org/videos
• CACTI : localhost/cacti : user admin
Homepage : cacti.net
Documentation : cacti.net/documentation.php
Tutorial : nwlab.net/tutorials/cacti/cacti-tutorial.html
• ZABBIX
Homepage : zabbix.com
Documentation : zabbix.com/documentation/1.8/start
Tutorial : zabbix.com/documentation/1.8/manual/tutorials