⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mtx.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.\" SCCSID: @(#)mtx.8	6.3	1/4/90.TH mtx 8 .SH Namemtx \- generic magtape exerciser.SH Syntax.B /usr/field/mtx.B [.I options.B ].BI \-a dev.br.B /usr/field/mtx.B [.I options.B ].BI \-s dev.br.B /usr/field/mtx.B [.I options.B ].BI \-l dev.br.B /usr/field/mtx.B [.I options.B ].BI \-v dev.SH Description.NXR "mtx exerciser".NXR "magnetic tape" "testing data"The .PN mtx exerciser will write, read, and validate randomdata on the specified magnetic tape device from beginningof tape (BOT) to end of tape (EOT).There are four record length modes in which to run the.PN mtxexerciser.  The modes are short (512 bytes),long (10240 bytes), variable (512-20480 bytes), and all of these three in sequence. .PPThe exerciser will run until .CT Cor a kill \-15 \fIpid\fR issent to the process. .PPA logfile is made in .PN /usr/fieldfor you to examine and then remove. If there are errorsin the logfile, check the .PN /usr/adm/syserr/syserr.<hostname> file, where the driver and kernel error messages are saved..PPAn enhanced tape exerciser called .PN tapex provides more comprehensive tapetesting than this exerciser.  Refer to .MS tapex 8for a complete description..SH Options.NXR "mtx exerciser" "options"The \fImtx\fR options are:.IP \fB\-h\fR 1iPrint help message for the .PN mtx command..IP \fB\-o\fIfile\fR 1iSave diagnostic output in \fIfile\fR..IP \fB\-t\fIi\fRRun time in minutes (\fIi\fR). The default is to run until the process receivesa .CT Cor kill \-15 \fIpid\fR..IP \fB\-r\fIj\fRRecord length for long-record test.  May range from 1 - 20480;the default is 10240 bytes..IP \fB\-f\fIk\fRSize of file in records. The default is \-1, go to end-of-tape. .SH ArgumentsYou must specify one of the following function flags andits argument to the.PN mtxexerciser..IP \fB\-a\fIdev\fR 1iPerform short, long, and variable-length record testson the \fIdev\fR, a raw device name and unit number.  Forexample, \fB\-armt0h\fR..IP \fB\-s\fIdev\fR 1iPerform short (512-byte) record length test.  The \fIdev\fRargument is a raw device name and unit number.  For example,\fB\-srmt0h\fR..IP \fB\-l\fIdev\fR 1iPerform long (10240-byte) record length test.  The \fIdev\fRargument is a raw device name and unit number.  For example\fB\-lrmt0h\fR..IP \fB\-v\fIdev\fR 1iPerform variable record length test (records vary from 512 bytesto 20480 bytes).  The \fIdev\fR argument is a raw device nameand unit number.  For example, \fB\-vrmt0h\fR..SH Restrictions If there is a need to run a system exerciser over an NFS link or on a disklesssystem there are some restrictions.  For exercisers that need to write into a filesystem, such as .MS fsx 8 ,the target file system must be writable by root.  Also the directory, in which anyof the exercisers are executed, must be writable by root because temporaryfiles are written into the current directory.  These latter restrictions aresometimes difficult to overcome because often NFS file systems are mounted in away that prevents root from writing into them.  Some of the restrictions may beovercome by copying the exerciser to another directory and then executing it.  .PPThe following restrictions apply to the SCSI tape drives.The Magnetic Tape Exerciser (MTX) runs the tape in start/stop mode; that is,the tape does not stream. Therefore, MTX should not run for extendedperiods of time (two hours maximum run time). In addition, MTX does nothandle the end of tape properly..SH Examples.NXR "mtx exerciser" "example"This example runs short, long, and variable-length testson rmt0h until the process receives a.CT Corkill \-15 \fIpid\fR:.EX% /usr/field/mtx \-armt0h.EEThe following example runs a long-record length test onrmt0h for 240 minutes in the background:.EX% /usr/field/mtx \-lrmt0h \-t240 &.EE.SH See Alsotapex(8).br.I "Guide to System Exercisers"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -