0

This question already has an answer here:

when I ran TOP command in Busy box, I just wanted to know if VSZ% is MEM%, if not how can get MEM% with TOP command in Busy box

marked as duplicate by schily, Jeff Schaller, Romeo Ninov, Anthony Geoghegan, Satō Katsura Jul 4 '18 at 16:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0

To understand this we need to first understand some other initialisms.

VSZ (or VIRT, depending on the version of top) is the amount of memory mapped into the address space of the process. It includes pages backed by the process' executable file and shared libraries, its heap and stack, as well as anything else it has mapped. -From a previous question

Busybox top shows the percent of virtual memory in use for a process as VSZ%, so you can see if something is over allocating memory on an embedded system, which may lead to problems down the line.

RES is important to understand, and straight from the manpage it is anything occupying physical memory.

Normally on non busybox systems %mem is RES / TotalPhysicalMemory

From a previous question:

It looks like busybox top calculates %MEM as VSZ/MemTotal instead of RSS/MemTotal.

What do top's %MEM and VSZ mean?

It looks like you can view more memory information by pressing "s" while inside busybox top, but I'm not sure you can see a column "%mem" by default with the busybox implementation.

Not the answer you're looking for? Browse other questions tagged or ask your own question.