Sec. 19 Flashcards

1
Q

what does the quota command report on ?

A

quota usage and limits

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

quota operations require what two files to work ?

A
  1. aquota.user

and

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

in order for quotas to work on a filesystem what two indentifiers need to be placed in the fstab file?

A
  1. userquota

and or

2. grpquota

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

once i add the nessary files for quota in fstab what do i need to do next to get then to work?

A

remount the system

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

command : quotacheck. what is its purpose?

A

to create and update the quota accounting files

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

in most situations the recommended swap size is ….?

A

teh total ram on the system

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

where can i look to see what my system is using for swap ?

A

/proc/swaps

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

I can get basic memory stats by using what command ?

A

free

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

the only commands for swap are ?

A
  1. mkswap
  2. swapon
  3. swapoff
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

linux can use and enforce ….?

A

quotas on a filesystem

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

sys. admin. use the quota system to control …?

A

the maximum space a user or group in allowed to use on a filesystem

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

what is the purpose of the command : quotacheck

A

to generate and update quota accounting files .

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

what is the purpose of the quotaon command?

A

to enable quota accounting on a filesystem

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

what is the purpose of the quotaoff command ?

A

to disable quota accounting on a filesystem

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

what is the purpose of the edquota command ?

A

used for editing user and group quota files

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

sudo quotacheck -ua

A

update all user files for all filesystems in /etc/fstab

17
Q

which command is used to set quotas?

A

edquota

18
Q

what is the purpose of the df command ?

A

to examine fielsystem capacity and usage