Monitoring

From Systerserver

Jump to: navigation, search

Contents

smartmontools

hdparm

  • hdparm -Tt /dev/sda

iotop

  • iostat -o
  • iostat -Co (to not clear the screen)

temperature

  • of the disks: hddtemp, ie hddtemp /dev/sda
  • of the motherboard: cat /proc/acpi/thermal_zone/TZ*/temperature
  • of the processor: same as above.
  • first run "sensors-detect", then run "sensors"
  • installed hddtemp, lm-sensors, mbmon and xsensors (gui for lm-sensors)

sysstat

  • user sar (system activity reporter) to view collected stats
      sar -u 2 5
             Report  CPU  utilization  for  each  2 seconds. 5 lines are dis-
             played.
      sar -r -n DEV -f /var/log/sysstat/sa16
             Display memory, swap space and network statistics saved in daily
             data file 'sa16'.
      sar -A
             Display all the statistics saved in current daily data file.
  • install isag (interactive system activity grapher) to view stats in a graph

acct

  • process accounting
  • lastcomm

networking

  • ethtool - has replace mii-tool
  • mii-tool - for setting the speed and duplex of your NIC card
  • nethogs

monit en munin

  • monit for monitoring and triggering; munin for the graphs

intrusion deetection

  • AIDE
  • afick

network

  • ngrep
  • iptraf