summaryrefslogtreecommitdiffstats
path: root/virt-top
Commit message (Collapse)AuthorAgeFilesLines
* Add --block-in-bytes option.KAMEZAWA Hiroyuki2011-02-022-13/+74
| | | | | This option and the 'B' key toggles block I/O stats between requests and bytes.
* Add --stream flag.KAMEZAWA Hiroyuki2011-02-025-20/+92
| | | | Output is sent to stdout (similar to the top -b option).
* Obey virt-top --end-time down to near millisecond accuracy (RHBZ#637964).Richard W.M. Jones2011-01-241-22/+33
| | | | | | | | Adjust the final delay down so that the --end-time option is obeyed down to near millisecond accuracy. The 'usleep' function has been renamed more accurately as 'millisleep' since it sleeps for milliseconds not microseconds.
* Version 1.0.5.1.0.5Richard W.M. Jones2011-01-061-2/+2
|
* Re-add virt-top/README file.Richard W.M. Jones2011-01-061-0/+57
| | | | This seems to have been dropped during the hg->git transition.
* Document background noise of RX packets from bridges (RHBZ#647987).Richard W.M. Jones2011-01-063-0/+42
| | | | | For more information see: https://bugzilla.redhat.com/show_bug.cgi?id=647987#c9
* man page: Remove excess blank line.Richard W.M. Jones2011-01-061-1/+0
|
* main: Record and print full exception stack traces.Richard W.M. Jones2011-01-061-0/+3
| | | | | | | | | | | This turns on stack trace recording unconditionally (the same effect as if OCAMLRUNPARAM=b was always supplied), and also prints stack traces to the log file if there is an exception. See also: http://caml.inria.fr/pub/docs/manual-ocaml/libref/Printexc.html Note that this requires OCaml >= 3.11.0.
* Fix pad function to work for negative widths (RHBZ#634435).Richard W.M. Jones2011-01-061-4/+7
| | | | | | | | | | | | | | | The pad function is supposed to pad a string to a width. Under some circumstances, the width parameter could be negative resulting in a call to String.sub such as: String.sub str 0 (-1) which caused an exception to be thrown and not caught, causing virt-top to exit. Fix the pad function to return an empty string if width <= 0 instead of throwing an exception. See also: https://bugzilla.redhat.com/show_bug.cgi?id=634435
* Update dependencies.Richard W.M. Jones2011-01-061-2/+2
|
* Update generated man pages.Richard W.M. Jones2011-01-062-22/+15
|
* Fix virt-top --end-time option when TZ<>UTC (RHBZ#637964).Richard W.M. Jones2011-01-062-4/+10
| | | | | | | | | | | | Return the end time as seconds since 1970, and don't adjust it for timezone. In the main module the end time is compared against the result of Unix.gettimeofday, which is also seconds since 1970, so the comparison now works. Tested with TZ=UTC-05, TZ=UTC and TZ=UTC+05. NB: This has not been tested against ocaml-calendar 1.x, although that version of calendar is obsolete and no one should be using it.
* Update dependencies file.Richard W.M. Jones2011-01-061-20/+20
|
* man page: memory option shows total guest memory (RHBZ#647991).Richard W.M. Jones2011-01-061-2/+3
|
* man page: Update copyright date and link to web pages.Richard W.M. Jones2011-01-061-2/+2
|
* Remove references to xm/xentop manual pages (RHBZ#648186).Richard W.M. Jones2011-01-061-2/+0
| | | | | These Xen tools are obsolete since virsh/virt-top works across all hypervisors.
* Change order of return values from getyx - fixes display of historical CPU.Richard Jones2010-09-021-1/+1
| | | | | | | | | | | | | In this commit: http://cvs.savannah.gnu.org/viewvc/ocaml-tmk/functions.c?root=ocaml-tmk&r1=1.2&r2=1.3 Sam changed (fixed) the order that the coordinates are returned from the ncurses 'getyx' call. Since this commit was made 3 years ago it should be safe to assume everyone is using the new ocaml-ncurses by now. This meant the historical %CPU was being displayed off the bottom of the screen instead of on the top row at the right. Now it is displayed in the correct place.
* HACKING file, update (C) messages.Richard Jones2009-10-0612-68/+11
|
* Remove extra spaces after s_ and f_ operators.Richard Jones2009-10-061-71/+72
|
* Safer curses functions.Richard Jones2009-10-061-81/+83
| | | | | Add safer curses functions which don't require use of dangerous ignore() function.
* Replace failwith (sprintf...) with failwithfRichard Jones2009-10-063-6/+9
|
* Remove -w s and fix so it compiles without warnings.Richard Jones2009-10-062-78/+87
|
* Change over to using ocaml.m4 macros.Richard Jones2009-10-061-12/+13
|
* Update manpage with --version option.Richard Jones2009-10-053-11/+32
|
* Add virt-top --version command line option.Richard Jones2009-10-051-0/+6
|
* Add the real virt-top version to help display.Richard Jones2009-10-054-5/+37
|
* Add total hardware memory field (RHBZ#521785)Richard Jones2009-10-051-1/+4
|
* Don't need to explicitly link against ncurses.Richard Jones2009-10-051-1/+1
|
* Update documentation.Richard Jones2009-10-051-2/+2
|
* Update dependencies.Richard Jones2009-10-051-0/+4
|
* Unknown, empty change.Richard W.M. Jones2009-10-051-0/+0
|
* Avoid an error when gettext is not available.Richard W.M. Jones2008-05-011-6/+8
|
* Merge.rjones@thinkpad2008-04-179-109/+146
|\
| * *** THIS REPO IS JUST FOR VIRT-TOP NOW ***Richard W.M. Jones2008-04-162-22/+11
| | | | | | | | | | - See http://hg.et.redhat.com/applications/virt/ for bindings and the other applications.
| * Internationalize virt-top.Richard W.M. Jones2008-03-289-99/+147
| |
* | Remove bogus =end from end of manpage.rjones@thinkpad2008-04-172-24/+29
|/
* Minor fix for calendar 1.xRichard W.M. Jones2008-02-121-2/+2
|
* Support for calendar >= 2.0rjones@thinkpad.home.annexia.org2008-02-124-5/+65
|
* Build libvirt and examples on Windows (MinGW).Richard W.M. Jones2008-01-0514-0/+0
| | | | | | | | | | | | | * aclocal.m4: Add AC_CHECK_OCAML_MODULE to check for OCaml modules directly (without ocamlfind being needed). * configure.ac: Remove requirement for ocamlfind. * config.guess, config.sub: Ship these files to guess host, build and target. * libvirt/Makefile.in, examples/Makefile.in: Change these so they don't require ocamlfind, do the right thing on MinGW. * Make.rules.in: Make.rules is now generated from this file. File can use ocamlfind or direct ocaml commands as available. * .hgignore: Ignore some generated files on Windows.
* New exception Libvirt.Not_supported "function"Richard W.M. Jones2007-12-201-3/+3
| | | | | | | | * libvirt/libvirt.ml, libvirt/libvirt.mli, libvirt/libvirt_c.c: Change the ad-hoc "foo not supported" exception into a specific Libvirt.Not_supported "foo" exception. * virt-top/virt_top.ml: Change virt-top to understand new exception type.
* Changed the ocaml-libvirt website in the manpage.Richard W.M. Jones2007-11-203-3/+6
|
* Example connection URIs in virt-top manpage (bug 390691).Richard W.M. Jones2007-11-193-1/+25
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=390681
* Updated virt-top.txt.Richard W.M. Jones2007-10-191-17/+17
|
* * virt-top/virt_top_calendar.ml: Added --end-time option.Richard W.M. Jones2007-10-199-12/+274
| | | | | | | | Extra optional dep on ocaml-calendar. * virt-top/virt-top.pod: Document how to compress and split CSV files. Document --end-time option and time formats. * virt-top/virt_top.ml: Allow sub-second delays when in batch and script mode.
* Reorganised the code to put more utility functions into virt_top_utils.Richard W.M. Jones2007-10-197-149/+258
| | | | | Added explicit interfaces for Virt_top_utils & Virt_top modules. Corrected use of endwin when _not_ in script mode.
* Don't call curses endwin if we are in script mode.Richard W.M. Jones2007-10-171-1/+1
|
* Added GNU GPL/LGPL copyright notices everywhere.Richard W.M. Jones2007-10-179-12/+165
| | | | Fixed display of time which was accidentally broken in previous code move.
* Removed $Id$ everywhere.Richard W.M. Jones2007-10-177-9/+0
| | | | 'make distclean' now cleans more files.
* Add the flags for enabling/disabling CPU, block and net stats.Richard W.M. Jones2007-10-174-12/+88
|
* Removed dep on libvirt & extlib -- unnecessary for this file.Richard W.M. Jones2007-10-172-8/+2
|