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

📄 dxpresto.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.TH dxpresto 8.SH Namedxpresto \- graphically display Prestoserve state and statistics.SH Syntax\fB/usr/etc/dxpresto\fR [ \fIhostname\fR ] .PP\fB/usr/etc/dxpresto\fR  \fIhostname\fR   \fIoptions\fR .SH Description.NXR "dxpresto command".NXR "Prestoserve" "dxpresto command"The .PN dxprestocommand is an .B X Window System application thatgraphically displays a machine's Prestoserve state and statistics.  The .PN dxprestocommand uses a Remote Procedure Call (RPC) protocol to communicatewith the machine being monitored.  You use the .PN dxpresto command to provide general information about Prestoserve and to helpmanage Prestoserve.  Also, you can use the command to demonstrate the efficacy of the Prestoserve software. .PPUse the.IR hostname variable to specify the machine that you want to monitor; the machine must be running the Prestoserve software.  If.IR hostname is not specified and options are not specified, then localhost, an alias for the local machine that is running the Prestoserve software, is used.  You must specify.IR hostnameif you want to use options..NTThe machine that you want to monitor must be running the .PN prestoctl_svcdaemon.  Also, if you want to be able to enable ordisable Prestoserve on the machine, it must be running the .PN prestoctl_svc daemon with the .PN \-noption..NE.PPBecause .PN dxprestois an .B XWindow System application, your DISPLAY environmental variable must beset to a machine that is an .B XServer.  For more information, see .MS X 1X ..PPThe .PN dxprestowindow shows the following information:.IP \(bu 4The .PN Hostfield shows the name of the host that you are monitoring.  You can typeanother host name in the field and hit the RETURN key to monitor that host.  .IP \(bu 4The .PN "Presto State"buttons show the Prestoserve state, either Enabled (UP), Disabled (DOWN), or Error(ERROR).  If the machine being monitored is running the .PN "prestoctl_svc"daemon with the .PN \-n option, you can change the machine's Prestoserve state to eitherEnabled (UP) or Disabled (DOWN) by clicking on the appropriate button.  You cannot click on the Error button; contactthe server administrator or the server hardware Field Service representative if the Error button is enabled..IP \(bu 4The .PN "Sample Interval"slider shows the interval of time between Prestoserve queries, and it allows you to change that interval.  When you invoke the.PN dxprestocommand, the default .PN "Sample Interval"is 5; therefore Prestoserve information is gathered every five seconds.  For example, if you want Prestoserve queried more often, move the slider to the left and click on MB1 until 2 appears;Prestoserve is then queried every two seconds..IP \(bu 4The .PN "Time since last Enable"field shows the time since Prestoserve was last enabled. The time is displayed inhours, minutes, and seconds.  The total number of seconds is also shown. .IP \(bu 4The .PN "Size"field displays the number of Kbytes of nonvolatile memory that the Prestoserve cache is utilizing.  Note that Prestoserve can utilize less than thedefault maximum size of its Prestoserve cache if you changed the cachesize with the .PN "presto \-s"command..IP \(bu 4The .PN "Batteries"graphics show the state of the Prestoserve backup battery system.An intact battery icon with the word okindicates that the battery has sufficient power.  An intact batteryicon with the wordlow indicates that the battery's power is low.  A broken battery iconindicates that the battery is disabled.  Prestoserve goes into the ERROR statewhen the backup battery power falls below a minimum amount.  Contactthe server administrator or the server hardware Field Service representative if a battery is low or disabled..IP \(bu 4The .PN "Display Cache Utilization"buttons allow you to display or to not display graphs that demonstrate how the Prestoserve cache is being utilized. .IP \(bu 4The .PN "Display Cache Statistics"buttons allow you to display or to not display the Prestoserve cachestatistics table.  .IP \(bu 4The.PN Exitbutton allows you to exit from .PN dxpresto ..IP \(bu 4The error bar displays error messages for both Prestoserve and the.PN dxpresto command.  For example, if the .PN "prestoctl_svc"daemon with the .PN \-n option is not running on the machine you are monitoring, then a message is displayed indicating that changes to Prestoserve operationare not allowed..IPSome error messages, such as those indicating RPC communication failure,are displayed on the terminal from which you invoked the .PN dxprestocommand.  .PPIf you display the.PN "Display Cache Utilization" graphs, the following is shown:.IP \(bu 4The .PN "Presto buffers"bar graph shows how the Prestoserve cache operations are distributed amongthe four Prestoserve buffer states:  dirty, clean, inval, and active.The vertical axis shows the maximum number of objects or disk blocks that the entire Prestoserve cache can contain.  The sum of the four bars isthe total number of buffers used in the Prestoserve cache.  Note that the size of the Prestoserve cache can be changed by using the.PN "presto \-s"command..IP \(bu 4The.PN "Writes per second"trend line graph shows a recent history of the average number of writes per second over the time intervals that are determined by the.PN "Sample Interval"slider.   .IPEach point in the horizontal axis represents a sample time intervalas determined by the .PN "Sample Interval" slider; the maximum number of samples that can be shown is 210.  When you reach the maximum number of samples, the graph shifts to the left so you can see at least the last 105 samples, which is half themaximum number of samples.If you choose 5 in the .PN "Sample Interval"slider, Prestoserve is queried every five seconds; therefore it takes1050 (5 x 210) seconds to obtain the maximum of 210 samples..IPThe vertical axis shows the average number of writes performed persecond within the sample time interval as determined by the .PN "Sample Interval"slider..IPFor example, if you choose 2 in the .PN "Sample Interval" slider, Prestoserve is queried every two seconds, and each point in the graph shows the average number of writes performed within the intervalof two seconds.  If the graph shows that an average of 5 writes per second wereperformed within two seconds, Prestoserve actually performed 10writes within those two seconds.  The calculation is:.EX 5 writes---------- x 2 sec = 10 writes   sec.EE.IPIf you change hosts, the .PN "Writes per second"graph displays a vertical line of dashes to distinguish the new host's information from the previous host's information..IP \(bu 4The .PN "Hits per second"trend line graph shows a recent history of the average number of Prestoserve cache hits per second over the time intervals that are determined by the.PN "Sample Interval"slider.  The Prestoserve cache hits represent the total number of clean and dirty read and write hits (blocks that match blocks alreadyin the cache).  .IPEach point in the horizontal axis represents a sample time intervalas determined by the .PN "Sample Interval" slider; the maximum number of samples that can be shown is 210.  When you reach the maximum number of samples, the graph shifts to the left so you can see at least the last 105 samples, which is half themaximum number of samples.If you choose 2 in the .PN "Sample Interval"slider, Prestoserve is queried every two seconds; therefore it takes420 (2 x 210) seconds to obtain the maximum of 210 samples..IPThe vertical axis shows the average number of hits performed persecond within the sample time interval as determined by the .PN "Sample Interval"slider..IPFor example, if you choose 10 in the .PN "Sample Interval" slider, Prestoserve is queried every 10 seconds, and each point in the graph shows the average number of hits performed within the intervalof 10 seconds.  If the graph shows that an average of 2 hits per second wereperformed within 10 seconds, Prestoserve actually performed 20writes within those 10 seconds.  The calculation is:.EX  2 hits---------- x 10 sec = 20 hits   sec.EE.IPIf you change hosts, the .PN "Hits per second"graph displays a vertical line of dashes to distinguish the new host's information from the previous host's information..PPIf you display the .PN "Display Cache Statistics"table, the following is shown:.IP \(bu 4The Prestoserve statistics table is similar to the information that isdisplayed when you use the .PN "presto \-p"command.  For each Prestoserve cache read or write operation, Prestoserve increments an appropriate counter.  The table shows:.IPThe clean hits counter, which is the number of hits on the cleanbuffers.IPThe dirty hits counter, which is the number of hits on thedirty buffers (each dirty hit represents a physical disk write that was avoided entirely).IPThe passes counter, which is the number of I/O operations thatPrestoserve passed directly to the actual device driver.IPThe count, which is the sum of the three previous counters.IPThe hit rate percentage, which is the ratio of clean hits and dirty hits to the total count.IP \(bu 4The.PN "Since last Enable"button allows you to display Prestoserve statistics since Prestoservewas last enabled.  This is useful when you want to determine howPrestoserve performs over a long period of time..IP \(bu 4The.PN "Since last Sample"button allows you to display the Prestoserve statistics for each sampletime interval as determined by the .PN "Sample Interval"slider.  If no Prestoserve activity occurs during the time interval,the numbers in the statistics table are zero.  For example, if the .PN "Sample Interval"slider is set to 5 and the .PN "Since last Sample"button is enabled, the statistics table shows the Prestoservestatistics for each interval of five seconds.  .IP \(bu 4The .PN "Since last Zero"button allows you to display Prestoserve statistics since you clickedon the .PN Zerobutton. This button allows you to determine howPrestoserve performs over a specific period of time that you can set by using the .PN Zerobutton..IP \(bu 4The .PN Zerobutton allows you to set a time reference for the Prestoserve statistics table.If you click on the .PN Zerobutton and, at a later time, click on the .PN "Since last Zero"button, the table displays the Prestoserve statistics since you clicked on the .PN Zero button..SH Options.TP 20.B \-bd \fIcolor\fPSpecifies the color of the window's border (color displays only).The default is black..TP 20.B \-bg \fIcolor\fPSpecifies the color of the window's background (color displays only).The default is white..TP 20.B \-d \fIdispname\fPSpecifies the display screen on which .PN dxpresto displays its window.  If thedisplay option is not specified, .PN dxprestouses the display screen specifiedby your DISPLAY environment variable.  The display option has the format\fIhostname:number.\fP  Using two colons (::) instead of one (:) indicates thatDECnet is to be used for transport.  The default is :0.  For more information,see .MS X 1X ..TP 20.B \-display \fIdispname\fPThis option is the same as the \fB\-d\fP option..TP 20.B \-fg \fIcolor\fPSpecifies the color of the text (color displays only).The default is black..TP 20.B \-geometry Specifies the width, length, and location ofthe.PN dxpresto window.If the geometry option is not specified,.PN dxpresto uses default values.The geometry option has the format\fB=\fR[\fIwidth\fR][x\fIlength\fR][\fIx\fR][\fIy\fR].For more information about the screen coordinate system,see.MS X 1X ..SH X DefaultsThe.PN dxprestoapplication uses the values in the \fB.Xdefaults\fR file when you logged inand uses the appropriate resource specification to customize the appearanceor characteristics of its displayed.PN dxprestowindow.The format for a resourcespecification in the \fB.Xdefaults\fP file is:.IP "" 15[\^\fIname\fP*\^]\^\fIresource\fR\^:  \fIvalue\fR.IP \fIname\fR 1iSpecifies the application name orthe name string that restricts the resource assignment tothat application or to a component of an application.If this argument is not specified,the resource assignment is globally available to all X applications..IP \fIresource\fR 1iSpecifies the resource..IP \fIvalue\fR 1iSpecifies the value that is to be assigned to the resource..PPFor more information,see.MS X 1X ..PPBecause each toolkit-based application can consist of a combination ofwidgets (for example, push buttons and a scroll bar),you can form the name stringby adding widget class and name identifiersto the string.For further information about adding class and name identifiers,see.MS X 1X ..PPFor.PN dxpresto ,the available name identifiers are:.IP graph_parent 20The dialog box containing all of the graphs.IP dirty_graphThe graph displaying dirty buffers.IP clean_graphThe graph displaying clean buffers.IP inval_graphThe graph displaying inval buffers.IP active_graphThe graph displaying active buffers.IP write_graphThe graph displaying cache write history.IP hit_graphThe graph displaying cache hit history.SH ExamplesIf you want to change the foreground and background colors of the .PN dxprestowindow and to customize the window's graphs, you can add the following entries to your \fB.Xdefaults\fP file: .EXdxpresto*background:                    darkslategraydxpresto*foreground:                    wheatdxpresto*borderColor:                   golddxpresto*highlight:                     yellowdxpresto*graph_parent*borderColor:      firebrickdxpresto*dirty_graph*highlight:         golddxpresto*dirty_graph*background:        blackdxpresto*clean_graph*highlight:         golddxpresto*clean_graph*background:        blackdxpresto*inval_graph*highlight:         golddxpresto*inval_graph*background:        blackdxpresto*active_graph*highlight:        golddxpresto*active_graph*background:       blackdxpresto*write_graph*highlight:         golddxpresto*write_graph*background:        blackdxpresto*hit_graph*highlight:           golddxpresto*hit_graph*background:          black.EE.SH Files.PN /usr/lib/X11/uid/dxpresto.uid .br.PN ~/.Xdefaults.SH See Alsopresto(4),presto(8),prestoctl_svc(8),X(1X).br\fIGuide to Prestoserve\fP

⌨️ 快捷键说明

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