mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
procstat vm: report posix shm segment mapping
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
b0b18b57a5
commit
a1258191d5
@ -170,6 +170,8 @@ procstat_vm(struct procstat *procstat, struct kinfo_proc *kipp)
|
||||
xo_emit(" {:sysvipc:/sysvshm(%ju:%u)/%ju:%u}",
|
||||
(uintmax_t)kve->kve_vn_fileid,
|
||||
kve->kve_vn_fsid_freebsd11);
|
||||
if ((kve->kve_flags & KVME_FLAG_POSIXSHM) != 0)
|
||||
xo_emit(" {:posixshm:/posixshm@/posixshm}");
|
||||
xo_emit("{:kve_path/%-s/%s}\n", kve->kve_path);
|
||||
xo_close_instance("vm");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user