Huawei Technologies Co., Ltd
0a9bc10b52
input: change wait mechanism for input
...
Currently, vmtop uses halfdelay to set waiting timeout of input.
But, halfdelay's timeout can only be between 1~255, which limits vmtop's
functioniing.
Signed-off-by: nocjj <1250062498@qq.com>
2021-04-22 16:57:10 +08:00
openeuler-ci-bot
4b767cdd06
!31 Automatically generate code patches with openeuler
...
From: @zhendongchen
Reviewed-by: @yorifang
Signed-off-by: @yorifang
2021-03-02 21:35:20 +08:00
Euler Robot
c8657ee99d
spec: Update release version with !21 !22
...
increase release verison by one
Signed-off-by: Euler Robot <euler.robot@huawei.com>
2021-03-02 16:57:22 +08:00
Euler Robot
4a64e95873
spec: Update patch and changelog with !22
...
version: unified with release version
Signed-off-by: nocjj <1250062498@qq.com>
2021-03-02 16:57:22 +08:00
Huawei Technologies Co., Ltd
228dea6049
version: unified with release version
...
Currently, vmtop release version has been update to 1.1, but
version in configure.ac is still 1.0. So, update release
version to configure.ac.
Signed-off-by: nocjj <1250062498@qq.com>
2021-03-02 16:57:22 +08:00
Euler Robot
a9aa9bb3a2
spec: Update patch and changelog with !21
...
input: add invalid opt check in input
Signed-off-by: nocjj <1250062498@qq.com>
2021-03-02 16:57:22 +08:00
Huawei Technologies Co., Ltd
0d1c6716a6
input: add invalid opt check in input
...
Add invalid opt check while vmtop start with opts.
Signed-off-by: nocjj <1250062498@qq.com>
2021-03-02 16:57:22 +08:00
openeuler-ci-bot
89a7f1b22c
!25 Automatically generate code patches with openeuler
...
From: @zhendongchen
Reviewed-by: @yorifang
Signed-off-by: @yorifang
2021-02-26 14:45:21 +08:00
Euler Robot
1cd295767c
spec: Update release version with !15
...
increase release verison by one
Signed-off-by: Euler Robot <euler.robot@huawei.com>
2021-01-22 10:46:40 +08:00
Euler Robot
d98b10d811
spec: Update patch and changelog with !15
...
bugfix: add check to avoid invalid ptr for strcmp
2021-01-22 10:46:40 +08:00
Huawei Technologies Co., Ltd
7ae005e784
bugfix: add check to avoid invalid ptr for strcmp
...
If len of d_name is less than "pid", it will pass a invalid ptr
to strcmp, which will cause crash.
2021-01-22 10:46:40 +08:00
openeuler-ci-bot
cce2a51d6b
!21 sync patched from openeuler
...
From: @nocjj
Reviewed-by: @zhendongchen
Signed-off-by: @zhendongchen
2021-01-15 21:24:28 +08:00
nocjj
161f0e3ae7
sync code from openeuler:vmtop and update release to 2
2021-01-14 15:27:15 +08:00
openeuler-ci-bot
31f67fb95c
!14 Automatically generate code patches with openeuler
...
From: @zhendongchen
Reviewed-by: @yorifang
Signed-off-by: @yorifang
2020-12-08 17:31:47 +08:00
Euler Robot
f0ff966f85
spec: Update release version with !8 !9
...
increase release verison by one
Signed-off-by: Euler Robot <euler.robot@huawei.com>
2020-11-06 11:58:09 +08:00
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