Skip to content

Commit 2695822

Browse files
committed
Merge branch 'issue-492' of github.com:ugolnikovE/htop into ugolnikovE-issue-492
2 parents eeeeaca + d5005f0 commit 2695822

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

htop.1.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,10 @@ process's used physical memory).
434434
.B M_SHARE (SHR)
435435
The size of the process's shared pages.
436436
.TP
437+
.B M_PRIV (PRIV)
438+
The private memory size of the process (i.e. the resident set size minus the
439+
shared memory size).
440+
.TP
437441
.B M_TRS (CODE)
438442
The text resident set size of the process (i.e. the size of the process's
439443
executable instructions).

linux/Platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ bool Running_containerized = false;
9090
const ScreenDefaults Platform_defaultScreens[] = {
9191
{
9292
.name = "Main",
93-
.columns = "PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command",
93+
.columns = "PID USER PRIORITY NICE M_VIRT M_RESIDENT M_PRIV STATE PERCENT_CPU PERCENT_MEM TIME Command",
9494
.sortKey = "PERCENT_CPU",
9595
},
9696
{

pcp/Platform.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Platform* pcp;
6060
const ScreenDefaults Platform_defaultScreens[] = {
6161
{
6262
.name = "Main",
63-
.columns = "PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command",
63+
.columns = "PID USER PRIORITY NICE M_VIRT M_RESIDENT M_PRIV STATE PERCENT_CPU PERCENT_MEM TIME Command",
6464
.sortKey = "PERCENT_CPU",
6565
},
6666
{

0 commit comments

Comments
 (0)