hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

Feature: Show cpu serial start from Zero #947

Closed Leslie-Fang closed 5 years ago

Leslie-Fang commented 5 years ago

When use htop shows the cpu utilization, the cpu serial number is started from 1 instead of 0. It's not user-friendly, since when we use numactl to bind cpu, the serial starts from 0. So we have to make a conversion when use htop. Is it possible to make a change?

wangqr commented 5 years ago

You can press F2 to enter the Setup menu. From there, select Display options and check Count CPUs from 0 instead of 1.

Leslie-Fang commented 5 years ago

You can press F2 to enter the Setup menu. From there, select Display options and check Count CPUs from 0 instead of 1.

@wangqr Great, Thanks:).