mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 19:37:06 -05:00
Add a new -A, --stats option
This commit is contained in:
parent
c3d34734ae
commit
93804c20c3
5 changed files with 149 additions and 16 deletions
58
snapraid.1
58
snapraid.1
|
|
@ -53,6 +53,10 @@ snapraid [\-c, \-\-conf CONFIG]
|
|||
[\-L, \-\-error\-limit NUMBER]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-A, \-\-stats]
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
[\-v, \-\-verbose] [\-q, \-\-quiet]
|
||||
.PD 0
|
||||
|
|
@ -1097,6 +1101,37 @@ Applies a global bandwidth limit for all disks. The RATE is
|
|||
the number of bytes per second. You can specify a multiplier
|
||||
as K, M, or G (e.g., \-\-bw\-limit 1G).
|
||||
.TP
|
||||
.B \-A, \-\-stats
|
||||
Enables an extended status view that shows additional information.
|
||||
.PP
|
||||
.RS 4
|
||||
The screen displays two graphs:
|
||||
.RE
|
||||
.PP
|
||||
.RS 4
|
||||
The first graph shows the number of buffered stripes for each
|
||||
disk, along with the file path of the file currently being
|
||||
accessed on that disk. Typically, the slowest disk will have
|
||||
no buffer available, which determines the maximum achievable
|
||||
bandwidth.
|
||||
.RE
|
||||
.PP
|
||||
.RS 4
|
||||
The second graph shows the percentage of time spent waiting
|
||||
over the past 100 seconds. The slowest disk is expected to
|
||||
cause most of the wait time, while the other disks should have
|
||||
little or no wait because they can use their buffered stripes.
|
||||
This graph also shows the time spent waiting for hash
|
||||
calculations and RAID computations.
|
||||
.RE
|
||||
.PP
|
||||
.RS 4
|
||||
All computations run in parallel with disk operations.
|
||||
Therefore, as long as there is measurable wait time for at
|
||||
least one disk, it indicates that the CPU is fast enough to
|
||||
keep up with the workload.
|
||||
.RE
|
||||
.TP
|
||||
.B \-Z, \-\-force\-zero
|
||||
Forces the insecure operation of syncing a file with zero
|
||||
size that before was not.
|
||||
|
|
@ -1456,10 +1491,25 @@ may interrupt SnapRAID.
|
|||
.SS temp_limit TEMPERATURE_CELSIUS
|
||||
Sets the maximum allowed disk temperature in Celsius. When specified,
|
||||
SnapRAID periodically checks the temperature of all disks using the
|
||||
smartctl tool. The current disk temperatures are displayed during
|
||||
processing. If any disk exceeds this limit, all operations stop and
|
||||
the disks are spun down (put into standby) for the duration defined
|
||||
by \[dq]temp_sleep\[dq].
|
||||
smartctl tool. The current disk temperatures are displayed while
|
||||
SnapRAID is operating. If any disk exceeds this limit, all operations
|
||||
stop and the disks are spun down (put into standby) for the duration
|
||||
defined by \[dq]thermal_sleep\[dq].
|
||||
.PP
|
||||
During operation, SnapRAID also analyzes the heating curve of each
|
||||
disk and estimates the long\-term steady temperature they are expected
|
||||
to reach if activity continues. This predicted steady temperature is
|
||||
shown in parentheses next to the current value and helps assess
|
||||
whether the system’s cooling is adequate.
|
||||
.PP
|
||||
To perform this analysis, SnapRAID needs a reference for the ambient
|
||||
system temperature. It first attempts to read it from available
|
||||
hardware sensors. If no system sensor can be accessed, it uses the
|
||||
lowest disk temperature measured at the start of the run as a fallback
|
||||
reference.
|
||||
.PP
|
||||
Normally, SnapRAID shows only the temperature of the hottest disk.
|
||||
To display the temperature of all disks, use the \-A or \-\-stats option.
|
||||
.SS temp_sleep TIME_IN_MINUTES
|
||||
Sets the standby time, in minutes, when the temperature limit is
|
||||
reached. During this period, the disks remain spun down. The default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue