Linux Assignment– 6

System Monitoring Tools

Basic Questions

  1. Use ‘top’ to monitor system processes.
  2. Use ‘htop’ to view system performance.
  3. Check memory usage using ‘free’.
  4. Display disk usage using ‘df’.
  5. Check CPU information using ‘lscpu’.
  6. Display system uptime using ‘uptime’.
  7. Monitor real-time system logs using ‘tail -f’.
  8. Check system load averages.
  9. List currently running processes using ‘ps’.
  10. Check network statistics using ‘netstat’.
  11. Monitor disk I/O using ‘iostat’.
  12. Check system temperature using ‘sensors’.
  13. Display active users using ‘who’.
  14. Check system boot time using ‘who -b’.
  15. Monitor memory usage using ‘vmstat’.
  16. Check open files using ‘lsof’.
  17. Display system hostname using ‘hostname’.
  18. Check system logs in ‘/var/log/’.
  19. Monitor network connections using ‘ss’.
  20. Check running services using ‘systemctl’.

Intermediate Questions

  1. Install and configure ‘htop’.
  2. Use ‘dstat’ to monitor system resources.
  3. Monitor CPU usage over time using ‘sar’.
  4. Set up ‘glances’ for real-time monitoring.
  5. Create a script to log system uptime every hour.
  6. Monitor disk usage with ‘du’ and log results.
  7. Use ‘watch’ to run monitoring commands periodically.
  8. Analyze system logs using ‘journalctl’.
  9. Monitor network bandwidth using ‘iftop’.
  10. Track system performance using ‘atop’.
  11. Set up alerts for high CPU usage.
  12. Monitor system with ‘nmon’.
  13. Log memory usage every 10 minutes.
  14. Monitor system with ‘sysstat’ tools.
  15. Create a cron job to log disk usage.
  16. Monitor service status and log changes.
  17. Use ‘uptime’ to track system availability.
  18. Monitor file changes using ‘inotify’.
  19. Check system health using ‘glances web UI’.
  20. Create a dashboard for system metrics.

Advanced Questions

  1. Set up centralized logging with ‘rsyslog’.
  2. Configure ‘Nagios’ for system monitoring.
  3. Automate alerts using ‘Zabbix’.
  4. Monitor multiple servers using ‘Prometheus’.
  5. Visualize metrics using ‘Grafana’.
  6. Create custom monitoring scripts.
  7. Integrate monitoring with Slack notifications.
  8. Set up SNMP monitoring.
  9. Monitor system with ‘Elastic Stack’.
  10. Create a report of system performance trends.