.\"Copyright (c) 1999 .\" Chris D. Faulhaber . All rights reserved. .\" .\"Redistribution and use in source and binary forms, with or without .\"modification, are permitted provided that the following conditions .\"are met: .\"1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer as .\" the first lines of this file unmodified. .\"2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\"THIS SOFTWARE IS PROVIDED BY Chris D. Faulhaber ``AS IS'' AND ANY EXPRESS OR .\"IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES .\"OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. .\"IN NO EVENT SHALL Chris D. Faulhaber BE LIABLE FOR ANY DIRECT, INDIRECT, .\"INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT .\"NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, .\"DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY .\"THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT .\"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\"THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" .\"Portions of this software derived from examples (c) 1998 Takanori Watanabe. .\" .\" $Id: lmmon.8,v 1.12 2000/03/08 17:41:28 jedgar Exp $ .\" .Dd October 19, 1999 .Dt LMMON 8 .Os FreeBSD .Sh NAME .Nm lmmon .Nd display motherboard power management controller information .Sh SYNOPSIS .Nm lmmon .Op Fl hipsv .Op Fl r Ar delay .Sh DESCRIPTION .Nm lmmon is a console application to display information associated with information received from a motherboard power management controller. By default it cycles once every second using a curses-based display. .Pp The following options are available: .Bl -tag -width indent .It Fl h Display help. .It Fl i Use /dev/io interface instead of /dev/smb0. Required for FreeBSD 3.x (prior to 01 November 1999) and some motherboards without actual LM78/79 chipsets. .It Fl m Simple output format, suitable for further processing. Forces -p and -s. .It Fl p Plain display (no curses). .It Fl r Ar delay Redisplay every .Ar delay seconds (default 1). .It Fl s Single-shot mode (run once). .It Fl v Display version information. .El .Pp The following kernel configuration options are required to use the /dev/smb0 interface: .Bd -literal -offset indent \&controller smbus0 \&controller iicbus0 \&controller iicbb0 \&controller intpm0 \&device smb0 at smbus? .Sh BUGS Currently, the .Xr intpm 4 controller is only available in FreeBSD 4.0 and 3.3-STABLE after 01 November 1999; however, the /dev/io interface may work on older versions and a wider variety of motherboards. .Sh SEE ALSO .Xr intpm 4 , .Xr smb 4 , .Xr smbus 4