XK0-004 · 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 avai
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
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
- Cfallocate -l 2G /swapfile && swapon -a
- Decho "1" > /proc/meninfo ; swapon / swapfile
How the community answered
(41 responses)- A15% (6)
- B76% (31)
- C2% (1)
- D7% (3)
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
Community Discussion
No community discussion yet for this question.