1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00

vmstat -o: report objects backing posix shm segments

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D46970
This commit is contained in:
Konstantin Belousov 2024-10-07 05:01:48 +03:00
parent a1258191d5
commit ba40b2b899

View File

@ -1546,6 +1546,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");
}