X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=virt-top%2Fvirt-top.pod;h=a888d89f37323078272286be803bb17336308a41;hp=fe8ba914ed64a4b9272c9b6629891ad614c63ea8;hb=7094724cf69cb13faba61878c6ad5328ec2bb82f;hpb=a8b837d5018c488a130fcbea425904817a862210 diff --git a/virt-top/virt-top.pod b/virt-top/virt-top.pod index fe8ba91..a888d89 100644 --- a/virt-top/virt-top.pod +++ b/virt-top/virt-top.pod @@ -108,6 +108,20 @@ To send error messages to syslog you can do: See also REPORTING BUGS below. +=item B<--init-file filename> + +Read I as the init file instead of the default which is +I<$HOME/.virt-toprc>. See also INIT FILE below. + +=item B<--no-init-file> + +Do not read any init file. + +=item B<--script> + +Script mode. There will be no user interface. This is most useful +when used together with the I<--csv> and I<-n> options. + =item B<--help> Display usage summary. @@ -179,8 +193,91 @@ Sort by domain ID. Select the sort field interactively (there are other sort fields you can choose using this key). +=item I + +This creates or overwrites the init file with the current settings. + +This key is disabled if I<--no-init-file> was specified on the +command line or if I is given in +the init file. + =back +=head1 INIT FILE + +When virt-top starts up, it reads initial settings from the +file I<.virt-toprc> in the user's home directory. + +The name of this file may be overridden using the I<--init-file +filename> command line option or may be disabled entirely using +I<--no-init-file>. + +The init file has a simple format. Blank lines and comments +beginning with I<#> are ignored. Everything else is a set of +I pairs, described below. + +=over 4 + +=item B I + +Sets the major display mode to one of I (tasks, the +default), I (physical CPUs), I (block devices), +or I (network interfaces). + +=item B I + +Sets the delay between display updates in seconds. + +=item B I + +Sets the historical CPU delay in seconds. + +=item B I + +Sets the number of iterations to run before we exit. Setting +this to I<-1> means to run continuously. + +=item B I + +Sets the sort order. The option names are the same as for +the command line I<-o> option. + +=item B I + +Sets the default connection URI. + +=item B I + +Sets the default filename to use for debug and error messages. + +=item B I + +Enables CSV output to the named file. + +=item B I + +Sets batch mode. + +=item B I + +Sets secure mode. + +=item B