[Bug 203918] [patch] sysctl -t to display field types
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 21 07:58:39 UTC 2015
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 at FreeBSD.org
Reporter: ota at 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.
More information about the freebsd-bugs
mailing list