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

📄 lpx.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.\" SCCSID: @(#)lpx.8	8.1	9/11/90.TH lpx 8 .SH Namelpx \- line printer exerciser.SH Syntax.B /usr/field/lpx[.B \-h] [.BI \-o file.B ] [.BI \-p n.B ] [.BI \-t m.B ] .BI \-d dev.SH Description.NXR "lpx exerciser".NXR "line printer" "testing"The line printer exerciser outputs a rolling characterpattern to the printer. Five pages are output and thenthe printer will pause for 15 minutes (default).  Then5 more pages are output, followed by a pause.  Thispattern continues until the process receives a.CT Cor a kill \-15 \fIpid\fR..PPDisable the line printer queue of the printer to be testedbefore running.PN lpx .Check the .PN /etc/printcapfile to determine the line printer queue,and then run line printer controlprogram .PN /etc/lpcto disable the printer.This will stop other jobs from interfering with thetesting..SH ArgumentsYou must specify the following function flag and itsargument to the.PN lpxexerciser:.IP \fB\-d\fIdev\fR .5iThe line printer device name and unit numberto test as listed in the.PN /devdirectory.  For example, lp, lp1..SH Options.NXR "lpx exerciser" "options"The .PN lpxoptions are:.IP \fB\-h\fR .5iPrints the help messages for the .PN lpx command..IP \fB\-o\fIfile\fRSaves the output diagnostics in \fIfile\fR..IP \fB\-p\fIn\fRSets pause for \fIn\fR minutes.  During the pause period,.PN lpxwillonly exercise the controller, saving paper. The default value for \fIn\fR is 15.  A value of \fIn\fR = 0 indicates no pause..IP \fB\-t\fIm\fRSpecifies the run time in minutes (\fIm\fR). The default is to run.PN lpxuntil the process receives a.CT C or kill \-15 \fIpid\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.  .SH Examples.NXR "lpx exerciser" "examples"The following example causes.PN lpxto exercise lp1 until the process receives a.CT Cor kill \-15 \fIpid\fR..EX% /usr/field/lpx \-dlp1 .EEThe following example exercises lp for 120 minutes inthe background..EX% /usr/field/lpx \-t120 \-dlp &.EE.SH See Also.I "Guide to System Exercisers"

⌨️ 快捷键说明

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