A tool for collecting and analyzing data of virtual machine.
vmtop is a user-mode tool running on the host, which can dynamically view the resource usage of virtual machines in real time, include CPU usage, memory usage, vcpu kvm exits. It brings great convenience to virtualization problems and performance optimization, and is a pratical tool that intergrates multi-party info to monitor virtual machines.
This project uses ncurses, ncurses-devel, autoconf, libvirt, libvirt-devel. Go to check them out if you do not have them locally installed.
The simple steps to make vmtop are:
1. aclocal 2. autoconf 3. autoheader 4. automake --add-missing 5. ./configure 6. make
And then you will find vmtop in the source code dictionary.
Run directly from the commandline.
- d: Set delay time between two display
- H: Show threads
- n: Set display times, default no limit
- b: Display in text mode to save result in file
- H: Open thread mode or close thread mode
- q: Quit from vmtop
- f: Show fields filter
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request
It is much better to be consistent with the exiting files. For new files:
- C: use kernel code style
- others: keep same with exiting files
Use 'git format-patch' to format patched and use 'git send-email' to send mail to @openeuler mailing list. And if it is a patch set, it is much better to use '--cover-letter' option when you format patches, so that we can understand what the pacthset does.