• R/O
  • HTTP
  • SSH
  • HTTPS

jm: 提交

翻訳ドキュメント管理用


Commit MetaInfo

修訂c705692db0af1212806c016b30e6ea6391691879 (tree)
時間2019-07-21 03:30:33
作者Yuichi SATO <ysato444@ybb....>
CommiterSHIRAKATA Kentaro

Log Message

[JM:01535] sysstat tapestat.1

Change Summary

差異

--- /dev/null
+++ b/manual/sysstat/draft/man1/tapestat.1
@@ -0,0 +1,451 @@
1+.\"
2+.\" Japanese Version Copyright (c) 2019 Yuichi SATO
3+.\" all rights reserved.
4+.\" Translated Sat Jul 13 20:31:16 JST 2019
5+.\" by Yuichi SATO <ysato444@ybb.ne.jp>
6+.\"
7+.TH TAPESTAT 1 "JULY 2018" Linux "Linux User's Manual" -*- nroff -*-
8+.\"O .SH NAME
9+.SH 名前
10+.\"O tapestat \- Report tape statistics.
11+tapestat \- テープの統計をレポートする。
12+.\"O .SH SYNOPSIS
13+.SH 書式
14+.B tapestat [ -k | -m ] [ -t ] [ -V ] [ -y ] [ -z ] [ --human ] [
15+.I interval
16+.B [
17+.I count
18+.B ] ]
19+.\"O .SH DESCRIPTION
20+.SH 説明
21+.\"O The
22+.\"O .B tapestat
23+.\"O command is used for monitoring the activity of tape drives connected to a system.
24+.B tapestat
25+コマンドはシステムに接続されたテープの活性度をモニタリングする。
26+
27+.\"O The first report generated by the
28+.\"O .B tapestat
29+.\"O command provides statistics
30+.\"O concerning the time since the system was booted, unless the
31+.\"O .B -y
32+.\"O option is used, when this first report is omitted.
33+.B tapestat
34+コマンドが生成する最初のレポートとして、
35+システムがブートしてからの時間の統計が提供される。
36+.B -y
37+オプションが使われると、最初のレポートが省略される。
38+
39+.\"O Each subsequent report
40+.\"O covers the time since the previous report.
41+その後のレポートは、最初のレポートからの時間がカバーされる。
42+
43+.\"O The
44+.\"O .I interval
45+.\"O parameter specifies the amount of time in seconds between
46+.\"O each report.
47+.I interval
48+パラメータは各レポート間の時間を指定する。
49+.\"O The
50+.\"O .I count
51+.\"O parameter can be specified in conjunction with the
52+.\"O .I interval
53+.\"O parameter. If the
54+.\"O .I count
55+.\"O parameter is specified, the value of
56+.\"O .I count
57+.\"O determines the number of reports generated at
58+.\"O .I interval
59+.\"O seconds apart. If the
60+.\"O .I interval
61+.\"O parameter is specified without the
62+.\"O .I count
63+.\"O parameter, the
64+.\"O .B tapestat
65+.\"O command generates reports continuously.
66+.I count
67+パラメータは
68+.I interval
69+パラメータと組み合わせて使われる。
70+.I count
71+パラメータが指定されると、
72+.I count
73+は
74+.I interval
75+秒ごとに生成される回数を決定する。
76+.I count
77+パラメータを指定せずに
78+.I interval
79+パラメータを指定すると、
80+.B tapestat
81+コマンドは連続してレポートを生成する。
82+
83+.\"O .SH REPORT
84+.SH レポート
85+.\"O The
86+.\"O .B tapestat
87+.\"O report provides statistics for each tape drive connected to the system.
88+.\"O The following data are displayed:
89+.B tapestat
90+はシステムに接続されたテープドライブの統計をレポートする。
91+以下のデータが表示される。
92+
93+.B r/s
94+.RS
95+.\"O The number of reads issued expressed as the number per second averaged over the interval.
96+interval の期間に発行された読み込み転送の 1 秒あたりの平均回数。
97+
98+.RE
99+.B w/s
100+.RS
101+.\"O The number of writes issued expressed as the number per second averaged over the interval.
102+interval の期間に発行された書き込み転送の 1 秒あたりの平均回数。
103+
104+.RE
105+.B kB_read/s | MB_read/s
106+.RS
107+.\"O The amount of data read expressed in kilobytes (by default or if option -k used) or
108+.\"O megabytes (if option -m used) per second averaged over the interval.
109+interval の期間の読み込み転送量の 1 秒あたりの平均値。
110+(デフォルト、またはオプション -k が指定された場合) キロバイト、
111+(オプション -m が指定された場合) メガバイト。
112+
113+.RE
114+.B kB_wrtn/s | MB_wrtn/s
115+.RS
116+.\"O The amount of data written expressed in kilobytes (by default or if option -k used) or
117+.\"O megabytes (if option -m used) per second averaged over the interval.
118+interval の期間の書き込み転送量の 1 秒あたりの平均値。
119+(デフォルト、またはオプション -k が指定された場合) キロバイト、
120+(オプション -m が指定された場合) メガバイト。
121+
122+.RE
123+.B %Rd
124+.RS
125+.\"O Read percentage wait - The percentage of time over the interval spent waiting for read requests
126+.\"O to complete.
127+読み込み待ちの割合 - interval の期間に、読み込みリクエストの完了を
128+待つのに使った時間の割合。
129+.\"O The time is measured from when the request is dispatched to the SCSI mid-layer until it signals
130+.\"O that it completed.
131+SCSI 中間レイヤーにリクエストが送信されてから、
132+リクエストが完了するまでの時間が計測される。
133+
134+.RE
135+.B %Wr
136+.RS
137+.\"O Write percentage wait - The percentage of time over the interval spent waiting for write requests
138+.\"O to complete. The time is measured from when the request is dispatched to the SCSI mid-layer until
139+.\"O it signals that it completed.
140+書き込み待ちの割合 - interval の期間に、書き込みリクエストの完了を
141+待つのに使った時間の割合。
142+SCSI 中間レイヤーにリクエストが送信されてから、
143+リクエストが完了するまでの時間が計測される。
144+
145+.RE
146+.B %Oa
147+.RS
148+.\"O Overall percentage wait - The percentage of time over the interval spent waiting for any
149+.\"O I/O request to complete (read, write, and other).
150+待ち全体の割合 - interval の期間に、I/O リクエスト
151+(読み込み、書き込み、その他) の完了を待つのに使った時間の割合。
152+
153+.RE
154+.B Rs/s
155+.RS
156+.\"O The number of I/Os, expressed as the number per second averaged over the interval, where
157+.\"O a non-zero residual value was encountered.
158+0 以外の未処理の値に当たって、
159+interval の期間に転送された I/O の回数の平均値。
160+
161+.RE
162+.B Ot/s
163+.RS
164+.\"O The number of I/Os, expressed as the number per second averaged over the interval, that
165+.\"O were included as "other". Other I/O includes ioctl calls made to the tape driver and
166+.\"O implicit operations performed by the tape driver such as rewind on close
167+.\"O (for tape devices that implement rewind on close). It does not include any I/O performed
168+.\"O using methods outside of the tape driver (e.g. via sg ioctls).
169+「その他」の I/O を含む、interval の期間に転送された I/O の回数の平均値。
170+その他の I/O には、テープドライバに対する ioctl 呼び出しと、
171+(クローズ時の巻き戻しが実装されたテープデバイスに対する)
172+クローズ時の巻き戻しといった、テープドライバによって
173+実行される暗黙の操作が含まれる。
174+これには (例えば sg ioctl を使った) テープドライバ以外の
175+方法を使った I/O が含まれない。
176+.RE
177+.RE
178+.\"O .SH OPTIONS
179+.SH オプション
180+.IP --human
181+.\"O Print sizes in human readable format (e.g. 1.0k, 1.2M, etc.)
182+.\"O The units displayed with this option supersede any other default units (e.g.
183+.\"O kilobytes, sectors...) associated with the metrics.
184+サイズを人間が読みやすいフォーマット (例えば 1.0k, 1.2M など) で表示する。
185+このオプションで表示される単位は、指標に紐付けられたデフォルトの単位
186+(例えば、キロバイト、セクターなど) を上書きする。
187+.IP -k
188+.\"O Show the amount of data written or read in kilobytes per second instead of megabytes.
189+.\"O This option is mutually exclusive with -m.
190+読み書きされたデータ量を、メガバイトではなく、
191+キロバイトで表示する。
192+このオプションは -m とどちらか一方しか指定できない。
193+.IP -m
194+.\"O Show the amount of data written or read in megabytes per second instead of kilobytes.
195+.\"O This option is mutually exclusive with -k.
196+読み書きされたデータ量を、キロバイトではなく、
197+メガバイトで表示する。
198+このオプションは -k とどちらか一方しか指定できない。
199+.IP -t
200+.\"O Display time stamps. The time stamp format may depend
201+.\"O on the value of the S_TIME_FORMAT environment variable (see below).
202+タイムスタンプを表示する。
203+タイムスタンプのフォーマットは、S_TIME_FORMAT 環境変数の値に依存する
204+(下記を参照)。
205+.IP -V
206+.\"O Print version and exit.
207+バージョン番号を表示して、終了する。
208+.IP -y
209+.\"O Omit the initial statistic showing values since boot.
210+ブートからの最初の統計の表示を省略する。
211+.IP -z
212+.\"O Tell
213+.\"O .B tapestat
214+.\"O to omit output for any tapes for which there was no activity
215+.\"O during the sample period.
216+サンプリング期間に何も活動がない場合、
217+.B tapestat
218+に出力を省略させる。
219+
220+.\"O .SH CONSIDERATIONS
221+.SH 考慮点
222+.\"O It is possible for a percentage value (read, write, or other) to be greater than 100 percent
223+.\"O (the
224+.\"O .B tapestat
225+.\"O command will never show a percentage value more than 999).
226+割合の値 (読み込み、書き込み、その他) は、100% より大きくなる可能性がある
227+.RB ( tapestat
228+コマンドは 999% より大きい値を表示しない)。
229+.\"O If rewinding a tape takes 40 seconds where the interval time is 5 seconds the %Oa value
230+.\"O would show as 0 in the intervals before the rewind completed and then show as approximately
231+.\"O 800 percent when the rewind completes.
232+テープの巻き戻しに 40 秒かかり、interval 時間が 5 秒の場合、
233+巻き戻しが完了するまでの期間では %Oa の値は 0 であり、
234+巻き戻しが完了した後では約 800% になる。
235+
236+.\"O Similar values will be observed for %Rd and %Wr if a tape drive stops reading or writing
237+.\"O and then restarts (that is it stopped streaming). In such a case you may see the r/s or w/s drop to zero and the %Rd/%Wr value could be higher than 100 when reading or writing continues
238+.\"O (depending on how long it takes to restart writing or reading).
239+テープドライブが読み込みや書き込みを止めて、リスタート (つまりストリーミングを停止) した場合、
240+同様の値が %Rd と %Wr にも見られる。
241+このような場合、読み込みまたは書き込みが引き続いて起こると
242+(読み込みや書き込みが再開されるまでにどのくらいかかるかに依存して)、
243+r/s または w/s は 0 に落ち込み、
244+%Rd/%Wr の値は 100 より大きくなるだろう。
245+.\"O This is only an issue if it happens a lot as it may cause tape wear and will impact
246+.\"O on the backup times.
247+.\"O:
248+.\"O: cause tape ware の訳しかたに自信なし。
249+.\"O:
250+これは多発する場合にのみ問題になり、テープ摩耗の原因になり、
251+バックアップ時間に影響が出る。
252+
253+.\"O For fast tape drives you may see low percentage wait times.
254+速いテープドライブでは待ち時間の割合が低いだろう。
255+.\"O This does not indicate an issue with the tape drive. For a slower tape drive (e.g. an older
256+.\"O generation DDS drive) the speed of the tape (and tape drive) is much slower than filesystem I/O,
257+.\"O percent wait times are likely to be higher. For faster tape drives (e.g. LTO) the percentage
258+.\"O wait times are likely to be lower as program writing to or reading from tape is going
259+.\"O to be doing a lot more filesystem I/O because of the higher throughput.
260+これはテープドライブに問題があることを表している訳ではない。
261+遅いテープドライブ (例えば古い世代の DDS ドライブ) では、
262+テープ (とテープドライブ) の速度はファイルシステム I/O よりかなり遅く、
263+待ち時間の割合は高くなりやすい。
264+速いテープドライブ (例えば LTO) では、スループットが高いので、
265+テープに対する書き出しまた読み込みは、ファイルシステム I/O より良くなるため、
266+待ち時間の割合は低くなる。
267+
268+.\"O Although tape statistics are implemented in the kernel using atomic variables they cannot be
269+.\"O read atomically as a group. All of the statistics values are read from different files under
270+.\"O /sys, because of this there may be I/O completions while reading the different files for the
271+.\"O one tape drive. This may result in a set of statistics for a device that contain some values
272+.\"O before an I/O completed and some after.
273+テープの統計はカーネル内のアトミックな値を使って実装されているが、
274+グループとしてはアトミックに読み込まれていない。
275+全ての統計値は /sys 以下の別々のファイルから読み込まれているため、
276+1 つのテープドライブについて別々のファイルを読んでいる間に、
277+I/O が完了してしまうことがある。
278+これにより、デバイスの統計の値の中には、I/O が完了する前に決まるものと、
279+完了した後に決まるものがある。
280+
281+.\"O This command uses rounding down as the rounding method when calculating per second statistics.
282+このコマンドは 1 秒あたりの統計値を計算する際の丸め方法として、切り捨てを行う。
283+.\"O If, for example, you are using dd to copy one tape to another and running
284+.\"O .B tapestat
285+.\"O with an interval of 5 seconds and over the interval there were 3210 writes and 3209 reads
286+.\"O then w/s would show 642 and r/s 641 (641.8 rounded down to 641). In such a case if it was
287+.\"O a tar archive being copied (with a 10k block size) you would also see a difference between
288+.\"O the kB_read/s and kB_wrtn/s of 2 (one I/O 10k in size divided by the interval period of 5
289+.\"O seconds). If instead there were 3210 writes and 3211 reads both w/s and r/s would both show
290+.\"O 642 but you would still see a difference between the kB_read/s and kB_wrtn/s values of 2 kB/s.
291+例えば、dd を使って 1 つのテープから別のテープにコピーする時に、
292+.B tapestat
293+を時間間隔 5 秒で動作させた場合に、時間間隔の間に 3210 回の書き込みと
294+3209 回の読み込みがとすると、
295+w/s は 642、 r/s は 641 となる (641.8 は 641 に切り捨てられる)。
296+このような場合に、 tar アーカイブを (10k ブロックサイズで) コピーすると、
297+kB_read/s と kB_wrtn/s の差が 2 となるだろう
298+(1 回の I/O サイズ 10k が時間間隔 5 秒で割られて 2 となる)。
299+3210 回の書き込みと 3211 回の読み込みの場合、w/s と r/s はともに 642 となるが、
300+kB_read/s と kB_wrtn/s には 2 kB/s の違いがあることに気づくだろう。
301+
302+.\"O This command is provided with an interval in seconds. However internally the interval is
303+.\"O tracked per device and can potentially have an effect on the per second statistics reported.
304+このコマンドは時間間隔を秒で指定する。
305+しかし内部的には時間間隔はデバイスごとに監視され、
306+レポートされる 1 秒ごとの統計に影響を及ぼす可能性がある。
307+.\"O The time each set of statistics is captured is kept with those statistics. The difference
308+.\"O between the current and previous time is converted to milliseconds for use in calculations.
309+各統計のセットがキャプチャされた時刻は、その統計値とともに保存される。
310+現在時刻と前の時刻の差分は、計算のためにミリ秒に変換される。
311+.\"O We can look at how this can impact the statistics reported if we use an example of a tar
312+.\"O archive being copied between two tape drives using dd. If both devices reported 28900 kilobytes
313+.\"O transferred and the reading tape drive had an interval of 5001 milliseconds and the writing
314+.\"O tape drive 5000 milliseconds that would calculate out as 5778 kB_read/s and 5780 kB_wrtn/s.
315+これが統計レポートにどのような影響があるかを、
316+tar アーカイブを dd を使って 2 つのテープドライブの間でコピーする例で見てみよう。
317+両方のデバイスが 28900 キロバイトを転送し、
318+テープドライブからの読み込みに 5001 ミリ秒かかり、
319+テープドライブへの書き込みに 5000 ミリ秒かかったとすると、
320+計算結果は 5778 kB_read/s と 5780 kB_wrtn/s になる。
321+
322+.\"O The impact of some retrieving statistics during an I/O completion, rounding down, and small differences in the interval period on the statistics calculated should be minimal but may be non-zero.
323+I/O 完了時に取得した統計への影響は、統計値を計算する際の
324+切り捨てによる丸めと、時間間隔の小さな差分により、小さいが 0 ではない可能性がある。
325+.\"O .SH ENVIRONMENT
326+.SH 環境変数
327+.\"O The
328+.\"O .B tapestat
329+.\"O command takes into account the following environment variables:
330+.B tapestat
331+コマンドは以下の環境変数を扱う。
332+
333+.IP S_COLORS
334+.\"O When this variable is set, display statistics in color on the terminal.
335+この環境変数を設定すると、端末上で統計をカラー表示する。
336+.\"O Possible values for this variable are
337+.\"O .IR never ,
338+.\"O .IR always
339+.\"O or
340+.\"O .IR auto
341+.\"O (the latter is the default).
342+この環境変数に指定可能な値は、
343+.IR never ,
344+.IR always ,
345+.I auto
346+である (最後がデフォルトである)。
347+
348+.\"O Please note that the color (being red, yellow, or some other color) used to display a value
349+.\"O is not indicative of any kind of issue simply because of the color. It only indicates different
350+.\"O ranges of values.
351+値を表示する色 (赤、黄、またはその他の色) は、色によって何かの意味を示している訳ではない。
352+色は値の範囲を示しているだけである。
353+
354+.IP S_COLORS_SGR
355+.\"O Specify the colors and other attributes used to display statistics on the terminal.
356+.\"O Its value is a colon-separated list of capabilities that defaults to
357+.\"O .BR H=31;1:I=32;22:M=35;1:N=34;1:Z=34;22 .
358+.\"O Supported capabilities are:
359+端末で統計を表示する際に、色とその他の属性を指定する。
360+この値は、コロン区切りの機能のリストで、デフォルトは
361+.B H=31;1:I=32;22:M=35;1:N=34;1:Z=34;22
362+である。
363+サポートされている機能は以下のとおり。
364+
365+.RS
366+.TP
367+.B H=
368+.\"O SGR (Select Graphic Rendition) substring for percentage values greater than or equal to 75%.
369+割合が 75% 以上の場合の SGR (Select Graphic Rendition) 部分文字列。
370+
371+.TP
372+.B I=
373+.\"O SGR substring for tape names.
374+テープ名を表示する SGR 部分文字列。
375+
376+.TP
377+.B M=
378+.\"O SGR substring for percentage values in the range from 50% to 75%.
379+割合が 50% から 75% の場合の SGR 部分文字列。
380+
381+.TP
382+.B N=
383+.\"O SGR substring for non-zero statistics values.
384+0 以外の統計値を表示する SGR 部分文字列。
385+
386+.TP
387+.B Z=
388+.\"O SGR substring for zero values.
389+0 を表示する SGR 部分文字列。
390+.RE
391+
392+.IP S_TIME_FORMAT
393+.\"O If this variable exists and its value is
394+.\"O .BR ISO
395+.\"O then the current locale will be ignored when printing the date in the report
396+.\"O header. The
397+.\"O .B tapestat
398+.\"O command will use the ISO 8601 format (YYYY-MM-DD) instead.
399+この環境変数が存在し、かつ値が
400+.B ISO
401+の場合、レポートのヘッダの日付を表示する際に、
402+現在のロケールを無視する。
403+代わりに、
404+.B tapestat
405+コマンドは ISO 8601 フォーマット (YYYY-MM-DD) を使う。
406+.\"O The timestamp displayed with option -t will also be compliant with ISO 8601
407+.\"O format.
408+-t オプションのタイムスタンプも ISO 8601 フォーマットに従う。
409+
410+.\"O .SH BUGS
411+.SH バグ
412+.\"O .I /sys
413+.\"O filesystem must be mounted for
414+.\"O .B tapestat
415+.\"O to work. It will not work on kernels that do not have sysfs support
416+.B tapestat
417+コマンドが動作するためには、
418+.I /sys
419+ファイルシステムがマウントされていなければならない。
420+sysfs サポートがないカーネルでは動作しない。
421+
422+.\"O This command requires kernel version 4.2 or later
423+.\"O (or tape statistics support backported for an earlier kernel version).
424+このコマンドはカーネル 4.2 以降が必要である
425+(もしくは、それ以前のカーネルに、テープの統計がバックポートされている
426+必要がある)。
427+
428+.\"O .SH FILES
429+.SH ファイル
430+.I /sys/class/scsi_tape/st<num>/stats/*
431+.\"O Statistics files for tape devices.
432+テープデバイスの統計ファイル。
433+
434+.I /proc/uptime
435+.\"O contains system uptime.
436+システムの uptime を保持する。
437+.\"O .SH AUTHOR
438+.SH 著者
439+.\"O Initial revision by Shane M. SEYMOUR (shane.seymour <at> hpe.com)
440+最初のリビジョンは Shane M. SEYMOUR (shane.seymour <at> hpe.com) が作成した。
441+.br
442+.\"O Modified for sysstat by Sebastien Godard (sysstat <at> orange.fr)
443+sysstat 用に Sebastien Godard (sysstat <at> orange.fr) が修正した。
444+.\"O .SH SEE ALSO
445+.SH 関連項目
446+.BR iostat (1),
447+.BR mpstat (1)
448+
449+.I https://github.com/sysstat/sysstat
450+
451+.I http://pagesperso-orange.fr/sebastien.godard/
--- a/manual/sysstat/translation_list
+++ b/manual/sysstat/translation_list
@@ -4,7 +4,7 @@
44 ●:sysstat:12.0.5:2018/07/01:pidstat:1:2019/07/07::ysato444@ybb.ne.jp:Yuichi SATO:
55 ●:sysstat:12.0.5:2018/07/01:sadf:1:2019/07/08::ysato444@ybb.ne.jp:Yuichi SATO:
66 ●:sysstat:12.0.5:2019/04/01:sar:1:2019/07/06::ysato444@ybb.ne.jp:Yuichi SATO:
7-×:sysstat:12.0.5:2018/07/01:tapestat:1:::::
7+●:sysstat:12.0.5:2018/07/01:tapestat:1:2019/07/13::ysato444@ybb.ne.jp:SATO Yuichi:
88 ●:sysstat:12.0.5:2018/07/01:sysstat:5:2019/07/09::ysato444@ybb.ne.jp:Yuichi SATO:
99 ●:sysstat:12.0.5:2018/07/01:sa1:8:2019/07/09::ysato444@ybb.ne.jp:Yuichi SATO:
1010 ●:sysstat:12.0.5:2018/07/01:sa2:8:2019/07/09::ysato444@ybb.ne.jp:Yuichi SATO:
Show on old repository browser