xref: /freebsd/usr.sbin/sesutil/sesutil.8 (revision cddcb2599f51dea4a0866b10678f730ee593e094)
1*cddcb259SBaptiste Daroussin.\" Copyright (c) 2015 Baptiste Daroussin <bapt@FreeBSD.org>
2*cddcb259SBaptiste Daroussin.\" All rights reserved.
3*cddcb259SBaptiste Daroussin.\"
4*cddcb259SBaptiste Daroussin.\" Redistribution and use in source and binary forms, with or without
5*cddcb259SBaptiste Daroussin.\" modification, are permitted provided that the following conditions
6*cddcb259SBaptiste Daroussin.\" are met:
7*cddcb259SBaptiste Daroussin.\" 1. Redistributions of source code must retain the above copyright
8*cddcb259SBaptiste Daroussin.\"    notice, this list of conditions and the following disclaimer.
9*cddcb259SBaptiste Daroussin.\" 2. Redistributions in binary form must reproduce the above copyright
10*cddcb259SBaptiste Daroussin.\"    notice, this list of conditions and the following disclaimer in the
11*cddcb259SBaptiste Daroussin.\"    documentation and/or other materials provided with the distribution.
12*cddcb259SBaptiste Daroussin.\"
13*cddcb259SBaptiste Daroussin.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14*cddcb259SBaptiste Daroussin.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15*cddcb259SBaptiste Daroussin.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16*cddcb259SBaptiste Daroussin.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17*cddcb259SBaptiste Daroussin.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18*cddcb259SBaptiste Daroussin.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19*cddcb259SBaptiste Daroussin.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20*cddcb259SBaptiste Daroussin.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21*cddcb259SBaptiste Daroussin.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22*cddcb259SBaptiste Daroussin.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23*cddcb259SBaptiste Daroussin.\" SUCH DAMAGE.
24*cddcb259SBaptiste Daroussin.\"
25*cddcb259SBaptiste Daroussin.\" $FreeBSD$
26*cddcb259SBaptiste Daroussin.\"
27*cddcb259SBaptiste Daroussin.Dd September 1, 2015
28*cddcb259SBaptiste Daroussin.Dt SESUTIL 8
29*cddcb259SBaptiste Daroussin.Os
30*cddcb259SBaptiste Daroussin.Sh NAME
31*cddcb259SBaptiste Daroussin.Nm sesutil
32*cddcb259SBaptiste Daroussin.Nd Utility for managing SCSI Enclosure Services (SES) device
33*cddcb259SBaptiste Daroussin.Sh SYNOPSIS
34*cddcb259SBaptiste Daroussin.Nm
35*cddcb259SBaptiste Daroussin.Cm locate Ar disk Bq on|off
36*cddcb259SBaptiste Daroussin.Sh DESCRIPTION
37*cddcb259SBaptiste DaroussinThe
38*cddcb259SBaptiste Daroussin.Nm
39*cddcb259SBaptiste Daroussinutility can be used to modify various parameter on SCSI Enclosure Services
40*cddcb259SBaptiste Daroussin(SES) device.
41*cddcb259SBaptiste Daroussin.Pp
42*cddcb259SBaptiste DaroussinList of supported commands:
43*cddcb259SBaptiste Daroussin.Bl -tag -width indent
44*cddcb259SBaptiste Daroussin.It Cm locate Ar disk Bq on|off
45*cddcb259SBaptiste DaroussinChange the state of the external LED associated with
46*cddcb259SBaptiste Daroussin.Ar disk .
47*cddcb259SBaptiste Daroussin.Ar disk
48*cddcb259SBaptiste Daroussincan be the device name of the disk, like
49*cddcb259SBaptiste Daroussin.Cm da12 ,
50*cddcb259SBaptiste Daroussinor
51*cddcb259SBaptiste Daroussin.Cm all .
52*cddcb259SBaptiste Daroussinto indicate all disks attached to SES controllers.
53*cddcb259SBaptiste Daroussin.El
54*cddcb259SBaptiste Daroussin.Sh EXAMPLES
55*cddcb259SBaptiste DaroussinTurn off all external LEDs:
56*cddcb259SBaptiste Daroussin.Pp
57*cddcb259SBaptiste Daroussin.Dl Nm Cm locate all off
58*cddcb259SBaptiste Daroussin.Pp
59*cddcb259SBaptiste DaroussinTurn on the external LED of drive
60*cddcb259SBaptiste Daroussin.Pa da15 :
61*cddcb259SBaptiste Daroussin.Pp
62*cddcb259SBaptiste Daroussin.Dl Nm Cm locate da15 on
63*cddcb259SBaptiste Daroussin.Sh SEE ALSO
64*cddcb259SBaptiste Daroussin.Xr ses 4
65*cddcb259SBaptiste Daroussin.Sh HISTORY
66*cddcb259SBaptiste DaroussinThe
67*cddcb259SBaptiste Daroussin.Nm
68*cddcb259SBaptiste Daroussinutility first appeared in
69*cddcb259SBaptiste Daroussin.Fx 11.0 .
70*cddcb259SBaptiste Daroussin.Sh AUTHORS
71*cddcb259SBaptiste DaroussinThe
72*cddcb259SBaptiste Daroussin.Nm utility was written by
73*cddcb259SBaptiste Daroussin.An Baptiste Daroussin Aq Mt bapt@FreeBSD.org .
74