forked from PiSCSI/piscsi
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue PiSCSI#7 - implement a scsi monitor function for RaSCSI to log …
…SCSI traffic (PiSCSI#46) * PiSCSI#7 Re-merge scsimon functionality with latest master. The old scsimon branch was waaaaay too out of date * PiSCSI#7 Re-merge scsimon functionality with latest master. The old scsimon branch was waaaaay too out of date * Added libspdlog-dev as a required package * Cleanup from master re-base * Updated to use GCC version 8, to match the raspberry pi Co-authored-by: akuker <akuker@gmail.com>
- Loading branch information
Showing
18 changed files
with
739 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.TH scsimon 1 | ||
.SH NAME | ||
scsimon \- 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 | ||
.B scsimon | ||
.SH DESCRIPTION | ||
.B scsimon | ||
Monitors all of the traffic on the SCSI bus, using a RaSCSI device. The data is cached in memory while the tool is running. A circular buffer is used so that only the most recent 1,000,000 transactions are stored. The tool will continue to run until the user presses CTRL-C, or the process receives a SIGINT signal. | ||
.PP | ||
The logged data is stored in a file called "log.vcd" in the current working directory from where scsimon was launched. | ||
|
||
Currently, scsimon doesn't accept any agruments. | ||
|
||
To quit scsimon, press Control + C. | ||
|
||
.SH OPTIONS | ||
.TP | ||
None | ||
|
||
.SH EXAMPLES | ||
Launch scsimon to capture all SCSI traffic available to the RaSCSI hardware: | ||
scsimon | ||
|
||
.SH SEE ALSO | ||
rasctl(1), rascsi(1) | ||
|
||
Full documentation is available at: <https://www.github.com/akuker/RASCSI/wiki/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
!! ------ THIS FILE IS AUTO_GENERATED! DO NOT MANUALLY UPDATE!!! | ||
!! ------ The native file is scsimon.1. Re-run 'make docs' after updating | ||
|
||
|
||
scsimon(1) General Commands Manual scsimon(1) | ||
|
||
NAME | ||
scsimon - Acts as a data capture tool for all traffic on the SCSI bus. Data is stored in a Value Change Dump (VCD) file. | ||
|
||
SYNOPSIS | ||
scsimon | ||
|
||
DESCRIPTION | ||
scsimon Monitors all of the traffic on the SCSI bus, using a RaSCSI device. The data is cached in memory while the tool is running. A circular buffer is used so that only the most recent 1,000,000 | ||
transactions are stored. The tool will continue to run until the user presses CTRL-C, or the process receives a SIGINT signal. | ||
|
||
The logged data is stored in a file called "log.vcd" in the current working directory from where scsimon was launched. | ||
|
||
Currently, scsimon doesn't accept any agruments. | ||
|
||
To quit scsimon, press Control + C. | ||
|
||
OPTIONS | ||
None | ||
|
||
EXAMPLES | ||
Launch scsimon to capture all SCSI traffic available to the RaSCSI hardware: | ||
scsimon | ||
|
||
SEE ALSO | ||
rasctl(1), rascsi(1) | ||
|
||
Full documentation is available at: <https://www.github.com/akuker/RASCSI/wiki/> | ||
|
||
scsimon(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
*.cbp | ||
*.layout | ||
*.log | ||
*.vcd | ||
rascsi | ||
scsimon | ||
rasctl | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.