svn commit: r318713 - head/usr.bin/vmstat

Mark Johnston markj at FreeBSD.org
Tue May 23 07:20:30 UTC 2017


Author: markj
Date: Tue May 23 07:20:29 2017
New Revision: 318713
URL: https://svnweb.freebsd.org/changeset/base/318713

Log:
  Let vmstat -o recognize OBJT_MGTDEVICE objects.
  
  MFC after:	1 week

Modified:
  head/usr.bin/vmstat/vmstat.c

Modified: head/usr.bin/vmstat/vmstat.c
==============================================================================
--- head/usr.bin/vmstat/vmstat.c	Tue May 23 07:17:52 2017	(r318712)
+++ head/usr.bin/vmstat/vmstat.c	Tue May 23 07:20:29 2017	(r318713)
@@ -1643,6 +1643,9 @@ display_object(struct kinfo_vmobject *kv
 	case KVME_TYPE_SG:
 		str = "sg";
 		break;
+	case KVME_TYPE_MGTDEVICE:
+		str = "md";
+		break;
 	case KVME_TYPE_UNKNOWN:
 	default:
 		str = "??";


More information about the svn-src-head mailing list