Skip to content

Linux: individually show shared memory#558

Merged
BenBE merged 1 commit intohtop-dev:masterfrom
cgzones:sharedMem
Mar 15, 2021
Merged

Linux: individually show shared memory#558
BenBE merged 1 commit intohtop-dev:masterfrom
cgzones:sharedMem

Conversation

@cgzones
Copy link
Copy Markdown
Member

@cgzones cgzones commented Mar 3, 2021

Shmem: Total memory used by shared memory (shmem) and tmpfs

Source: https://www.kernel.org/doc/Documentation/filesystems/proc.txt

Closes: #556

Copy link
Copy Markdown
Member

@natoscott natoscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cgzones LGTM

@BenBE
Copy link
Copy Markdown
Member

BenBE commented Mar 4, 2021

Will have to test this with my setup if it gives reasonable results, but the general patch looks already good. More comments after I got around to testing it.

Shmem: Total memory used by shared memory (shmem) and tmpfs

Source: https://www.kernel.org/doc/Documentation/filesystems/proc.txt

Closes: htop-dev#556
@cgzones cgzones marked this pull request as ready for review March 12, 2021 16:10
@cgzones cgzones added this to the 3.0.6 milestone Mar 12, 2021
Copy link
Copy Markdown
Member

@BenBE BenBE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Values seem reasonable even with large RAM disks partially in swap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sum of tmpfs mounts as additional item in mem meter

3 participants