git: cd8f8d34c9fd - stable/14 - vmstat -o: report objects backing SysV shm segments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Oct 2024 15:05:28 UTC
The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=cd8f8d34c9fde023fb9821c5063abeea66e394ba commit cd8f8d34c9fde023fb9821c5063abeea66e394ba Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-10-05 09:43:25 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-10-15 14:50:16 +0000 vmstat -o: report objects backing SysV shm segments (cherry picked from commit 2d84f79c4e451cac179c7b2111a7f6cba60960b3) --- usr.bin/vmstat/vmstat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index c86c335087f5..203c34451874 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1552,6 +1552,9 @@ display_object(struct kinfo_vmobject *kvo) break; } xo_emit("{:type/%-2s} ", str); + 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); xo_emit("{:path/%-s}\n", kvo->kvo_path); xo_close_instance("object"); }