File: scsi_stop.8

package info (click to toggle)
sg3-utils 1.44-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 7,056 kB
  • sloc: ansic: 93,218; sh: 7,607; cpp: 2,947; makefile: 447
file content (41 lines) | stat: -rw-r--r-- 1,423 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.TH SCSI_STOP "8" "May 2013" "sg3_utils\-1.36" SG3_UTILS
.SH NAME
scsi_stop \- stop (spin down) one or more SCSI disks
.SH SYNOPSIS
.B scsi_stop
[\fI\-\-help\fR] [\fI\-\-verbose\fR] [\fI\-\-wait\fR]
\fIDEVICE\fR [\fIDEVICE\fR]*
.SH DESCRIPTION
.\" Add any additional description here
.PP
This bash shell script calls the sg_start utility on each given
\fIDEVICE\fR. The purpose is to spin down (stop) each given \fIDEVICE\fR.
.SH OPTIONS
Arguments to long options are mandatory for short options as well.
.TP
\fB\-h\fR, \fB\-\-help\fR
print out the usage message then exit.
.TP
\fB\-v\fR, \fB\-\-verbose\fR
increase level or verbosity.
.TP
\fB\-w\fR, \fB\-\-wait\fR
wait for the spin down (stop) on each given \fIDEVICE\fR to complete.
The default action is to do each stop in immediate mode.
.SH NOTES
The sg_start utility calls the SCSI START STOP UNIT command and can
either start (spin up) or stop (spin down) a SCSI disk depending
on the given command line options.
.SH EXIT STATUS
The exit status of this script is 0 when it is successful. Otherwise the
exit status is that of the last sg_start utility called. See
the sg3_utils(8) man page.
.SH AUTHORS
Written by D. Gilbert
.SH COPYRIGHT
Copyright \(co 2009\-2013 Douglas Gilbert
.br
This software is distributed under a FreeBSD license. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
.B sg_start (sg3_utils)