Thursday, December 21, 2017

linux - htop res & virt colors



I did some googling about htop, I found this and this.
But I couldn't seem to find what the red color of virt and res means.

As you can see in the screenshot, some are whitish and other are red.
Does it simply means allot of memory used or is it something else?



enter image description here


Answer



The red color indicates that the amount of VIRT or RES memory is in the area of gigabytes. The light blue color corresponds to megabytes, and therefore white color means kilobytes.



This is, that the users has instantly a visual information, if he searches for processes, which consume a lot of memory. Notice that, the nice values (NI) are also red, when they differ from 0 for the same reason as above.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...