Linux Assignment– 6
System Monitoring Tools
Basic Questions
- Use ‘top’ to monitor system processes.
- Use ‘htop’ to view system performance.
- Check memory usage using ‘free’.
- Display disk usage using ‘df’.
- Check CPU information using ‘lscpu’.
- Display system uptime using ‘uptime’.
- Monitor real-time system logs using ‘tail -f’.
- Check system load averages.
- List currently running processes using ‘ps’.
- Check network statistics using ‘netstat’.
- Monitor disk I/O using ‘iostat’.
- Check system temperature using ‘sensors’.
- Display active users using ‘who’.
- Check system boot time using ‘who -b’.
- Monitor memory usage using ‘vmstat’.
- Check open files using ‘lsof’.
- Display system hostname using ‘hostname’.
- Check system logs in ‘/var/log/’.
- Monitor network connections using ‘ss’.
- Check running services using ‘systemctl’.
Intermediate Questions
- Install and configure ‘htop’.
- Use ‘dstat’ to monitor system resources.
- Monitor CPU usage over time using ‘sar’.
- Set up ‘glances’ for real-time monitoring.
- Create a script to log system uptime every hour.
- Monitor disk usage with ‘du’ and log results.
- Use ‘watch’ to run monitoring commands periodically.
- Analyze system logs using ‘journalctl’.
- Monitor network bandwidth using ‘iftop’.
- Track system performance using ‘atop’.
- Set up alerts for high CPU usage.
- Monitor system with ‘nmon’.
- Log memory usage every 10 minutes.
- Monitor system with ‘sysstat’ tools.
- Create a cron job to log disk usage.
- Monitor service status and log changes.
- Use ‘uptime’ to track system availability.
- Monitor file changes using ‘inotify’.
- Check system health using ‘glances web UI’.
- Create a dashboard for system metrics.
Advanced Questions
- Set up centralized logging with ‘rsyslog’.
- Configure ‘Nagios’ for system monitoring.
- Automate alerts using ‘Zabbix’.
- Monitor multiple servers using ‘Prometheus’.
- Visualize metrics using ‘Grafana’.
- Create custom monitoring scripts.
- Integrate monitoring with Slack notifications.
- Set up SNMP monitoring.
- Monitor system with ‘Elastic Stack’.
- Create a report of system performance trends.