mirror of
https://github.com/akuker/RASCSI.git
synced 2026-01-23 12:16:06 +00:00
Use proper idiomatic mdoc syntax, notably removing any empty lines or trailing white spaces Explicitly set a project name to suppress the default OS label
39 lines
1.8 KiB
Groff
39 lines
1.8 KiB
Groff
.Dd December 18, 2025
|
|
.Dt SCSIMON 1
|
|
.Os PiSCSI
|
|
.Sh NAME
|
|
.Nm scsimon
|
|
.Nd Acts as a data capture tool for all traffic on the SCSI bus. Data is stored in a Value Change Dump (VCD) file.
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl i Ar input_file_json
|
|
.Op Fl b Ar buffer_size
|
|
.Op Ar output_file
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
monitors all of the traffic on the SCSI bus, using a PiSCSI device. The data is cached in memory while the tool is running. A circular buffer is used so that only the most recent transactions are stored, with a default size of 1,000,000 unless overridden by the -b option. The tool will continue to run until the user presses CTRL-C, or the process receives a SIGINT signal.
|
|
.Pp
|
|
If the -i option is specified, scsimon will parse the provided JSON file instead of capturing new data. If -i option is not specified, scsimon will read the GPIO pins.
|
|
.Pp
|
|
The logged data is stored in files with the base name specified by output_file, or "log" if not specified. The appropriate file extension (e.g., .json or .vcd) will be appended.
|
|
.Pp
|
|
To quit scsimon, press Control + C.
|
|
.Sh OPTIONS
|
|
.Fl i Ar input_file_json
|
|
scsimon will parse the json file instead of capturing new data. If -i option is not specified, scsimon will read the gpio pins.
|
|
.Fl b Ar buffer_size
|
|
Override the default buffer size of 1000000.
|
|
.Ar output_file
|
|
Base name of the output files. The file extension (ex: .json) will be appended to this file name.
|
|
.Sh EXAMPLES
|
|
Make sure you've stopped the piscsi service. Then launch scsimon to capture all SCSI traffic available to the PiSCSI hardware:
|
|
.Dl Nm scsimon
|
|
.Pp
|
|
If you're trying to capture a specific scenario, you'll want to wait to start scsimon until immediately before the scenario.
|
|
.Sh SEE ALSO
|
|
.Xr scsictl 1 ,
|
|
.Xr piscsi 1 ,
|
|
.Xr scsidump 1
|
|
.Pp
|
|
Full documentation is available at: <https://www.piscsi.com>
|