git: a8ff05830f63 - stable/14 - vmstat -o: report objects backing posix shm segments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Oct 2024 15:05:38 UTC
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a8ff05830f63328a22fa9eccd7a6d9b525b364b8 commit a8ff05830f63328a22fa9eccd7a6d9b525b364b8 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-10-07 02:01:48 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-10-15 14:50:17 +0000 vmstat -o: report objects backing posix shm segments (cherry picked from commit ba40b2b89962b799ade3b92cdd710e36cccc8810) --- usr.bin/vmstat/vmstat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 203c34451874..ecffdc894e2e 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1555,6 +1555,8 @@ display_object(struct kinfo_vmobject *kvo) if ((kvo->kvo_flags & KVMO_FLAG_SYSVSHM) != 0) xo_emit("{:sysvshm/sysvshm(%ju:%u)} ", (uintmax_t)kvo->kvo_vn_fileid, kvo->kvo_vn_fsid_freebsd11); + if ((kvo->kvo_flags & KVMO_FLAG_POSIXSHM) != 0) + xo_emit("{:posixshm/posixshm@/posixshm}"); xo_emit("{:path/%-s}\n", kvo->kvo_path); xo_close_instance("object"); }