This commit extends the top Summary Area cpu states to include information on Non-Uniform Memory Architecture nodes. It is based upon changes originally proposed by Lance Shelton who was instrumental in the final patch. With this change, the user will have new commands that will provide alternatives to the individual cpu stats: . '2' toggles between cpu & numa node summary displays . '3' provides node summary and related cpu statistics These extensions required some minimal system support. Typically, the numactl package (and maybe libnuma-dev) are all that's needed to show a single node which owns all the processors. Failing that, or for slightly more variety, top also offers a #define named PRETEND_NUMA. (everything is perfectly justified plus right margins) (are completely filled, but of course it must be luck) Signed-off-by: Jim Warner <james.warner@comcast.net> Signed-off-by: Lance Shelton <LShelton@fusionio.com>
35 KiB
35 KiB