MONITORING v19-01-28steemCreated with Sketch.

in #linux5 years ago
LOCALHOST
• IP-Address                    $ hostname -i
• Runtime and load              $ watch uptime
• Last reboot history           $ last reboot
• System information I          # inxi -v7
• System information II         # inxi -v7 -c0 | tee system.txt
• Hostname I                    $ hostname; hostname -f; hostname -d
• Hostname II                   $ cat /etc/hostname; hostnamectl; uname --nodename
• Hostname III                  $ cat /proc/sys/kernel/hostname
• Hostname IV                   # hostname mars
• Prelogin message              $ cat /etc/issue
• Shell                         $ echo $0
• 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
• CPU Model                     $ cat /proc/cpuinfo
• Memory                        $ watch free -h
• Physical Memory               $ grep MemTotal /proc/meminfo 
• MEM Info                      $ cat /proc/meminfo
• Processes I                   $ ps auxw | sort | less
• Processes II                  $ atop
• Processes III                 $ htop
• Processes IV                  $ top
• Processes V                   $ glances
• Disk I                        # lshw -short -class disk
• File System Hierarchy (FHS)   $ man hier
• 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

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 62980.19
ETH 3123.74
USDT 1.00
SBD 3.87