12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

422CHAPTER 20Monitoring System ResourcesSummary<strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> includes several utilities necessary for adequately monitoringand tuning system resources.The df and du commands calculate used and free space on partitions and in directories.The lsof utility lists open files for active processes. The sysstat programs iostat and sarhelp monitor disk load and performance.Use ps and top to monitor processes. The uptime and mpstat utilities can help keep tabson the processor or processors in the system while free and vmstat provide informationabout physical and virtual memory. To analyze network configuration and traffic, use acombination of ifconfig and tcpdump.The sysreport program gathers all system information in one archive file for furtheranalysis by an administrator or customer support representative. In addition, becomingfamiliar with log files can help you learn how your system works and allow you to recognizechanges quickly.The logwatch utility can be used to generate log file reports.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!