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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"