X-Git-Url: http://git.annexia.org/?p=virt-top.git;a=blobdiff_plain;f=virt-top%2Fvirt-top.txt;h=d2224518588aabf24b38b6517f140c456f397252;hp=f3f7ac578b1ee6046f8f99ad1f5db8288b13234d;hb=db4e80ee11a4e212a97efc1761ed237c7da72cb1;hpb=9bb5f67c0d8a6e8dad7de72e2488ee73c90f7d43 diff --git a/virt-top/virt-top.txt b/virt-top/virt-top.txt index f3f7ac5..d222451 100644 --- a/virt-top/virt-top.txt +++ b/virt-top/virt-top.txt @@ -31,6 +31,14 @@ OPTIONS Connect to URI given. The default is to connect to the Xen hypervisor. + To connect to QEMU/KVM you would normally do *-c qemu:///system* + + To connect to libvirtd on a remote machine you would normally do *-c + xen://host/* + + Full details on connection URIs is available at + + -d delay Set the delay between screen updates in seconds. The default is 3.0 seconds. You can change this while virt-top is running by pressing @@ -72,6 +80,17 @@ OPTIONS the program was compiled (see *README* file in the source distribution for details). + To save space you can compress your CSV files (if your shell + supports this feature, eg. *bash*): + + virt-top --csv >(gzip -9 > output.csv.gz) + + You can use a similar trick to split the CSV file up. In this + example the CSV file is split every 1000 lines into files called + *output.csv.00*, *output.csv.01* etc. + + virt-top --csv >(split -d -l 1000 - output.csv.) + --no-csv-cpu Disable domain CPU stats in CSV output. @@ -100,6 +119,36 @@ OPTIONS Script mode. There will be no user interface. This is most useful when used together with the *--csv* and *-n* options. + --end-time time + The program will exit at the *time* given. + + The time may be given in one of the following formats: + + *YYYY-MM-DD HH:MM:SS* + End time is the date and time given. + + *HH:MM:SS* + End time is the time given, today. + + *+HH:MM:SS* + End time is HH hours, MM minutes, SS seconds in the future + (counted from the moment that program starts). + + *+secs* + End time is *secs* seconds in the future. + + For example to run the program for 3 minutes you could do: + + virt-top --end-time +00:03:00 + + or: + + virt-top --end-time +180 + + Not every version of virt-top supports this option - it depends how + the program was compiled (see *README* file in the source + distribution for details). + --help Display usage summary. @@ -205,6 +254,10 @@ INIT FILE script *true|false* Sets script mode. + end-time *time* + Set the time at which the program exits. See above for the time + formats supported. + overwrite-init-file *false* If set to *false* then the *W* key will not overwrite the init file. @@ -213,8 +266,9 @@ INIT FILE this behaviour may change in the future. SEE ALSO - top(1), virsh(1), xm(1), xentop(1), , - , + top(1), virsh(1), xm(1), xentop(1), , + , , + AUTHORS Richard W.M. Jones