]> git.proxmox.com Git - mirror_spl-debian.git/blame - man/man1/splat.1
New upstream version 0.7.4
[mirror_spl-debian.git] / man / man1 / splat.1
CommitLineData
40748209
DH
1'\" t
2.\"
3.\" Copyright 2013 Darik Horn <dajhorn@vanadac.com>. All rights reserved.
4.\"
5.TH splat 1 "2013 MAR 16" "ZFS on Linux" "User Commands"
6
7.SH NAME
8splat \- Solaris Porting LAyer Tests
9.SH SYNOPSIS
10.LP
11.BI "splat [\-chvx] < \-\-all | \-\-list | \-\-test " "subsystem" ":" "test" " [...] >"
12
13.SH DESCRIPTION
14This utility uses the splat.ko kernel module to test the spl.ko kernel
15module. Run "modprobe splat" before invoking \fBsplat\fR.
16
17.SH OPTIONS
18.HP
19.BI "\-a" "" ", \-\-all" ""
20.IP
21Run all available tests on all subsystems.
22.HP
23.BI "\-c" "" ", \-\-nocolor" ""
24.IP
25Disable output highlighting. By default, "Fail" is printed in red text
26and "Pass" is printed in green text.
27.HP
28.BI "\-h" "" ", \-\-help" ""
29.IP
30Print the usage message.
31.HP
32.BI "\-l" "" ", \-\-list" ""
33.IP
34For each spl.ko subsystem, print all available test names and
99d6d8dc 35hexadecimal identifiers with a short description.
40748209
DH
36.HP
37.BI "\-t" " subsystem" ":" "test" ", \-\-test" " subsystem" ":" "test"
38.HP
39.BI "\-t" " subsystem" ":all" "" ", \-\-test" " subsystem" ":all" ""
40.IP
41Run the \fItest\fR diagnostic routine for the spl.ko \fIsubsystem\fR.
42Specify this option more than once to run multiple tests.
43
44The \fItest\fR and \fIsubsystem\fR parameters are the names or
99d6d8dc 45hexadecimal identifiers returned by the \fBsplat --list\fR command.
40748209 46
99d6d8dc 47If \fIsubsystem\fR is a name and not a hexadecimal identifier, then the
40748209
DH
48\fBall\fR keyword can be used to run all available \fIsubsystem\fR
49tests.
50
51.HP
52.BI "\-v" "" ", \-\-verbose" ""
53.HP
54.IP
55Increase verbosity.
56.HP
57.BI "\-x" "" ", \-\-exit" ""
58.IP
59Stop running tests after the first failure.
60
61.SH "EXAMPLES"
62.LP
63Test everything in the spl.ko kernel module:
64.IP
65# splat --all --verbose
66.LP
67Test the entire kernel memory subsystem:
68.IP
69# splat --test kmem:all
70.LP
71Test the kernel compression and queue waiting facilities:
72.IP
73# splat --test zlib:compress/uncompress --test taskq:wait
74.LP
75This is the same as the previous command, except that the subsystems
99d6d8dc 76and tests are referenced by hexadecimal identifier instead of by name:
40748209
DH
77.IP
78# splat -t 0x0f00:0x0f01 -t 0x0200:0x0204
79
80.SH "NOTES"
81All tests always return a green "Pass" result on a healthy system. Any
82red "Fail" result should be investigated or reported.
83
84.SH "BUGS"
85Some tests can deadlock the kernel if an X11 desktop is running,
86especially if a proprietary blob driver is loaded for the video
87hardware.
88
89.SH "AUTHORS"
90This man page was written by Darik Horn <dajhorn@vanadac.com>.
91
92.SH "SEE ALSO"
93.BR zpios (1),
94.BR ztest (1)