nerdexam
CompTIA

XK0-005 · Question #25

A junior administrator of a physical server receives log messages indicating the out-of-memory killer has been active. All memory slots are in use on the motherboard, but additional disk space is…

The correct answer is B. mkswap /swapfile; swapon -a. mkswap : - set up a Linux swap area free: - Display amount of free and used memory in the system fallocalte: - preallocate or deallocate space to a file echo: -display a line of a text

Troubleshooting

Question

A junior administrator of a physical server receives log messages indicating the out-of-memory killer has been active. All memory slots are in use on the motherboard, but additional disk space is available. Space has been allocated for a swap file. Which of the following should the administrator use to reduce the output of memory messages?

Options

  • Afree : swapoff / swapfile ; swapon -a
  • Bmkswap /swapfile; swapon -a
  • Decho "1" > /proc/meninfo ; swapon / swapfile

How the community answered

(47 responses)
  • A
    9% (4)
  • B
    72% (34)
  • D
    19% (9)

Explanation

mkswap : - set up a Linux swap area free: - Display amount of free and used memory in the system fallocalte: - preallocate or deallocate space to a file echo: -display a line of a text

Topics

#Linux Memory Management#Swap File Configuration#Out-of-Memory Killer#Command-line Tools

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice