24 Commits

Author SHA1 Message Date
Euler Robot
96a45fe887 spec: Update patch and changelog with !9
display: modify filter display to support more display fields items

Signed-off-by: Jiajun Chen <1250062498@qq.com>
2020-11-06 11:58:09 +08:00
Huawei Technologies Co., Ltd
742bb54154 display: modify filter display to support more display fields items
If display fields items is more than screen rows, some of fields items
can't be displayed in screen.
So, start another col to show fields items if screen can't show all content in one col.

Signed-off-by: Jiajun Chen <1250062498@qq.com>
2020-11-06 11:58:09 +08:00
Euler Robot
1c229a797b spec: Update patch and changelog with !8
vcpu_stat: add remaining kvm exits items to display

Signed-off-by: Jiajun Chen <1250062498@qq.com>
2020-11-06 11:58:08 +08:00
Huawei Technologies Co., Ltd
6c36fdc07c vcpu_stat: add remaining kvm exits items to display
Add remaining kvm exits items to display, include:
EXTerr, EXTukn, EXTcp153, EXTcp156, EXTcp14m,
EXTcp14l, EXTcp146, EXTsmc, EXTsve, EXTdbg, EXTfail

Set dafault width to 10 space, and set these items default hidden.

Signed-off-by: Jiajun Chen <1250062498@qq.com>
2020-11-06 11:58:08 +08:00
openeuler-ci-bot
5c4be98493 !13 spec: modify source url
From: @nocjj
Reviewed-by: @yorifang
Signed-off-by: @yorifang
2020-10-12 16:50:02 +08:00
Fei Xu
91f976875d spec: modify source url
Change source url to openeuler repo, and replace tar with
openeuler/vmtop tag v1.1(which is same as v1.0.1):
wget -O vmtop-1.1.tar.gz https://gitee.com/openeuler/vmtop/repository/
archive/v1.1.tar.gz#/vmtop-1.1.tar.gz
2020-10-10 15:51:15 +08:00
openeuler-ci-bot
a8ce39272f !12 Automatically generate code patches with openeuler
From: @zhendongchen
Reviewed-by: @yorifang
Signed-off-by: @yorifang,@yorifang,@yorifang
2020-10-10 14:17:07 +08:00
Euler Robot
0654c4697a spec: Update release version with !7
increase release verison by one

Signed-off-by: Euler Robot <euler.robot@huawei.com>
2020-09-28 11:57:52 +08:00
Euler Robot
b640dfbebc spec: Update patch and changelog with !7
vcpustat: modify vcpu info acquirement from debugfs
display: expand %CPU display
display: add limit to usage display
vmtop: simplify print_domain_field
2020-09-28 11:57:52 +08:00
nocjj
6535f799a3 vmtop: simplify print_domain_field
Use array to simplify print_domain_field.
2020-09-28 11:57:52 +08:00
nocjj
c37096d834 display: add limit to usage display
Because of time accuracy, the usage sometime may be more than vcpu nums.
This is a matter of precision, so add limit to these usage.
2020-09-28 11:57:52 +08:00
nocjj
be522b3b23 display: expand %CPU display
Now, %CPU's align is 6, and is not enough to display VM
that has vcpus more than 10. So expand align to 8.
2020-09-28 11:57:52 +08:00
nocjj
d8f7c63405 vcpustat: modify vcpu info acquirement from debugfs
Previous judgement to determine whether the vcpustat info matches the process is:
strstr(buf, pid) == buf + 1
But there is an exception that the kvm exit times may contain process pid string.
And then, we will calculate the delta between two defferent process.
So, modify this judgement codition.
2020-09-28 11:57:52 +08:00
openeuler-ci-bot
8ee1001f41 !10 Automatically generate code patches with openeuler
From: @zhendongchen
Reviewed-by: @yorifang
Signed-off-by: @yorifang
2020-09-22 20:49:30 +08:00
Euler Robot
57654a9e1f spec: Update release version with !6
increase release verison by one

Signed-off-by: Euler Robot <euler.robot@huawei.com>
2020-09-22 20:18:55 +08:00
Euler Robot
eef4a8d577 spec: Update patch and changelog with !6
vmtop: add -h and -v

Signed-off-by: Ruyi Chen <chenruyi2@huawei.com>
2020-09-22 20:18:48 +08:00
Ruyi Chen
f85a956b49 vmtop: add -h and -v
Signed-off-by: Ruyi Chen <chenruyi2@huawei.com>
2020-09-22 20:17:20 +08:00
openeuler-ci-bot
8d632dd07c !5 spec: Update release and changelog
From: @nocjj
Reviewed-by: @zhendongchen,@yorifang
Signed-off-by: @yorifang,@yorifang
2020-09-21 14:52:59 +08:00
nocjj
84f4b6e4b6 spec: Update release and changelog
bugfix: check unsigned number flip before getting delta
bugfix: exit vmtop when arguments are invalid
bugfix: fix %ST, %GUE, %HYP formula
display: expand row size in TEXT mode
2020-09-21 11:55:01 +08:00
openeuler-ci-bot
dc1bd70046 !2 vmtop: Show kvm exit items and add document to project
Merge pull request !2 from nocjj/master
2020-09-09 20:48:02 +08:00
nocjj
c30b9f044d vmtop: Show kvm exit items and add document to project
Update source code tar from openeuler/vmtop tag v1.0.1, and update
release number.
changes:
1.Get kvm exit data from vcpu_stat, and add related display items to vmtop.
  Related kernel patch:
   bbb5023b97
   5ae004462e
   167fbfb3d2
2.Add some shortcut key, such as 'H' to open thread mode.
3.Add README and related document to project.
2020-09-09 20:16:49 +08:00
openeuler-ci-bot
837bb489ae !1 vmtop: Introduce spec file
Merge pull request !1 from nocjj/master
2020-08-27 19:38:51 +08:00
nocjj
1698025b09 vmtop: package init
Add spec file and source code tar for project to support rpmbuild.
And source code tar comes from openeuler/vmtop's tag v1.0.
2020-08-26 10:00:58 +08:00
openeuler-ci-bot
cac7e3d72f Initial commit 2020-08-14 23:42:28 +08:00