Monitoring Resource Utilization Flashcards
Collect, report or save system activity info. Creates a binary file for each day of the month with all the information collected. These files are overwritten the following month. Provided by the sysstat package
sar
-f used to extract records from a file name
-r to report memory utilization
-u to report cpu utilization -
Report virtual memory statistics, as well as statistics on paging and block By default it prints a summary of usage statistics since the last reboot
I/O.
vmstat
-s used to display a table of memory statistics
-d to report disk statistics
Displays the amount of free and used memory in the system default is Kb
free
-this info is pulled from the /proc/meminfo file
-h to display the output in human readable format
-m/-g to display in megabytes or gigabytes
-w to use wide mode
Report file system disk space usage.
df
- reors for each file name given as an argument and if no file name is given dp reports the available space on all mounted file systems
-h to display output in human readable format
-a to list pseduo, duplicate and inaccessible file systemsq
Can run on an interval with a count of continuously
vmstat
What sar option allows to extract records from a file name
-f
What sar option allows you to report memory utilization
-r
What sar option to report cpu utilization
-u
What option of vmstat allows you to display a table of memory statistics
to report disk statistics-s
What option of vmstat allows you to display a table of disk statistics
-d
What file does free info get pulled from
/proc/meminfo file
What option of the free command displays output in human readable format
-h
what option of free allows you to display in megabytes or gigabytes
-m, -g and -w for wide mode
If no file name is given this command reports the available space on all mounted file systems
df
What df option displays human readable format
-h