.\" Man page generated from reStructuredText. . .TH "OHAI" "1" "Ohai 7.0.0" "" "ohai" .SH NAME ohai \- The man page for the ohai command line tool. . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .sp Ohai is a tool that is used to detect attributes on a node, and then provide these attributes to the chef\-client at the start of every chef\-client run. Ohai is required by the chef\-client and must be present on a node. (Ohai is installed on a node as part of the chef\-client install process.) .sp The types of attributes Ohai collects include (but are not limited to): .INDENT 0.0 .IP \(bu 2 Platform details .IP \(bu 2 Network usage .IP \(bu 2 Memory usage .IP \(bu 2 Processor usage .IP \(bu 2 Kernel data .IP \(bu 2 Host names .IP \(bu 2 Fully qualified domain names .IP \(bu 2 Other configuration details .UNINDENT .sp Attributes that are collected by Ohai are automatic attributes, in that these attributes are used by the chef\-client to ensure that these attributes remain unchanged after the chef\-client is done configuring the node. .sp ohai is the command\-line interface for Ohai, a tool that is used to detect attributes on a node, and then provide these attributes to the chef\-client at the start of every chef\-client run. .SH OPTIONS .sp This command has the following syntax: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C ohai OPTION .ft P .fi .UNINDENT .UNINDENT .sp This tool has the following options: .INDENT 0.0 .TP .B \fBATTRIBUTE_NAME ATTRIBUTE NAME ...\fP Use to have Ohai show only output for named attributes. .TP .B \fB\-d PATH\fP, \fB\-\-directory PATH\fP The directory in which Ohai plugins are located. For example: \fB/etc/ohai/plugins\fP\&. .TP .B \fB\-h\fP, \fB\-\-help\fP Shows help for the command. .TP .B \fB\-l LEVEL\fP, \fB\-\-log_level LEVEL\fP The level of logging that will be stored in a log file. .TP .B \fB\-L LOGLOCATION\fP, \fB\-\-logfile c\fP The location in which log file output files will be saved. If this location is set to something other than \fBSTDOUT\fP, standard output logging will still be performed (otherwise there would be no output other than to a file). .TP .B \fB\-v\fP, \fB\-\-version\fP The version of Ohai\&. .UNINDENT .SH AUTHOR Opscode .\" Generated by docutils manpage writer. .