Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
How to Use top Command to Check Swap Usage
in Linux
Applies to:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
Goal:
This document outlines the steps required to use the top command to check swap usage for processes.
Solution:
- Run the
topcommand:$ sudo top
On your keyboard press thefkey and scroll down using the[down]arrow key until you have selectedSWAP
Then press[Space]to select it. (This should add a*symbol in front of it.) - While still selecting
SWAP
Press the[right]arrow key, which highlights the entireSWAPline.
Using the[UP]arrow key move it up to one of the first options (anywhere above “COMMAND”).
Tagged:
0