Monitoring Resource Utilization Flashcards

1
Q

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

A

sar
-f used to extract records from a file name
-r to report memory utilization
-u to report cpu utilization -

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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.

A

vmstat
-s used to display a table of memory statistics
-d to report disk statistics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Displays the amount of free and used memory in the system default is Kb

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Report file system disk space usage.

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can run on an interval with a count of continuously

A

vmstat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What sar option allows to extract records from a file name

A

-f

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What sar option allows you to report memory utilization

A

-r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What sar option to report cpu utilization

A

-u

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What option of vmstat allows you to display a table of memory statistics

A

to report disk statistics-s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What option of vmstat allows you to display a table of disk statistics

A

-d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What file does free info get pulled from

A

/proc/meminfo file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What option of the free command displays output in human readable format

A

-h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what option of free allows you to display in megabytes or gigabytes

A

-m, -g and -w for wide mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

If no file name is given this command reports the available space on all mounted file systems

A

df

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What df option displays human readable format

A

-h

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

which df option lists pseudo, duplicate and inaccessible file systems

A

-a

17
Q

What command info is pulled from etc/cron.d/sysstat?

A

sar