9 Star 11 Fork 17

openEuler / vmtop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.95 KB
一键复制 编辑 原始数据 按行查看 历史
gomico 提交于 2022-04-26 14:56 . add README.zh.md. update README.md.

vmtop

A tool for collecting and analyzing data of virtual machine.

Description

vmtop is a user-mode tool running on the host. You can use the tool to dynamically view the usage of virtual machine resources in real time, including CPU usage, memory usage, and vCPU KVM exits. vmtop brings great convenience to locating virtualization problems and performance optimization, and is a practical tool that integrates multi-party information for monitoring virtual machines.

Building

This project uses ncurses, ncurses-devel, autoconf, libvirt, libvirt-devel. 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

Then you will find vmtop in the source code dictionary.

Introductions

Usage

Run directly from the command line mode.

vmtop [-option]

Start Options

  • -d: sets the refresh interval
  • -H: shows thread information
  • -n: sets the number of refresh times, which is not limited by default
  • -b: displays in text mode to save results to a file

Shortcut Keys

  • H: displays or stops the thread information
  • q: quits vmtop
  • f: shows field filter

Contribution

Git

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Style

You are advised to keep new files consistent with the existing files. For new files:

  • in C: use kernel coding style
  • in other languages: keep them consistent with the existing files

Patches

Use 'git format-patch' to format patches and use 'git send-email' to send mail to @openeuler mailing list. For patch sets, the '--cover-letter' option is recommended when you format the patches. This helps us understand the features of the patches.

Maintainers

@zhanghailiang @nocjj

License

Mulan

C
1
https://gitee.com/openeuler/vmtop.git
git@gitee.com:openeuler/vmtop.git
openeuler
vmtop
vmtop
master

搜索帮助