Change the memory unit to MiB or GiB in top command

In Ubuntu and Debian, top command's default unit of memory usage (VIRT and RSS) is KiB. Recent applications use a lot of memory, so sometimes it is difficult to see many digits. In such cases, you can change the unit by pressing the following key.
  • E (uppercase):Change overall memory usage units at top
  • e (lowercase):Change the unit of memory usage for each app
The following screen capture is an example of overall memory usage at the top in GiB and memory usage for each app in MiB.

No comments:

Post a Comment