mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 04:22:44 +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:
parent
a1258191d5
commit
ba40b2b899
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user