Date: Wed, 21 Oct 2015 07:58:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 203918] [patch] sysctl -t to display field types Message-ID: <bug-203918-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203918 Bug ID: 203918 Summary: [patch] sysctl -t to display field types Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: ota@j.email.ne.jp Keywords: patch Created attachment 162274 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162274&action=edit sysctl -t patch Added -t option to display field types. It may be used together with -d option. This made easier to find field types when toying sysctls in systat. % sysclt -t -a kern.ostype: string kern.osrelease: string kern.osrevision: integer kern.version: string kern.maxvnodes: integer kern.maxproc: integer kern.maxfiles: integer kern.argmax: integer kern.securelevel: integer kern.hostname: string kern.hostid: unsigned long kern.clockrate: opaque % sysctl -tda kern.ostype: string: Operating system type kern.osrelease: string: Operating system release kern.osrevision: integer: Operating system revision kern.version: string: Kernel version % sysctl -e -tda kern.ostype=string=Operating system type kern.osrelease=string=Operating system release kern.osrevision=integer=Operating system revision kern.version=string=Kernel version kern.maxvnodes=integer=Maximum number of vnodes -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203918-8>