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

📄 fsx.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.\" SCCSID: @(#)fsx.8	8.1	9/11/90.TH fsx 8 .SH Namefsx \- file system exerciser.SH Syntax.B /usr/field/fsx[.B \-h] [.BI \-o file.B ] [.BI \-t n.B ] [.BI \-f path.B ] [.BI \-p m.B ] .SH Description.NXR "fsx exerciser".NXR "file system" "testing"The .PN fsx exerciser exercises a file system by spawning up to250 (the default is 20) processes that create, open, write, close,open, read, validate, close, and unlink a test file.  These testfiles are created in .PN /usr/field (the default) unless the \fB\-f\fIpath\fRoption is used. The exerciser will run until .CT Cor \fBkill \-15\fI pid\fR is sent to theprocess. .PPA logfile is made in .PN /usr/field for you to examine and then remove. If there are errors in the logfile, makesure you check the .PN /usr/adm/syserr/syserr.<hostname> file, because that iswhere the driver and kernel error messages are saved..SH Options.NXR "fsx exerciser" "options"The .PN fsxoptions are:.IP \fB\-h\fRPrint the help messages for the .PN fsx command..IP \fB\-o\fIfile\fRSave the output diagnostics in \fIfile\fR..IP \fB\-t\fIn\fRRun time in minutes (\fIn\fR).  The default is to rununtilthe process receives a.CT Cor a \fBkill \-15 \fIpid\fR..IP \fB\-p\fIm\fRNumber (\fIm\fR) of .PN fsx processes to spawn. The maximum is 250; the default is 20..IP \fB\-f\fIpath\fRPath name of directory on file system you wish to test.For example, .PN /mnt or .PN /usr.  The default is .PN /usr/field ..SH Examples.NXR "fsx exerciser" "examples"The following example runs 10.PN fsxprocesses on .PN /mntuntil the process receives a.CT Cor \fBkill \-15 \fIpid\fR:.EX% /usr/field/fsx \-p10 \-f/mnt.EEThe following example runs 20.PN fsxprocesses on .PN /usr/fieldfor 120 minutes in the background:.EX% /usr/field/fsx \-t120 &.EE.SH Restrictions.NXR "fsx exerciser" "restricted"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.  Avoid using the .PN fsx exerciser over an NFS or diskless file system..SH See Also.I "Guide to System Exercisers"

⌨️ 快捷键说明

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