/
usr
/
bin
/
/usr/bin
mkdir
upload
Name
Size
Mode
Actions
2to3
95
0755
edit
dl
rm
ab
83416
0755
edit
dl
rm
aclocal
36376
0755
edit
dl
rm
aclocal-1.16
36376
0755
edit
dl
rm
acyclic
15664
0755
edit
dl
rm
addr2line
28408
0755
edit
dl
rm
alias
33
0755
edit
dl
rm
animate
15456
0755
edit
dl
rm
appstream-compose
32224
0755
edit
dl
rm
appstream-util
119368
0755
edit
dl
rm
apropos
49688
0755
edit
dl
rm
apropos.man-db
49688
0755
edit
dl
rm
ar
57328
0755
edit
dl
rm
arch
32224
0755
edit
dl
rm
arpaname
15472
0755
edit
dl
rm
arping
27904
0755
edit
dl
rm
as
727360
0755
edit
dl
rm
aserver
40416
0755
edit
dl
rm
aspell
154744
0755
edit
dl
rm
at
56824
4755
edit
dl
rm
atq
56824
4755
edit
dl
rm
atrm
56824
4755
edit
dl
rm
attr
15496
0755
edit
dl
rm
audit2allow
15064
0755
edit
dl
rm
audit2why
15064
0755
edit
dl
rm
aulast
19664
0755
edit
dl
rm
aulastlog
15488
0755
edit
dl
rm
ausyscall
15480
0755
edit
dl
rm
authselect
44728
0755
edit
dl
rm
autoconf
14771
0755
edit
dl
rm
autoheader
8534
0755
edit
dl
rm
autom4te
32181
0755
edit
dl
rm
automake
257981
0755
edit
dl
rm
automake-1.16
257981
0755
edit
dl
rm
autopoint
26997
0755
edit
dl
rm
autoreconf
21066
0755
edit
dl
rm
autoscan
17124
0755
edit
dl
rm
autoupdate
33872
0755
edit
dl
rm
auvirt
36152
0755
edit
dl
rm
avinfo
23928
0755
edit
dl
rm
awk
714928
0755
edit
dl
rm
b2sum
52832
0755
edit
dl
rm
base32
36344
0755
edit
dl
rm
base64
36344
0755
edit
dl
rm
basename
32240
0755
edit
dl
rm
basenc
48976
0755
edit
dl
rm
bash
1389024
0755
edit
dl
rm
bashbug
7079
0755
edit
dl
rm
bashbug-64
7079
0755
edit
dl
rm
batch
140
0755
edit
dl
rm
bcomps
23928
0755
edit
dl
rm
bg
30
0755
edit
dl
rm
bison
506632
0755
edit
dl
rm
bluemoon
44808
0755
edit
dl
rm
bluetoothctl
649456
0755
edit
dl
rm
bond2team
23293
0755
edit
dl
rm
bootconfig
31016
0755
edit
dl
rm
bootctl
102952
0755
edit
dl
rm
brotli
771376
0755
edit
dl
rm
bsqldb
36136
0755
edit
dl
rm
bsqlodbc
31936
0755
edit
dl
rm
btattach
32272
0755
edit
dl
rm
btmgmt
198904
0755
edit
dl
rm
btmon
1243624
0755
edit
dl
rm
bunzip2
40392
0755
edit
dl
rm
busctl
102560
0755
edit
dl
rm
bwrap
73952
0755
edit
dl
rm
bzcat
40392
0755
edit
dl
rm
bzcmp
2144
0755
edit
dl
rm
bzdiff
2144
0755
edit
dl
rm
bzegrep
2058
0755
edit
dl
rm
bzfgrep
2058
0755
edit
dl
rm
bzgrep
2058
0755
edit
dl
rm
bzip2
40392
0755
edit
dl
rm
bzip2recover
15592
0755
edit
dl
rm
bzless
1263
0755
edit
dl
rm
bzmore
1263
0755
edit
dl
rm
c++
1097224
0755
edit
dl
rm
c++filt
27840
0755
edit
dl
rm
c89
228
0755
edit
dl
rm
c99
219
0755
edit
dl
rm
ca-legacy
1648
0755
edit
dl
rm
cal
53064
0755
edit
dl
rm
canberra-boot
19528
0755
edit
dl
rm
canberra-gtk-play
19640
0755
edit
dl
rm
captoinfo
89896
0755
edit
dl
rm
cat
36312
0755
edit
dl
rm
catchsegv
3289
0755
edit
dl
rm
catman
36720
0755
edit
dl
rm
cc
1093128
0755
edit
dl
rm
ccomps
28128
0755
edit
dl
rm
cd
30
0755
edit
dl
rm
centrino-decode
14464
0755
edit
dl
rm
certutil
176736
0755
edit
dl
rm
chacl
19608
0755
edit
dl
rm
chage
73704
4755
edit
dl
rm
chattr
15552
0755
edit
dl
rm
chcat
13957
0755
edit
dl
rm
chcon
61488
0755
edit
dl
rm
checkmodule
461704
0755
edit
dl
rm
checkpolicy
540184
0755
edit
dl
rm
chfn
32032
4711
edit
dl
rm
chgrp
57320
0755
edit
dl
rm
chmem
36248
0755
edit
dl
rm
chmod
57304
0755
edit
dl
rm
choom
23856
0755
edit
dl
rm
chown
61432
0755
edit
dl
rm
chronyc
107256
0755
edit
dl
rm
chrt
27960
0755
edit
dl
rm
chsh
23784
0711
edit
dl
rm
chvt
15544
0755
edit
dl
rm
cifsiostat
23920
0755
edit
dl
rm
circo
15600
0755
edit
dl
rm
cksum
32136
0755
edit
dl
rm
cl-linksafe-apply-group
558
0755
edit
dl
rm
cl-linksafe-reconfigure
4947
0755
edit
dl
rm
clear
15512
0755
edit
dl
rm
clockdiff
23752
0755
edit
dl
rm
cluster
48840
0755
edit
dl
rm
cmp
41096
0755
edit
dl
rm
cmsutil
48496
0755
edit
dl
rm
col
23792
0755
edit
dl
rm
colcrt
15552
0755
edit
dl
rm
colrm
15528
0755
edit
dl
rm
column
36184
0755
edit
dl
rm
comm
36408
0755
edit
dl
rm
command
35
0755
edit
dl
rm
compare
15456
0755
edit
dl
rm
compile_et
1346
0755
edit
dl
rm
composite
15456
0755
edit
dl
rm
config_data
7138
0755
edit
dl
rm
conjure
15464
0755
edit
dl
rm
convert
15464
0755
edit
dl
rm
coredumpctl
61280
0755
edit
dl
rm
corelist
15279
0755
edit
dl
rm
cp
144400
0755
edit
dl
rm
cpan
8571
0755
edit
dl
rm
cpan-mirrors
4288
0755
edit
dl
rm
cpansign
2032
0755
edit
dl
rm
cpapi1
3478112
0755
edit
dl
rm
cpapi2
3478112
0755
edit
dl
rm
cpapi3
3478112
0755
edit
dl
rm
cpio
149016
0755
edit
dl
rm
cpp
1097224
0755
edit
dl
rm
cpupower
81936
0755
edit
dl
rm
crb
2654
0744
edit
dl
rm
crc32
1043
0755
edit
dl
rm
crlutil
94200
0755
edit
dl
rm
cronnext
40704
0755
edit
dl
rm
crontab
57112
4755
edit
dl
rm
csplit
111272
0755
edit
dl
rm
curl
254448
0755
edit
dl
rm
cut
44656
0755
edit
dl
rm
cvtsudoers
360680
0755
edit
dl
rm
cxpm
28072
0755
edit
dl
rm
cyrusbdb2current
1651824
0755
edit
dl
rm
datacopy
31992
0755
edit
dl
rm
date
106336
0755
edit
dl
rm
dbus-broker
236368
0755
edit
dl
rm
dbus-broker-launch
131904
0755
edit
dl
rm
dbus-monitor
27920
0755
edit
dl
rm
dbus-send
27872
0755
edit
dl
rm
dbus-update-activation-environment
15536
0755
edit
dl
rm
dbus-uuidgen
15504
0755
edit
dl
rm
dbxtool
23896
0755
edit
dl
rm
dconf
66264
0755
edit
dl
rm
dd
69576
0755
edit
dl
rm
deallocvt
15552
0755
edit
dl
rm
debuginfo-install
3690
0755
edit
dl
rm
debuginfod-find
19736
0755
edit
dl
rm
defncopy
32016
0755
edit
dl
rm
delv
46472
0755
edit
dl
rm
df
82464
0755
edit
dl
rm
diff
199368
0755
edit
dl
rm
diff3
53560
0755
edit
dl
rm
diffimg
15624
0755
edit
dl
rm
dig
139872
0755
edit
dl
rm
dijkstra
19904
0755
edit
dl
rm
dir
140752
0755
edit
dl
rm
dircolors
40568
0755
edit
dl
rm
dirmngr
450528
0755
edit
dl
rm
dirmngr-client
57472
0755
edit
dl
rm
dirname
27952
0755
edit
dl
rm
display
15456
0755
edit
dl
rm
distro
953
0755
edit
dl
rm
dltest
15464
0755
edit
dl
rm
dmesg
73496
0755
edit
dl
rm
dnf
2094
0755
edit
dl
rm
dnf-3
2094
0755
edit
dl
rm
dnf4
2094
0755
edit
dl
rm
dnsdomainname
24408
0755
edit
dl
rm
dnstap-read
23744
0755
edit
dl
rm
domainname
24408
0755
edit
dl
rm
dot
15600
0755
edit
dl
rm
dot2gxl
40888
0755
edit
dl
rm
dotty
2089
0755
edit
dl
rm
doveadm
840464
0755
edit
dl
rm
doveconf
384248
0755
edit
dl
rm
dovecot-sysreport
6431
0755
edit
dl
rm
dpkg
328216
0755
edit
dl
rm
dpkg-deb
157400
0755
edit
dl
rm
dpkg-divert
132888
0755
edit
dl
rm
dpkg-maintscript-helper
21128
0755
edit
dl
rm
dpkg-query
149672
0755
edit
dl
rm
dpkg-realpath
36488
0755
edit
dl
rm
dpkg-split
107272
0755
edit
dl
rm
dpkg-statoverride
57400
0755
edit
dl
rm
dpkg-trigger
49232
0755
edit
dl
rm
dracut
100917
0755
edit
dl
rm
dtrace
17796
0755
edit
dl
rm
du
152848
0755
edit
dl
rm
dumpkeys
167800
0755
edit
dl
rm
dwp
872032
0755
edit
dl
rm
dwz
233464
0755
edit
dl
rm
ea-php81
11321664
0755
edit
dl
rm
ea-php81-pear
383
0755
edit
dl
rm
ea-php81-pecl
299
0755
edit
dl
rm
ea-php82
11409936
0755
edit
dl
rm
ea-php82-pear
383
0755
edit
dl
rm
ea-php82-pecl
299
0755
edit
dl
rm
ea-wappspector
104
0755
edit
dl
rm
echo
27944
0755
edit
dl
rm
ed
53768
0755
edit
dl
rm
edgepaint
2580304
0755
edit
dl
rm
egrep
32
0755
edit
dl
rm
eject
44656
0755
edit
dl
rm
elfedit
36696
0755
edit
dl
rm
enc2xs
41663
0755
edit
dl
rm
encguess
2989
0755
edit
dl
rm
env
45088
0755
edit
dl
rm
envml
4205
0755
edit
dl
rm
envsubst
36240
0755
edit
dl
rm
eps2eps
643
0755
edit
dl
rm
eqn
194064
0755
edit
dl
rm
event_rpcgen.py
54936
0755
edit
dl
rm
evmctl
71264
0755
edit
dl
rm
ex
1452256
0755
edit
dl
rm
exempi
28856
0755
edit
dl
rm
exiv2
204616
0755
edit
dl
rm
expand
40488
0755
edit
dl
rm
expr
111040
0755
edit
dl
rm
factor
73592
0755
edit
dl
rm
fallocate
23760
0755
edit
dl
rm
false
27936
0755
edit
dl
rm
fc
30
0755
edit
dl
rm
fc-cache
139
0755
edit
dl
rm
fc-cache-64
23728
0755
edit
dl
rm
fc-cat
19616
0755
edit
dl
rm
fc-conflist
15496
0755
edit
dl
rm
fc-list
15496
0755
edit
dl
rm
fc-match
15496
0755
edit
dl
rm
fc-pattern
15504
0755
edit
dl
rm
fc-query
15496
0755
edit
dl
rm
fc-scan
15504
0755
edit
dl
rm
fc-validate
15504
0755
edit
dl
rm
fdp
15600
0755
edit
dl
rm
fg
30
0755
edit
dl
rm
fgconsole
15536
0755
edit
dl
rm
fgrep
32
0755
edit
dl
rm
filan
48776
0755
edit
dl
rm
file
28288
0755
edit
dl
rm
fincore
23856
0755
edit
dl
rm
find
291792
0755
edit
dl
rm
find-repos-of-install
3690
0755
edit
dl
rm
findmnt
66304
0755
edit
dl
rm
fips-finish-install
1764
0755
edit
dl
rm
fips-mode-setup
8213
0755
edit
dl
rm
firewall-cmd
143608
0755
edit
dl
rm
firewall-offline-cmd
123952
0755
edit
dl
rm
fisql
36136
0755
edit
dl
rm
flatpak
1858560
0755
edit
dl
rm
flatpak-bisect
7844
0755
edit
dl
rm
flatpak-coredumpctl
3433
0755
edit
dl
rm
flex
422544
0755
edit
dl
rm
flex++
422544
0755
edit
dl
rm
flock
23928
0755
edit
dl
rm
fmt
40528
0755
edit
dl
rm
fold
40456
0755
edit
dl
rm
free
23920
0755
edit
dl
rm
freebcp
23744
0755
edit
dl
rm
freetype-config
4423
0755
edit
dl
rm
fribidi
29272
0755
edit
dl
rm
ftp
103072
0755
edit
dl
rm
funzip
32000
0755
edit
dl
rm
fuse2fs
74424
0755
edit
dl
rm
fusermount
36368
4755
edit
dl
rm
fusermount3
36400
4755
edit
dl
rm
fwupdmgr
160784
0755
edit
dl
rm
fwupdtool
181456
0755
edit
dl
rm
g++
1097224
0755
edit
dl
rm
g13
112936
0755
edit
dl
rm
gapplication
23768
0755
edit
dl
rm
gawk
714928
0755
edit
dl
rm
gc
19856
0755
edit
dl
rm
gcc
1093128
0755
edit
dl
rm
gcc-ar
28336
0755
edit
dl
rm
gcc-nm
28312
0755
edit
dl
rm
gcc-ranlib
28336
0755
edit
dl
rm
gcov
488576
0755
edit
dl
rm
gcov-dump
298768
0755
edit
dl
rm
gcov-tool
328160
0755
edit
dl
rm
gdbmtool
152840
0755
edit
dl
rm
gdbm_dump
28896
0755
edit
dl
rm
gdbm_load
37352
0755
edit
dl
rm
gdbus
52736
0755
edit
dl
rm
gdbus-codegen
2038
0755
edit
dl
rm
gdk-pixbuf-query-loaders-64
15528
0755
edit
dl
rm
gdk-pixbuf-thumbnailer
19608
0755
edit
dl
rm
gencat
28104
0755
edit
dl
rm
genl-ctrl-list
15848
0755
edit
dl
rm
gen_grub_cfgstub
660
0700
edit
dl
rm
geqn
194064
0755
edit
dl
rm
GET
16200
0755
edit
dl
rm
getconf
36080
0755
edit
dl
rm
getent
36720
0755
edit
dl
rm
getfacl
32032
0755
edit
dl
rm
getfattr
27920
0755
edit
dl
rm
getkeycodes
15528
0755
edit
dl
rm
getopt
23824
0755
edit
dl
rm
getopts
35
0755
edit
dl
rm
gettext
36200
0755
edit
dl
rm
gettext.sh
5191
0755
edit
dl
rm
gettextize
42236
0755
edit
dl
rm
ghostscript
15488
0755
edit
dl
rm
gio
94024
0755
edit
dl
rm
gio-querymodules-64
15496
0755
edit
dl
rm
git
23377520
0755
edit
dl
rm
git-receive-pack
23377520
0755
edit
dl
rm
git-shell
6562984
0755
edit
dl
rm
git-upload-archive
23377520
0755
edit
dl
rm
git-upload-pack
23377520
0755
edit
dl
rm
glib-compile-resources
44384
0755
edit
dl
rm
glib-compile-schemas
52704
0755
edit
dl
rm
glib-genmarshal
41105
0755
edit
dl
rm
glib-gettextize
5390
0755
edit
dl
rm
glib-mkenums
30797
0755
edit
dl
rm
gmake
255792
0755
edit
dl
rm
gml2gv
48928
0755
edit
dl
rm
gneqn
916
0755
edit
dl
rm
gnroff
3285
0755
edit
dl
rm
gobject-query
15528
0755
edit
dl
rm
gpasswd
78016
4755
edit
dl
rm
gpg
1123624
0755
edit
dl
rm
gpg-agent
350488
0755
edit
dl
rm
gpg-card
174216
0755
edit
dl
rm
gpg-connect-agent
86784
0755
edit
dl
rm
gpg-error
36968
0755
edit
dl
rm
gpg-error-config
2024
0755
edit
dl
rm
gpg-wks-client
132656
0755
edit
dl
rm
gpg-wks-server
116048
0755
edit
dl
rm
gpg2
1123624
0755
edit
dl
rm
gpgconf
103408
0755
edit
dl
rm
gpgme-json
86656
0755
edit
dl
rm
gpgparsemail
36176
0755
edit
dl
rm
gpgrt-config
13450
0755
edit
dl
rm
gpgsplit
28160
0755
edit
dl
rm
gpgtar
66424
0755
edit
dl
rm
gpgv
302520
0755
edit
dl
rm
gpgv2
302520
0755
edit
dl
rm
gpic
206560
0755
edit
dl
rm
gpio-event-mon
18560
0755
edit
dl
rm
gpio-hammer
14456
0755
edit
dl
rm
gpio-watch
14456
0755
edit
dl
rm
gprof
103920
0755
edit
dl
rm
gr2fonttest
28672
0755
edit
dl
rm
graphml2gv
24112
0755
edit
dl
rm
grep
158200
0755
edit
dl
rm
gresource
23840
0755
edit
dl
rm
groff
99088
0755
edit
dl
rm
grops
171272
0755
edit
dl
rm
grotty
125128
0755
edit
dl
rm
groups
36328
0755
edit
dl
rm
grub2-editenv
498416
0755
edit
dl
rm
grub2-file
1163304
0755
edit
dl
rm
grub2-fstest
1750592
0755
edit
dl
rm
grub2-glue-efi
308576
0755
edit
dl
rm
grub2-kbdcomp
1672
0755
edit
dl
rm
grub2-menulst2cfg
291344
0755
edit
dl
rm
grub2-mkfont
342040
0755
edit
dl
rm
grub2-mkimage
476816
0755
edit
dl
rm
grub2-mklayout
318920
0755
edit
dl
rm
grub2-mknetdir
545376
0755
edit
dl
rm
grub2-mkpasswd-pbkdf2
321544
0755
edit
dl
rm
grub2-mkrelpath
308392
0755
edit
dl
rm
grub2-mkrescue
1408168
0755
edit
dl
rm
grub2-mkstandalone
652248
0755
edit
dl
rm
grub2-mount
1073800
0755
edit
dl
rm
grub2-render-label
1168240
0755
edit
dl
rm
grub2-script-check
341960
0755
edit
dl
rm
grub2-syslinux2cfg
1094992
0755
edit
dl
rm
gs
15488
0755
edit
dl
rm
gsbj
354
0755
edit
dl
rm
gsdj
356
0755
edit
dl
rm
gsdj500
356
0755
edit
dl
rm
gsettings
32136
0755
edit
dl
rm
gsf-office-thumbnailer
20552
0755
edit
dl
rm
gslj
357
0755
edit
dl
rm
gslp
354
0755
edit
dl
rm
gsnd
281
0755
edit
dl
rm
gsoelim
32952
0755
edit
dl
rm
gst-inspect-1.0
73472
0755
edit
dl
rm
gst-launch-1.0
40424
0755
edit
dl
rm
gst-stats-1.0
36496
0755
edit
dl
rm
gst-typefind-1.0
19800
0755
edit
dl
rm
gtar
534824
0755
edit
dl
rm
gtbl
134000
0755
edit
dl
rm
gtester
32040
0755
edit
dl
rm
gtester-report
19090
0755
edit
dl
rm
gtk-launch
19744
0755
edit
dl
rm
gtk-query-immodules-2.0-64
19632
0755
edit
dl
rm
gtk-query-immodules-3.0-64
23832
0755
edit
dl
rm
gtk-update-icon-cache
40784
0755
edit
dl
rm
gtroff
749640
0755
edit
dl
rm
gunzip
2350
0755
edit
dl
rm
gv2gml
23968
0755
edit
dl
rm
gv2gxl
40888
0755
edit
dl
rm
gvcolor
50776
0755
edit
dl
rm
gvgen
23976
0755
edit
dl
rm
gvmap
2881096
0755
edit
dl
rm
gvmap.sh
2194
0755
edit
dl
rm
gvpack
407696
0755
edit
dl
rm
gvpr
15568
0755
edit
dl
rm
gxl2dot
40888
0755
edit
dl
rm
gxl2gv
40888
0755
edit
dl
rm
gzexe
6484
0755
edit
dl
rm
gzip
91088
0755
edit
dl
rm
h2ph
29382
0755
edit
dl
rm
h2xs
60931
0755
edit
dl
rm
hardlink
36280
0755
edit
dl
rm
hash
32
0755
edit
dl
rm
hb-ot-shape-closure
44704
0755
edit
dl
rm
hb-shape
49056
0755
edit
dl
rm
hb-subset
40608
0755
edit
dl
rm
hb-view
65544
0755
edit
dl
rm
HEAD
16200
0755
edit
dl
rm
head
40560
0755
edit
dl
rm
hex2hcd
19536
0755
edit
dl
rm
hexdump
52640
0755
edit
dl
rm
host
111176
0755
edit
dl
rm
hostid
32224
0755
edit
dl
rm
hostname
24408
0755
edit
dl
rm
hostnamectl
32248
0755
edit
dl
rm
htdbm
39456
0755
edit
dl
rm
htdigest
26328
0755
edit
dl
rm
html2text
980
0755
edit
dl
rm
htpasswd
39584
0755
edit
dl
rm
httxt2dbm
25320
0755
edit
dl
rm
hunspell
105136
0755
edit
dl
rm
i386
28136
0755
edit
dl
rm
ibd2sdi
333976
0755
edit
dl
rm
iconv
65624
0755
edit
dl
rm
icu-config
205
0755
edit
dl
rm
icu-config-64
22189
0755
edit
dl
rm
icuinfo
15864
0755
edit
dl
rm
id
40472
0755
edit
dl
rm
identify
15464
0755
edit
dl
rm
idiag-socket-details
15888
0755
edit
dl
rm
idn
37336
0755
edit
dl
rm
ifnames
4128
0755
edit
dl
rm
iio_event_monitor
30856
0755
edit
dl
rm
iio_generic_buffer
34960
0755
edit
dl
rm
ima-add-sigs
3763
0755
edit
dl
rm
ima-setup
3800
0755
edit
dl
rm
import
15456
0755
edit
dl
rm
imunify-agent-proxy
13782008
0755
edit
dl
rm
imunify-antivirus
1024
0755
edit
dl
rm
imunify-fgw-dump
8182992
0755
edit
dl
rm
imunify-service
1020
0755
edit
dl
rm
imunify360-agent
1024
0755
edit
dl
rm
imunify360-command-wrapper
12210
0755
edit
dl
rm
info
320240
0755
edit
dl
rm
infocmp
65208
0755
edit
dl
rm
infotocap
89896
0755
edit
dl
rm
innochecksum
234696
0755
edit
dl
rm
install
152656
0755
edit
dl
rm
instmodsh
4194
0755
edit
dl
rm
intel-speed-select
119464
0755
edit
dl
rm
ionice
15576
0755
edit
dl
rm
iostat
57032
0755
edit
dl
rm
ipcmk
23848
0755
edit
dl
rm
ipcrm
19688
0755
edit
dl
rm
ipcs
40280
0755
edit
dl
rm
iptc
30008
0755
edit
dl
rm
irqtop
36120
0755
edit
dl
rm
isosize
15512
0755
edit
dl
rm
ispell
992
0755
edit
dl
rm
isql
40288
0755
edit
dl
rm
iusql
32056
0755
edit
dl
rm
jcat-tool
45272
0755
edit
dl
rm
jobs
32
0755
edit
dl
rm
join
52928
0755
edit
dl
rm
journalctl
90224
0755
edit
dl
rm
jq
31928
0755
edit
dl
rm
json_pp
4896
0755
edit
dl
rm
json_reformat
19984
0755
edit
dl
rm
json_verify
15672
0755
edit
dl
rm
json_xs
7013
0755
edit
dl
rm
kbdinfo
19656
0755
edit
dl
rm
kbdrate
19664
0755
edit
dl
rm
kbd_mode
15880
0755
edit
dl
rm
kdumpctl
61276
0755
edit
dl
rm
kernel-install
14030
0755
edit
dl
rm
keyctl
65560
0755
edit
dl
rm
kill
32032
0755
edit
dl
rm
killall
33736
0755
edit
dl
rm
kmod
169544
0755
edit
dl
rm
krb5-config
6746
0755
edit
dl
rm
kvm_stat
64427
0755
edit
dl
rm
l2ping
15544
0755
edit
dl
rm
last
36136
0755
edit
dl
rm
lastb
36136
0755
edit
dl
rm
lastlog
29320
0755
edit
dl
rm
lchfn
23680
0755
edit
dl
rm
lchsh
23680
0755
edit
dl
rm
ld
1791600
0755
edit
dl
rm
ld.bfd
1791600
0755
edit
dl
rm
ld.gold
2128592
0755
edit
dl
rm
ld.so
938792
0755
edit
dl
rm
ldd
5446
0755
edit
dl
rm
lefty
307656
0755
edit
dl
rm
less
202440
0755
edit
dl
rm
lessecho
15536
0755
edit
dl
rm
lesskey
25200
0755
edit
dl
rm
lesspipe.sh
3580
0755
edit
dl
rm
lex
422544
0755
edit
dl
rm
lexgrog
90304
0755
edit
dl
rm
libnetcfg
15775
0755
edit
dl
rm
libpng-config
2440
0755
edit
dl
rm
libpng16-config
2440
0755
edit
dl
rm
libtool
367802
0755
edit
dl
rm
libtoolize
129200
0755
edit
dl
rm
libwmf-fontmap
13344
0755
edit
dl
rm
link
32232
0755
edit
dl
rm
linux-boot-prober
5997
0755
edit
dl
rm
linux32
28136
0755
edit
dl
rm
linux64
28136
0755
edit
dl
rm
ln
57288
0755
edit
dl
rm
lneato
1551
0755
edit
dl
rm
loadkeys
205176
0755
edit
dl
rm
loadunimap
32184
0755
edit
dl
rm
locale
60496
0755
edit
dl
rm
localectl
32200
0755
edit
dl
rm
localedef
321584
0755
edit
dl
rm
logger
36840
0755
edit
dl
rm
login
44504
0755
edit
dl
rm
loginctl
69592
0755
edit
dl
rm
logname
32224
0755
edit
dl
rm
logresolve
25664
0755
edit
dl
rm
look
19632
0755
edit
dl
rm
ls
140744
0755
edit
dl
rm
lsattr
15544
0755
edit
dl
rm
lsblk
127352
0755
edit
dl
rm
lscpu
110832
0755
edit
dl
rm
lsgpio
14640
0755
edit
dl
rm
lsiio
22672
0755
edit
dl
rm
lsinitrd
12137
0755
edit
dl
rm
lsipc
52736
0755
edit
dl
rm
lsirq
23792
0755
edit
dl
rm
lslocks
32352
0755
edit
dl
rm
lslogins
52736
0755
edit
dl
rm
lsmem
36376
0755
edit
dl
rm
lsns
40272
0755
edit
dl
rm
lsof
179264
0755
edit
dl
rm
lsphp
937
0755
edit
dl
rm
lsscsi
91584
0755
edit
dl
rm
lto-dump
27882568
0755
edit
dl
rm
lua
23784
0755
edit
dl
rm
luac
161472
0755
edit
dl
rm
lwp-download
10292
0755
edit
dl
rm
lwp-dump
2711
0755
edit
dl
rm
lwp-mirror
2413
0755
edit
dl
rm
lwp-request
16200
0755
edit
dl
rm
lynis
52454
0755
edit
dl
rm
lz4_decompress
130312
0755
edit
dl
rm
m4
246168
0755
edit
dl
rm
Mail
1037568
0755
edit
dl
rm
mail
1037568
0755
edit
dl
rm
mailx
1037568
0755
edit
dl
rm
mailx.s-nail
1037568
0755
edit
dl
rm
make
255792
0755
edit
dl
rm
make-dummy-cert
614
0755
edit
dl
rm
man
117672
0755
edit
dl
rm
man-recode
28680
0755
edit
dl
rm
man.man-db
117672
0755
edit
dl
rm
mandb
136200
0755
edit
dl
rm
manpath
32584
0755
edit
dl
rm
mapscrn
32144
0755
edit
dl
rm
mcookie
27960
0755
edit
dl
rm
md5sum
40392
0755
edit
dl
rm
mdb_copy
16080
0755
edit
dl
rm
mdb_dump
16216
0755
edit
dl
rm
mdb_load
24408
0755
edit
dl
rm
mdb_stat
16184
0755
edit
dl
rm
mdig
52536
0755
edit
dl
rm
mesg
15504
0755
edit
dl
rm
mkdir
69760
0755
edit
dl
rm
mkfifo
40592
0755
edit
dl
rm
mkfontdir
69
0755
edit
dl
rm
mkfontscale
45848
0755
edit
dl
rm
mknod
44728
0755
edit
dl
rm
mktemp
40568
0755
edit
dl
rm
mm2gv
40392
0755
edit
dl
rm
mmdblookup
28384
0755
edit
dl
rm
modulecmd
669702
0755
edit
dl
rm
modulemd-validator
29072
0755
edit
dl
rm
modutil
94112
0755
edit
dl
rm
mogrify
15464
0755
edit
dl
rm
mokutil
62688
0755
edit
dl
rm
montage
15464
0755
edit
dl
rm
more
44464
0755
edit
dl
rm
mount
48480
4755
edit
dl
rm
mountpoint
19640
0755
edit
dl
rm
mpris-proxy
103584
0755
edit
dl
rm
mpstat
52832
0755
edit
dl
rm
msgattrib
27824
0755
edit
dl
rm
msgcat
27792
0755
edit
dl
rm
msgcmp
27920
0755
edit
dl
rm
msgcomm
27808
0755
edit
dl
rm
msgconv
23704
0755
edit
dl
rm
msgen
23704
0755
edit
dl
rm
msgexec
23704
0755
edit
dl
rm
msgfilter
36160
0755
edit
dl
rm
msgfmt
86112
0755
edit
dl
rm
msgfmt.py
7590
0755
edit
dl
rm
msgfmt3.9.py
7590
0755
edit
dl
rm
msgfmt3.py
7590
0755
edit
dl
rm
msggrep
119200
0755
edit
dl
rm
msginit
69056
0755
edit
dl
rm
msgmerge
77296
0755
edit
dl
rm
msgunfmt
36176
0755
edit
dl
rm
msguniq
23704
0755
edit
dl
rm
mv
144328
0755
edit
dl
rm
myisamchk
6799976
0755
edit
dl
rm
myisamlog
6631200
0755
edit
dl
rm
myisampack
6666784
0755
edit
dl
rm
myisam_ftdump
6606624
0755
edit
dl
rm
mysql
7496064
0755
edit
dl
rm
mysqladmin
7230168
0755
edit
dl
rm
mysqlbinlog
7541632
0755
edit
dl
rm
mysqlcheck
7238968
0755
edit
dl
rm
mysqldump
7303512
0755
edit
dl
rm
mysqldumpslow
7719
0755
edit
dl
rm
mysqld_pre_systemd
4421
0755
edit
dl
rm
mysqlimport
7218152
0755
edit
dl
rm
mysqlpump
7706664
0755
edit
dl
rm
mysqlshow
7216728
0755
edit
dl
rm
mysqlslap
7227880
0755
edit
dl
rm
mysql_config
843
0755
edit
dl
rm
mysql_config-64
5052
0755
edit
dl
rm
mysql_config_editor
219608
0755
edit
dl
rm
mysql_migrate_keyring
7292104
0755
edit
dl
rm
mysql_secure_installation
7201800
0755
edit
dl
rm
mysql_ssl_rsa_setup
264496
0755
edit
dl
rm
mysql_tzinfo_to_sql
142048
0755
edit
dl
rm
mysql_upgrade
7300624
0755
edit
dl
rm
my_print_defaults
230384
0755
edit
dl
rm
nail
1037568
0755
edit
dl
rm
named-rrchecker
23696
0755
edit
dl
rm
namei
23784
0755
edit
dl
rm
nano
354504
0755
edit
dl
rm
nc
53104
0755
edit
dl
rm
ncurses6-config
8321
0755
edit
dl
rm
ncursesw6-config
8324
0755
edit
dl
rm
ndptool
28080
0755
edit
dl
rm
neato
15600
0755
edit
dl
rm
needs-restarting
3690
0755
edit
dl
rm
neqn
916
0755
edit
dl
rm
netcat
53104
0755
edit
dl
rm
netstat
160616
0755
edit
dl
rm
newgidmap
42960
0755
edit
dl
rm
newgrp
41744
4755
edit
dl
rm
newuidmap
38840
0755
edit
dl
rm
nf-ct-add
16272
0755
edit
dl
rm
nf-ct-events
15696
0755
edit
dl
rm
nf-ct-list
16312
0755
edit
dl
rm
nf-exp-add
20792
0755
edit
dl
rm
nf-exp-delete
16472
0755
edit
dl
rm
nf-exp-list
16312
0755
edit
dl
rm
nf-log
15680
0755
edit
dl
rm
nf-monitor
15696
0755
edit
dl
rm
nf-queue
15688
0755
edit
dl
rm
ngettext
36192
0755
edit
dl
rm
nice
36336
0755
edit
dl
rm
nisdomainname
24408
0755
edit
dl
rm
nl
102920
0755
edit
dl
rm
nl-addr-add
16144
0755
edit
dl
rm
nl-addr-delete
16200
0755
edit
dl
rm
nl-addr-list
20312
0755
edit
dl
rm
nl-class-add
16128
0755
edit
dl
rm
nl-class-delete
16040
0755
edit
dl
rm
nl-class-list
16008
0755
edit
dl
rm
nl-classid-lookup
15872
0755
edit
dl
rm
nl-cls-add
20288
0755
edit
dl
rm
nl-cls-delete
16112
0755
edit
dl
rm
nl-cls-list
16064
0755
edit
dl
rm
nl-fib-lookup
15896
0755
edit
dl
rm
nl-link-enslave
15656
0755
edit
dl
rm
nl-link-ifindex2name
15656
0755
edit
dl
rm
nl-link-list
16048
0755
edit
dl
rm
nl-link-name2ifindex
15656
0755
edit
dl
rm
nl-link-release
15656
0755
edit
dl
rm
nl-link-set
16120
0755
edit
dl
rm
nl-link-stats
15904
0755
edit
dl
rm
nl-list-caches
15672
0755
edit
dl
rm
nl-list-sockets
15656
0755
edit
dl
rm
nl-monitor
15856
0755
edit
dl
rm
nl-neigh-add
16040
0755
edit
dl
rm
nl-neigh-delete
16072
0755
edit
dl
rm
nl-neigh-list
15984
0755
edit
dl
rm
nl-neightbl-list
15816
0755
edit
dl
rm
nl-nh-list
15848
0755
edit
dl
rm
nl-pktloc-lookup
15904
0755
edit
dl
rm
nl-qdisc-add
16072
0755
edit
dl
rm
nl-qdisc-delete
16040
0755
edit
dl
rm
nl-qdisc-list
20160
0755
edit
dl
rm
nl-route-add
20312
0755
edit
dl
rm
nl-route-delete
20392
0755
edit
dl
rm
nl-route-get
15680
0755
edit
dl
rm
nl-route-list
16240
0755
edit
dl
rm
nl-rule-list
15848
0755
edit
dl
rm
nl-tctree-list
15976
0755
edit
dl
rm
nl-util-addr
15656
0755
edit
dl
rm
nm
45792
0755
edit
dl
rm
nm-online
23944
0755
edit
dl
rm
nmcli
1079672
0755
edit
dl
rm
nmtui
862656
0755
edit
dl
rm
nmtui-connect
862656
0755
edit
dl
rm
nmtui-edit
862656
0755
edit
dl
rm
nmtui-hostname
862656
0755
edit
dl
rm
nohup
36248
0755
edit
dl
rm
nop
15696
0755
edit
dl
rm
notify-send
20224
0755
edit
dl
rm
nproc
36352
0755
edit
dl
rm
nroff
3285
0755
edit
dl
rm
nsenter
28128
0755
edit
dl
rm
nslookup
115224
0755
edit
dl
rm
nss-policy-check
15520
0755
edit
dl
rm
nsupdate
73528
0755
edit
dl
rm
numfmt
56968
0755
edit
dl
rm
objcopy
189816
0755
edit
dl
rm
objdump
423000
0755
edit
dl
rm
od
65408
0755
edit
dl
rm
odbcinst
23728
0755
edit
dl
rm
odbc_config
15472
0755
edit
dl
rm
openssl
1122552
0755
edit
dl
rm
openvt
24120
0755
edit
dl
rm
orc-bugreport
23872
0755
edit
dl
rm
os-prober
5919
0755
edit
dl
rm
osage
15600
0755
edit
dl
rm
osinfo-db-export
28008
0755
edit
dl
rm
osinfo-db-import
27960
0755
edit
dl
rm
osinfo-db-path
15672
0755
edit
dl
rm
osinfo-db-validate
23960
0755
edit
dl
rm
osinfo-detect
28056
0755
edit
dl
rm
osinfo-install-script
32536
0755
edit
dl
rm
osinfo-query
32960
0755
edit
dl
rm
osql
9707
0755
edit
dl
rm
p11-kit
245904
0755
edit
dl
rm
pacat
52656
0755
edit
dl
rm
package-cleanup
3690
0755
edit
dl
rm
pacmd
19584
0755
edit
dl
rm
pactl
81584
0755
edit
dl
rm
page_owner_sort
26752
0755
edit
dl
rm
pamon
52656
0755
edit
dl
rm
pango-list
19568
0755
edit
dl
rm
pango-segmentation
19584
0755
edit
dl
rm
pango-view
61616
0755
edit
dl
rm
paperconf
16184
0755
edit
dl
rm
paplay
52656
0755
edit
dl
rm
parec
52656
0755
edit
dl
rm
parecord
52656
0755
edit
dl
rm
passwd
32656
4755
edit
dl
rm
paste
36240
0755
edit
dl
rm
pasuspender
23832
0755
edit
dl
rm
patch
199696
0755
edit
dl
rm
patchwork
15600
0755
edit
dl
rm
pathchk
36328
0755
edit
dl
rm
pathfix.py
6786
0755
edit
dl
rm
pathfix3.9.py
6786
0755
edit
dl
rm
pax11publish
15488
0755
edit
dl
rm
pcre-config
2142
0755
edit
dl
rm
pcre2-config
1954
0755
edit
dl
rm
pdf2dsc
701
0755
edit
dl
rm
pdf2ps
913
0755
edit
dl
rm
pdnsutil
5050176
0755
edit
dl
rm
pdns_control
491544
0755
edit
dl
rm
peekfd
16184
0755
edit
dl
rm
perl
15496
0755
edit
dl
rm
perl5.32.1
15496
0755
edit
dl
rm
perlbug
44863
0755
edit
dl
rm
perldoc
118
0755
edit
dl
rm
perlivp
10813
0755
edit
dl
rm
perlml
14840
0755
edit
dl
rm
perlthanks
44863
0755
edit
dl
rm
perror
1030928
0755
edit
dl
rm
pf2afm
502
0755
edit
dl
rm
pfbtopfa
520
0755
edit
dl
rm
pftp
103072
0755
edit
dl
rm
pgrep
32176
0755
edit
dl
rm
php
937
0755
edit
dl
rm
pic
206560
0755
edit
dl
rm
piconv
8271
0755
edit
dl
rm
pidof
23888
0755
edit
dl
rm
pidstat
52832
0755
edit
dl
rm
pidwait
32176
0755
edit
dl
rm
pigz
136024
0755
edit
dl
rm
ping
91472
0755
edit
dl
rm
pinky
36264
0755
edit
dl
rm
pip
648
0755
edit
dl
rm
pip-3
648
0755
edit
dl
rm
pip-3.9
648
0755
edit
dl
rm
pip3
648
0755
edit
dl
rm
pip3.9
648
0755
edit
dl
rm
pipewire
15520
0755
edit
dl
rm
pipewire-aes67
15520
0755
edit
dl
rm
pipewire-avb
15520
0755
edit
dl
rm
pipewire-pulse
15520
0755
edit
dl
rm
pipewire-vulkan
15520
0755
edit
dl
rm
pk12util
74192
0755
edit
dl
rm
pkaction
19624
0755
edit
dl
rm
pkcheck
23728
0755
edit
dl
rm
pkexec
31928
4755
edit
dl
rm
pkg-config
335
0755
edit
dl
rm
pkgconf
46448
0755
edit
dl
rm
pkill
32176
0755
edit
dl
rm
pkla-admin-identities
24536
0755
edit
dl
rm
pkla-check-authorization
36968
0755
edit
dl
rm
pkttyagent
23712
0755
edit
dl
rm
pl2pm
4533
0755
edit
dl
rm
pldd
23928
0755
edit
dl
rm
plesk_configure
346
0755
edit
dl
rm
pmap
36240
0755
edit
dl
rm
png-fix-itxt
15472
0755
edit
dl
rm
pngfix
60992
0755
edit
dl
rm
pod2html
4134
0755
edit
dl
rm
pod2man
15034
0755
edit
dl
rm
pod2text
10803
0755
edit
dl
rm
pod2usage
4107
0755
edit
dl
rm
podchecker
3658
0755
edit
dl
rm
POST
16200
0755
edit
dl
rm
post-grohtml
204552
0755
edit
dl
rm
powernow-k8-decode
14464
0755
edit
dl
rm
pphs
408
0755
edit
dl
rm
pr
73832
0755
edit
dl
rm
pre-grohtml
95152
0755
edit
dl
rm
precat
5660
0755
edit
dl
rm
preconv
57616
0755
edit
dl
rm
preunzip
5660
0755
edit
dl
rm
prezip
5660
0755
edit
dl
rm
prezip-bin
16064
0755
edit
dl
rm
printafm
399
0755
edit
dl
rm
printenv
32040
0755
edit
dl
rm
printf
52816
0755
edit
dl
rm
prlimit
28416
0755
edit
dl
rm
procan
36280
0755
edit
dl
rm
protoc
23880
0755
edit
dl
rm
protoc-c
161992
0755
edit
dl
rm
protoc-gen-c
161992
0755
edit
dl
rm
prove
13562
0755
edit
dl
rm
prtstat
24416
0755
edit
dl
rm
prune
15776
0755
edit
dl
rm
ps
144536
0755
edit
dl
rm
ps2ascii
635
0755
edit
dl
rm
ps2epsi
1268
0755
edit
dl
rm
ps2pdf
276
0755
edit
dl
rm
ps2pdf12
219
0755
edit
dl
rm
ps2pdf13
219
0755
edit
dl
rm
ps2pdf14
219
0755
edit
dl
rm
ps2pdfwr
1082
0755
edit
dl
rm
ps2ps
651
0755
edit
dl
rm
ps2ps2
673
0755
edit
dl
rm
psfaddtable
32008
0755
edit
dl
rm
psfgettable
32008
0755
edit
dl
rm
psfstriptable
32008
0755
edit
dl
rm
psfxtable
32008
0755
edit
dl
rm
pslog
16080
0755
edit
dl
rm
pstree
37784
0755
edit
dl
rm
pstree.x11
37784
0755
edit
dl
rm
ptar
3470
0755
edit
dl
rm
ptardiff
2549
0755
edit
dl
rm
ptargrep
4299
0755
edit
dl
rm
ptx
131912
0755
edit
dl
rm
pure-pw
39512
0755
edit
dl
rm
pure-pwconvert
14864
0755
edit
dl
rm
pure-statsdecode
14864
0755
edit
dl
rm
pw-jack
1352
0755
edit
dl
rm
pwd
36376
0755
edit
dl
rm
pwdx
15648
0755
edit
dl
rm
pwmake
16080
0755
edit
dl
rm
pwscore
16080
0755
edit
dl
rm
pydoc
78
0755
edit
dl
rm
pydoc3
78
0755
edit
dl
rm
pydoc3.9
78
0755
edit
dl
rm
pygettext.py
21537
0755
edit
dl
rm
pygettext3.9.py
21537
0755
edit
dl
rm
pygettext3.py
21537
0755
edit
dl
rm
python-config
61
0755
edit
dl
rm
python-html2text
980
0755
edit
dl
rm
python3
15448
0755
edit
dl
rm
python3-config
61
0755
edit
dl
rm
python3-html2text
980
0755
edit
dl
rm
python3.9
15448
0755
edit
dl
rm
python3.9-config
61
0755
edit
dl
rm
python3.9-x86_64-config
3624
0755
edit
dl
rm
quota
83632
4755
edit
dl
rm
quotasync
66432
0755
edit
dl
rm
ranlib
57336
0755
edit
dl
rm
read
32
0755
edit
dl
rm
readelf
683296
0755
edit
dl
rm
readlink
40456
0755
edit
dl
rm
realpath
40536
0755
edit
dl
rm
recode-sr-latin
15496
0755
edit
dl
rm
red
92
0755
edit
dl
rm
rename
23784
0755
edit
dl
rm
renew-dummy-cert
729
0755
edit
dl
rm
renice
15528
0755
edit
dl
rm
repo-graph
3690
0755
edit
dl
rm
repoclosure
3690
0755
edit
dl
rm
repodiff
3690
0755
edit
dl
rm
repomanage
3690
0755
edit
dl
rm
repoquery
3690
0755
edit
dl
rm
reposync
3690
0755
edit
dl
rm
repotrack
3690
0755
edit
dl
rm
rescan-scsi-bus.sh
39002
0755
edit
dl
rm
reset
27992
0755
edit
dl
rm
resizecons
28032
0755
edit
dl
rm
rev
15520
0755
edit
dl
rm
rm
61432
0755
edit
dl
rm
rmdir
44464
0755
edit
dl
rm
rnano
354504
0755
edit
dl
rm
rpcbind
61328
0755
edit
dl
rm
rpcinfo
36432
0755
edit
dl
rm
rpm
24200
0755
edit
dl
rm
rpm2archive
23880
0755
edit
dl
rm
rpm2cpio
15480
0755
edit
dl
rm
rpmdb
20216
0755
edit
dl
rm
rpmkeys
15968
0755
edit
dl
rm
rpmquery
24200
0755
edit
dl
rm
rpmverify
24200
0755
edit
dl
rm
rsync
588568
0755
edit
dl
rm
rsync-ssl
5132
0755
edit
dl
rm
run-parts
1987
0755
edit
dl
rm
run-with-aspell
89
0755
edit
dl
rm
runcon
36312
0755
edit
dl
rm
rvi
1452256
0755
edit
dl
rm
rview
1452256
0755
edit
dl
rm
s-nail
1037568
0755
edit
dl
rm
sadf
469856
0755
edit
dl
rm
sar
138928
0755
edit
dl
rm
sccmap
23928
0755
edit
dl
rm
scl
40496
0755
edit
dl
rm
scl_enabled
262
0755
edit
dl
rm
scl_source
1929
0755
edit
dl
rm
scp
136104
0755
edit
dl
rm
script
52816
0755
edit
dl
rm
scriptlive
44520
0755
edit
dl
rm
scriptreplay
36144
0755
edit
dl
rm
scsi-rescan
39002
0755
edit
dl
rm
scsi_logging_level
8588
0755
edit
dl
rm
scsi_mandat
3606
0755
edit
dl
rm
scsi_readcap
1331
0755
edit
dl
rm
scsi_ready
1125
0755
edit
dl
rm
scsi_satl
3834
0755
edit
dl
rm
scsi_start
1289
0755
edit
dl
rm
scsi_stop
1478
0755
edit
dl
rm
scsi_temperature
940
0755
edit
dl
rm
sdiff
45264
0755
edit
dl
rm
secon
28928
0755
edit
dl
rm
sed
115544
0755
edit
dl
rm
sedismod
295952
0755
edit
dl
rm
sedispol
225208
0755
edit
dl
rm
semodule_expand
15480
0755
edit
dl
rm
semodule_link
15496
0755
edit
dl
rm
semodule_package
19624
0755
edit
dl
rm
semodule_unpackage
15488
0755
edit
dl
rm
seq
48736
0755
edit
dl
rm
sestatus
23680
0755
edit
dl
rm
setarch
28136
0755
edit
dl
rm
setfacl
44416
0755
edit
dl
rm
setfattr
27864
0755
edit
dl
rm
setfont
52880
0755
edit
dl
rm
setkeycodes
15568
0755
edit
dl
rm
setleds
19736
0755
edit
dl
rm
setmetamode
15672
0755
edit
dl
rm
setpriv
40288
0755
edit
dl
rm
setsid
15512
0755
edit
dl
rm
setterm
36176
0755
edit
dl
rm
setup-nsssysinit
1543
0755
edit
dl
rm
setup-nsssysinit.sh
1543
0755
edit
dl
rm
setvtrgb
15632
0755
edit
dl
rm
sfdp
15600
0755
edit
dl
rm
sftp
160864
0755
edit
dl
rm
sg
41744
4755
edit
dl
rm
sginfo
75360
0755
edit
dl
rm
sgm_dd
40288
0755
edit
dl
rm
sgp_dd
44592
0755
edit
dl
rm
sg_bg_ctl
15712
0755
edit
dl
rm
sg_compare_and_write
28432
0755
edit
dl
rm
sg_copy_results
24648
0755
edit
dl
rm
sg_dd
56712
0755
edit
dl
rm
sg_decode_sense
16040
0755
edit
dl
rm
sg_emc_trespass
15496
0755
edit
dl
rm
sg_format
41200
0755
edit
dl
rm
sg_get_config
37040
0755
edit
dl
rm
sg_get_elem_status
28304
0755
edit
dl
rm
sg_get_lba_status
24376
0755
edit
dl
rm
sg_ident
15800
0755
edit
dl
rm
sg_inq
123600
0755
edit
dl
rm
sg_logs
156568
0755
edit
dl
rm
sg_luns
24232
0755
edit
dl
rm
sg_map
19648
0755
edit
dl
rm
sg_map26
28320
0755
edit
dl
rm
sg_modes
48120
0755
edit
dl
rm
sg_opcodes
36816
0755
edit
dl
rm
sg_persist
37816
0755
edit
dl
rm
sg_prevent
15696
0755
edit
dl
rm
sg_raw
28424
0755
edit
dl
rm
sg_rbuf
24176
0755
edit
dl
rm
sg_rdac
15480
0755
edit
dl
rm
sg_read
27848
0755
edit
dl
rm
sg_readcap
24224
0755
edit
dl
rm
sg_read_attr
38424
0755
edit
dl
rm
sg_read_block_limits
15744
0755
edit
dl
rm
sg_read_buffer
29032
0755
edit
dl
rm
sg_read_long
15912
0755
edit
dl
rm
sg_reassign
15864
0755
edit
dl
rm
sg_referrals
15880
0755
edit
dl
rm
sg_rep_pip
15784
0755
edit
dl
rm
sg_rep_zones
28504
0755
edit
dl
rm
sg_requests
24168
0755
edit
dl
rm
sg_reset
15896
0755
edit
dl
rm
sg_reset_wp
15816
0755
edit
dl
rm
sg_rmsn
15704
0755
edit
dl
rm
sg_rtpg
15808
0755
edit
dl
rm
sg_safte
24112
0755
edit
dl
rm
sg_sanitize
28528
0755
edit
dl
rm
sg_sat_identify
20056
0755
edit
dl
rm
sg_sat_phy_event
20336
0755
edit
dl
rm
sg_sat_read_gplog
20040
0755
edit
dl
rm
sg_sat_set_features
20000
0755
edit
dl
rm
sg_scan
19648
0755
edit
dl
rm
sg_seek
20208
0755
edit
dl
rm
sg_senddiag
28768
0755
edit
dl
rm
sg_ses
123960
0755
edit
dl
rm
sg_ses_microcode
28928
0755
edit
dl
rm
sg_start
20192
0755
edit
dl
rm
sg_stpg
24120
0755
edit
dl
rm
sg_stream_ctl
20016
0755
edit
dl
rm
sg_sync
15880
0755
edit
dl
rm
sg_test_rwbuf
19984
0755
edit
dl
rm
sg_timestamp
24200
0755
edit
dl
rm
sg_turs
28280
0755
edit
dl
rm
sg_unmap
24192
0755
edit
dl
rm
sg_verify
20224
0755
edit
dl
rm
sg_vpd
122360
0755
edit
dl
rm
sg_write_buffer
28768
0755
edit
dl
rm
sg_write_long
15968
0755
edit
dl
rm
sg_write_same
28488
0755
edit
dl
rm
sg_write_verify
28320
0755
edit
dl
rm
sg_write_x
62032
0755
edit
dl
rm
sg_wr_mode
24120
0755
edit
dl
rm
sg_xcopy
44408
0755
edit
dl
rm
sg_zone
20112
0755
edit
dl
rm
sh
1389024
0755
edit
dl
rm
sha1hmac
36112
0755
edit
dl
rm
sha1sum
40392
0755
edit
dl
rm
sha224hmac
36112
0755
edit
dl
rm
sha224sum
40392
0755
edit
dl
rm
sha256hmac
36112
0755
edit
dl
rm
sha256sum
40392
0755
edit
dl
rm
sha384hmac
36112
0755
edit
dl
rm
sha384sum
40392
0755
edit
dl
rm
sha512hmac
36112
0755
edit
dl
rm
sha512sum
40392
0755
edit
dl
rm
shasum
9892
0755
edit
dl
rm
showconsolefont
19752
0755
edit
dl
rm
showkey
19688
0755
edit
dl
rm
shred
52920
0755
edit
dl
rm
shuf
48952
0755
edit
dl
rm
sieve-dump
38792
0755
edit
dl
rm
sieve-filter
44384
0755
edit
dl
rm
sieve-test
44312
0755
edit
dl
rm
sievec
39048
0755
edit
dl
rm
signver
40552
0755
edit
dl
rm
size
32368
0755
edit
dl
rm
skill
32152
0755
edit
dl
rm
slabinfo
43984
0755
edit
dl
rm
slabtop
23984
0755
edit
dl
rm
sleep
32224
0755
edit
dl
rm
slencheck
15488
0755
edit
dl
rm
sm3hmac
36112
0755
edit
dl
rm
snice
32152
0755
edit
dl
rm
socat
396208
0755
edit
dl
rm
soelim
32952
0755
edit
dl
rm
soelim.groff
32952
0755
edit
dl
rm
sort
115608
0755
edit
dl
rm
sotruss
4282
0755
edit
dl
rm
spell
125
0755
edit
dl
rm
splain
19411
0755
edit
dl
rm
split
53360
0755
edit
dl
rm
sprof
36296
0755
edit
dl
rm
sqlite3
1610224
0755
edit
dl
rm
ssh
917896
0755
edit
dl
rm
ssh-add
313056
0755
edit
dl
rm
ssh-agent
325328
0755
edit
dl
rm
ssh-copy-id
14174
0755
edit
dl
rm
ssh-keygen
486824
0755
edit
dl
rm
ssh-keyscan
346352
0755
edit
dl
rm
ssltap
73256
0755
edit
dl
rm
sss_ssh_authorizedkeys
23848
0755
edit
dl
rm
sss_ssh_knownhostsproxy
27952
0755
edit
dl
rm
stat
81768
0755
edit
dl
rm
stdbuf
44600
0755
edit
dl
rm
strace
2176664
0755
edit
dl
rm
strace-log-merge
1879
0755
edit
dl
rm
stream
15456
0755
edit
dl
rm
streamzip
7845
0755
edit
dl
rm
strings
32504
0755
edit
dl
rm
strip
189808
0755
edit
dl
rm
stty
77456
0755
edit
dl
rm
su
56936
4750
edit
dl
rm
sudo
297688
4111
edit
dl
rm
sudoedit
297688
4111
edit
dl
rm
sudoreplay
99888
0111
edit
dl
rm
sum
36232
0755
edit
dl
rm
sw-engine
25314096
0755
edit
dl
rm
sxpm
32336
0755
edit
dl
rm
sync
36200
0755
edit
dl
rm
systemctl
305576
0755
edit
dl
rm
systemd-analyze
206416
0755
edit
dl
rm
systemd-ask-password
19928
0755
edit
dl
rm
systemd-cat
19728
0755
edit
dl
rm
systemd-cgls
24032
0755
edit
dl
rm
systemd-cgtop
40360
0755
edit
dl
rm
systemd-creds
44856
0755
edit
dl
rm
systemd-cryptenroll
73808
0755
edit
dl
rm
systemd-delta
27968
0755
edit
dl
rm
systemd-detect-virt
19720
0755
edit
dl
rm
systemd-dissect
48928
0755
edit
dl
rm
systemd-escape
23816
0755
edit
dl
rm
systemd-firstboot
57432
0755
edit
dl
rm
systemd-hwdb
15648
0755
edit
dl
rm
systemd-id128
28032
0755
edit
dl
rm
systemd-inhibit
23872
0755
edit
dl
rm
systemd-machine-id-setup
20016
0755
edit
dl
rm
systemd-mount
61472
0755
edit
dl
rm
systemd-notify
23872
0755
edit
dl
rm
systemd-path
19720
0755
edit
dl
rm
systemd-repart
173328
0755
edit
dl
rm
systemd-run
65560
0755
edit
dl
rm
systemd-socket-activate
28008
0755
edit
dl
rm
systemd-stdio-bridge
23824
0755
edit
dl
rm
systemd-sysext
48904
0755
edit
dl
rm
systemd-sysusers
74088
0755
edit
dl
rm
systemd-tmpfiles
127528
0755
edit
dl
rm
systemd-tty-ask-password-agent
40312
0755
edit
dl
rm
systemd-umount
61472
0755
edit
dl
rm
tabs
19624
0755
edit
dl
rm
tac
102808
0755
edit
dl
rm
tail
69536
0755
edit
dl
rm
tapestat
28024
0755
edit
dl
rm
tar
534824
0755
edit
dl
rm
taskset
23784
0755
edit
dl
rm
tbl
134000
0755
edit
dl
rm
tclsh
16064
0755
edit
dl
rm
tclsh8.6
16064
0755
edit
dl
rm
tcptraceroute
1589
0755
edit
dl
rm
tdspool
264048
0755
edit
dl
rm
team2bond
16138
0755
edit
dl
rm
teamd
170592
0755
edit
dl
rm
teamdctl
38008
0755
edit
dl
rm
teamnl
23816
0755
edit
dl
rm
tee
36344
0755
edit
dl
rm
test
44664
0755
edit
dl
rm
tic
89896
0755
edit
dl
rm
timedatectl
48808
0755
edit
dl
rm
timeout
36848
0755
edit
dl
rm
tload
19800
0755
edit
dl
rm
tmon
43504
0755
edit
dl
rm
tmpwatch
36896
0755
edit
dl
rm
toe
23784
0755
edit
dl
rm
top
135448
0755
edit
dl
rm
touch
94048
0755
edit
dl
rm
tput
27904
0755
edit
dl
rm
tr
44728
0755
edit
dl
rm
tracepath
19680
0755
edit
dl
rm
traceroute
79144
0755
edit
dl
rm
traceroute6
79144
0755
edit
dl
rm
tracker3
625744
0755
edit
dl
rm
tred
15720
0755
edit
dl
rm
troff
749640
0755
edit
dl
rm
true
27936
0755
edit
dl
rm
truncate
36328
0755
edit
dl
rm
trust
275336
0755
edit
dl
rm
tset
27992
0755
edit
dl
rm
tsort
48744
0755
edit
dl
rm
tsql
259840
0755
edit
dl
rm
tty
32224
0755
edit
dl
rm
turbostat
172608
0755
edit
dl
rm
twopi
15600
0755
edit
dl
rm
type
32
0755
edit
dl
rm
tzselect
15352
0755
edit
dl
rm
uapi
3478112
0755
edit
dl
rm
udevadm
601960
0755
edit
dl
rm
ul
23816
0755
edit
dl
rm
ulimit
34
0755
edit
dl
rm
ulockmgr_server
19840
0755
edit
dl
rm
umask
33
0755
edit
dl
rm
umount
36112
4755
edit
dl
rm
unalias
35
0755
edit
dl
rm
uname
32232
0755
edit
dl
rm
uname26
28136
0755
edit
dl
rm
unexpand
40480
0755
edit
dl
rm
unflatten
15736
0755
edit
dl
rm
unicode_start
2633
0755
edit
dl
rm
unicode_stop
367
0755
edit
dl
rm
uniq
44680
0755
edit
dl
rm
unlink
32224
0755
edit
dl
rm
unpigz
136024
0755
edit
dl
rm
unshare
32312
0755
edit
dl
rm
unxz
86976
0755
edit
dl
rm
unzip
200688
0755
edit
dl
rm
unzipsfx
89808
0755
edit
dl
rm
update-ca-trust
4466
0755
edit
dl
rm
update-crypto-policies
87
0755
edit
dl
rm
update-gtk-immodules
316
0755
edit
dl
rm
update-mime-database
61304
0755
edit
dl
rm
upower
24448
0755
edit
dl
rm
uptime
15656
0755
edit
dl
rm
users
32256
0755
edit
dl
rm
usleep
15656
0755
edit
dl
rm
utmpdump
23768
0755
edit
dl
rm
uuidgen
19616
0755
edit
dl
rm
uuidparse
23768
0755
edit
dl
rm
vdir
140752
0755
edit
dl
rm
VGAuthService
135712
0755
edit
dl
rm
vi
1452256
0755
edit
dl
rm
view
146
0755
edit
dl
rm
vimdot
1086
0755
edit
dl
rm
vlock
24016
0755
edit
dl
rm
vm-support
12879
0755
edit
dl
rm
vmhgfs-fuse
49360
0755
edit
dl
rm
vmstat
40360
0755
edit
dl
rm
vmtoolsd
82192
0755
edit
dl
rm
vmware-alias-import
87016
0755
edit
dl
rm
vmware-checkvm
15568
0755
edit
dl
rm
vmware-hgfsclient
15640
0755
edit
dl
rm
vmware-namespace-cmd
23776
0755
edit
dl
rm
vmware-rpctool
19840
0755
edit
dl
rm
vmware-toolbox-cmd
61288
0755
edit
dl
rm
vmware-vgauth-cmd
19632
0755
edit
dl
rm
vmware-xferlogs
34240
0755
edit
dl
rm
w
23928
0755
edit
dl
rm
wait
32
0755
edit
dl
rm
wall
23784
0755
edit
dl
rm
watch
28536
0755
edit
dl
rm
watchgnupg
23760
0755
edit
dl
rm
wc
44576
0755
edit
dl
rm
wdctl
32080
0755
edit
dl
rm
wget
533720
0755
edit
dl
rm
whatis
49688
0755
edit
dl
rm
whatis.man-db
49688
0755
edit
dl
rm
whereis
32608
0755
edit
dl
rm
which
28560
0755
edit
dl
rm
whiptail
32696
0755
edit
dl
rm
who
52832
0755
edit
dl
rm
whoami
32224
0755
edit
dl
rm
wireplumber
24192
0755
edit
dl
rm
wmf2eps
20192
0755
edit
dl
rm
wmf2fig
20288
0755
edit
dl
rm
wmf2gd
16192
0755
edit
dl
rm
wmf2svg
20296
0755
edit
dl
rm
wmf2x
16080
0755
edit
dl
rm
word-list-compress
16080
0755
edit
dl
rm
wpctl
73760
0755
edit
dl
rm
wpexec
20072
0755
edit
dl
rm
write
23800
2755
edit
dl
rm
x86_64
28136
0755
edit
dl
rm
x86_64-redhat-linux-c++
1097224
0755
edit
dl
rm
x86_64-redhat-linux-g++
1097224
0755
edit
dl
rm
x86_64-redhat-linux-gcc
1093128
0755
edit
dl
rm
x86_64-redhat-linux-gcc-11
1093128
0755
edit
dl
rm
x86_64-redhat-linux-gnu-pkg-config
829
0755
edit
dl
rm
x86_energy_perf_policy
39656
0755
edit
dl
rm
xargs
65632
0755
edit
dl
rm
xb-tool
32224
0755
edit
dl
rm
xdg-dbus-proxy
57896
0755
edit
dl
rm
xgettext
303824
0755
edit
dl
rm
xml2-config
1877
0755
edit
dl
rm
xmlcatalog
23712
0755
edit
dl
rm
xmllint
82488
0755
edit
dl
rm
xmlsec1
73088
0755
edit
dl
rm
xmlwf
40576
0755
edit
dl
rm
xslt-config
2639
0755
edit
dl
rm
xsltproc
31984
0755
edit
dl
rm
xsubpp
5080
0755
edit
dl
rm
xz
86976
0755
edit
dl
rm
xzcat
86976
0755
edit
dl
rm
xzcmp
6637
0755
edit
dl
rm
xzdec
16232
0755
edit
dl
rm
xzdiff
6637
0755
edit
dl
rm
xzegrep
5908
0755
edit
dl
rm
xzfgrep
5908
0755
edit
dl
rm
xzgrep
5908
0755
edit
dl
rm
xzless
1803
0755
edit
dl
rm
xzmore
2166
0755
edit
dl
rm
yat2m
41000
0755
edit
dl
rm
yes
32064
0755
edit
dl
rm
ypdomainname
24408
0755
edit
dl
rm
yum
2094
0755
edit
dl
rm
yum-builddep
3690
0755
edit
dl
rm
yum-config-manager
3690
0755
edit
dl
rm
yum-debug-dump
3690
0755
edit
dl
rm
yum-debug-restore
3690
0755
edit
dl
rm
yum-groups-manager
3690
0755
edit
dl
rm
yumdownloader
3690
0755
edit
dl
rm
zcat
1988
0755
edit
dl
rm
zcmp
1682
0755
edit
dl
rm
zdiff
6451
0755
edit
dl
rm
zdump
28000
0755
edit
dl
rm
zegrep
33
0755
edit
dl
rm
zfgrep
33
0755
edit
dl
rm
zforce
2085
0755
edit
dl
rm
zgrep
8116
0755
edit
dl
rm
zip
226400
0755
edit
dl
rm
zipcloak
77512
0755
edit
dl
rm
zipdetails
59969
0755
edit
dl
rm
zipgrep
2957
0755
edit
dl
rm
zipinfo
200688
0755
edit
dl
rm
zipnote
69232
0755
edit
dl
rm
zipsplit
65104
0755
edit
dl
rm
zless
2210
0755
edit
dl
rm
zlib_decompress
117880
0755
edit
dl
rm
zmore
1846
0755
edit
dl
rm
znew
4581
0755
edit
dl
rm
zone2json
1410928
0755
edit
dl
rm
zone2sql
1435536
0755
edit
dl
rm
zsoelim
32952
0755
edit
dl
rm
[
52872
0755
edit
dl
rm
Edit:
/usr/bin/kvm_stat
(64427B)
#! /usr/bin/python3 # SPDX-License-Identifier: GPL-2.0-only # # top-like utility for displaying kvm statistics # # Copyright 2006-2008 Qumranet Technologies # Copyright 2008-2011 Red Hat, Inc. # # Authors: # Avi Kivity <avi@redhat.com> # """The kvm_stat module outputs statistics about running KVM VMs Three different ways of output formatting are available: - as a top-like text ui - in a key -> value format - in an all keys, all values format The data is sampled from the KVM's debugfs entries and its perf events. """ from __future__ import print_function import curses import sys import locale import os import time import argparse import ctypes import fcntl import resource import struct import re import subprocess import signal from collections import defaultdict, namedtuple from functools import reduce from datetime import datetime VMX_EXIT_REASONS = { 'EXCEPTION_NMI': 0, 'EXTERNAL_INTERRUPT': 1, 'TRIPLE_FAULT': 2, 'INIT_SIGNAL': 3, 'SIPI_SIGNAL': 4, 'INTERRUPT_WINDOW': 7, 'NMI_WINDOW': 8, 'TASK_SWITCH': 9, 'CPUID': 10, 'HLT': 12, 'INVD': 13, 'INVLPG': 14, 'RDPMC': 15, 'RDTSC': 16, 'VMCALL': 18, 'VMCLEAR': 19, 'VMLAUNCH': 20, 'VMPTRLD': 21, 'VMPTRST': 22, 'VMREAD': 23, 'VMRESUME': 24, 'VMWRITE': 25, 'VMOFF': 26, 'VMON': 27, 'CR_ACCESS': 28, 'DR_ACCESS': 29, 'IO_INSTRUCTION': 30, 'MSR_READ': 31, 'MSR_WRITE': 32, 'INVALID_STATE': 33, 'MSR_LOAD_FAIL': 34, 'MWAIT_INSTRUCTION': 36, 'MONITOR_TRAP_FLAG': 37, 'MONITOR_INSTRUCTION': 39, 'PAUSE_INSTRUCTION': 40, 'MCE_DURING_VMENTRY': 41, 'TPR_BELOW_THRESHOLD': 43, 'APIC_ACCESS': 44, 'EOI_INDUCED': 45, 'GDTR_IDTR': 46, 'LDTR_TR': 47, 'EPT_VIOLATION': 48, 'EPT_MISCONFIG': 49, 'INVEPT': 50, 'RDTSCP': 51, 'PREEMPTION_TIMER': 52, 'INVVPID': 53, 'WBINVD': 54, 'XSETBV': 55, 'APIC_WRITE': 56, 'RDRAND': 57, 'INVPCID': 58, 'VMFUNC': 59, 'ENCLS': 60, 'RDSEED': 61, 'PML_FULL': 62, 'XSAVES': 63, 'XRSTORS': 64, 'UMWAIT': 67, 'TPAUSE': 68, 'BUS_LOCK': 74, 'NOTIFY': 75, } SVM_EXIT_REASONS = { 'READ_CR0': 0x000, 'READ_CR2': 0x002, 'READ_CR3': 0x003, 'READ_CR4': 0x004, 'READ_CR8': 0x008, 'WRITE_CR0': 0x010, 'WRITE_CR2': 0x012, 'WRITE_CR3': 0x013, 'WRITE_CR4': 0x014, 'WRITE_CR8': 0x018, 'READ_DR0': 0x020, 'READ_DR1': 0x021, 'READ_DR2': 0x022, 'READ_DR3': 0x023, 'READ_DR4': 0x024, 'READ_DR5': 0x025, 'READ_DR6': 0x026, 'READ_DR7': 0x027, 'WRITE_DR0': 0x030, 'WRITE_DR1': 0x031, 'WRITE_DR2': 0x032, 'WRITE_DR3': 0x033, 'WRITE_DR4': 0x034, 'WRITE_DR5': 0x035, 'WRITE_DR6': 0x036, 'WRITE_DR7': 0x037, 'EXCP_BASE': 0x040, 'LAST_EXCP': 0x05f, 'INTR': 0x060, 'NMI': 0x061, 'SMI': 0x062, 'INIT': 0x063, 'VINTR': 0x064, 'CR0_SEL_WRITE': 0x065, 'IDTR_READ': 0x066, 'GDTR_READ': 0x067, 'LDTR_READ': 0x068, 'TR_READ': 0x069, 'IDTR_WRITE': 0x06a, 'GDTR_WRITE': 0x06b, 'LDTR_WRITE': 0x06c, 'TR_WRITE': 0x06d, 'RDTSC': 0x06e, 'RDPMC': 0x06f, 'PUSHF': 0x070, 'POPF': 0x071, 'CPUID': 0x072, 'RSM': 0x073, 'IRET': 0x074, 'SWINT': 0x075, 'INVD': 0x076, 'PAUSE': 0x077, 'HLT': 0x078, 'INVLPG': 0x079, 'INVLPGA': 0x07a, 'IOIO': 0x07b, 'MSR': 0x07c, 'TASK_SWITCH': 0x07d, 'FERR_FREEZE': 0x07e, 'SHUTDOWN': 0x07f, 'VMRUN': 0x080, 'VMMCALL': 0x081, 'VMLOAD': 0x082, 'VMSAVE': 0x083, 'STGI': 0x084, 'CLGI': 0x085, 'SKINIT': 0x086, 'RDTSCP': 0x087, 'ICEBP': 0x088, 'WBINVD': 0x089, 'MONITOR': 0x08a, 'MWAIT': 0x08b, 'MWAIT_COND': 0x08c, 'XSETBV': 0x08d, 'RDPRU': 0x08e, 'EFER_WRITE_TRAP': 0x08f, 'CR0_WRITE_TRAP': 0x090, 'CR1_WRITE_TRAP': 0x091, 'CR2_WRITE_TRAP': 0x092, 'CR3_WRITE_TRAP': 0x093, 'CR4_WRITE_TRAP': 0x094, 'CR5_WRITE_TRAP': 0x095, 'CR6_WRITE_TRAP': 0x096, 'CR7_WRITE_TRAP': 0x097, 'CR8_WRITE_TRAP': 0x098, 'CR9_WRITE_TRAP': 0x099, 'CR10_WRITE_TRAP': 0x09a, 'CR11_WRITE_TRAP': 0x09b, 'CR12_WRITE_TRAP': 0x09c, 'CR13_WRITE_TRAP': 0x09d, 'CR14_WRITE_TRAP': 0x09e, 'CR15_WRITE_TRAP': 0x09f, 'INVPCID': 0x0a2, 'NPF': 0x400, 'AVIC_INCOMPLETE_IPI': 0x401, 'AVIC_UNACCELERATED_ACCESS': 0x402, 'VMGEXIT': 0x403, } # EC definition of HSR (from arch/arm64/include/asm/esr.h) AARCH64_EXIT_REASONS = { 'UNKNOWN': 0x00, 'WFx': 0x01, 'CP15_32': 0x03, 'CP15_64': 0x04, 'CP14_MR': 0x05, 'CP14_LS': 0x06, 'FP_ASIMD': 0x07, 'CP10_ID': 0x08, 'PAC': 0x09, 'CP14_64': 0x0C, 'BTI': 0x0D, 'ILL': 0x0E, 'SVC32': 0x11, 'HVC32': 0x12, 'SMC32': 0x13, 'SVC64': 0x15, 'HVC64': 0x16, 'SMC64': 0x17, 'SYS64': 0x18, 'SVE': 0x19, 'ERET': 0x1A, 'FPAC': 0x1C, 'SME': 0x1D, 'IMP_DEF': 0x1F, 'IABT_LOW': 0x20, 'IABT_CUR': 0x21, 'PC_ALIGN': 0x22, 'DABT_LOW': 0x24, 'DABT_CUR': 0x25, 'SP_ALIGN': 0x26, 'FP_EXC32': 0x28, 'FP_EXC64': 0x2C, 'SERROR': 0x2F, 'BREAKPT_LOW': 0x30, 'BREAKPT_CUR': 0x31, 'SOFTSTP_LOW': 0x32, 'SOFTSTP_CUR': 0x33, 'WATCHPT_LOW': 0x34, 'WATCHPT_CUR': 0x35, 'BKPT32': 0x38, 'VECTOR32': 0x3A, 'BRK64': 0x3C, } # From include/uapi/linux/kvm.h, KVM_EXIT_xxx USERSPACE_EXIT_REASONS = { 'UNKNOWN': 0, 'EXCEPTION': 1, 'IO': 2, 'HYPERCALL': 3, 'DEBUG': 4, 'HLT': 5, 'MMIO': 6, 'IRQ_WINDOW_OPEN': 7, 'SHUTDOWN': 8, 'FAIL_ENTRY': 9, 'INTR': 10, 'SET_TPR': 11, 'TPR_ACCESS': 12, 'S390_SIEIC': 13, 'S390_RESET': 14, 'DCR': 15, 'NMI': 16, 'INTERNAL_ERROR': 17, 'OSI': 18, 'PAPR_HCALL': 19, 'S390_UCONTROL': 20, 'WATCHDOG': 21, 'S390_TSCH': 22, 'EPR': 23, 'SYSTEM_EVENT': 24, 'S390_STSI': 25, 'IOAPIC_EOI': 26, 'HYPERV': 27, 'ARM_NISV': 28, 'X86_RDMSR': 29, 'X86_WRMSR': 30, 'DIRTY_RING_FULL': 31, 'AP_RESET_HOLD': 32, 'X86_BUS_LOCK': 33, 'XEN': 34, 'RISCV_SBI': 35, 'RISCV_CSR': 36, 'NOTIFY': 37, } IOCTL_NUMBERS = { 'SET_FILTER': 0x40082406, 'ENABLE': 0x00002400, 'DISABLE': 0x00002401, 'RESET': 0x00002403, } signal_received = False ENCODING = locale.getpreferredencoding(False) TRACE_FILTER = re.compile(r'^[^\(]*$') class Arch(object): """Encapsulates global architecture specific data. Contains the performance event open syscall and ioctl numbers, as well as the VM exit reasons for the architecture it runs on. """ @staticmethod def get_arch(): machine = os.uname()[4] if machine.startswith('ppc'): return ArchPPC() elif machine.startswith('aarch64'): return ArchA64() elif machine.startswith('s390'): return ArchS390() else: # X86_64 for line in open('/proc/cpuinfo'): if not line.startswith('flags'): continue flags = line.split() if 'vmx' in flags: return ArchX86(VMX_EXIT_REASONS) if 'svm' in flags: return ArchX86(SVM_EXIT_REASONS) return def tracepoint_is_child(self, field): if (TRACE_FILTER.match(field)): return None return field.split('(', 1)[0] class ArchX86(Arch): def __init__(self, exit_reasons): self.sc_perf_evt_open = 298 self.ioctl_numbers = IOCTL_NUMBERS self.exit_reason_field = 'exit_reason' self.exit_reasons = exit_reasons def debugfs_is_child(self, field): """ Returns name of parent if 'field' is a child, None otherwise """ return None class ArchPPC(Arch): def __init__(self): self.sc_perf_evt_open = 319 self.ioctl_numbers = IOCTL_NUMBERS self.ioctl_numbers['ENABLE'] = 0x20002400 self.ioctl_numbers['DISABLE'] = 0x20002401 self.ioctl_numbers['RESET'] = 0x20002403 # PPC comes in 32 and 64 bit and some generated ioctl # numbers depend on the wordsize. char_ptr_size = ctypes.sizeof(ctypes.c_char_p) self.ioctl_numbers['SET_FILTER'] = 0x80002406 | char_ptr_size << 16 self.exit_reason_field = 'exit_nr' self.exit_reasons = {} def debugfs_is_child(self, field): """ Returns name of parent if 'field' is a child, None otherwise """ return None class ArchA64(Arch): def __init__(self): self.sc_perf_evt_open = 241 self.ioctl_numbers = IOCTL_NUMBERS self.exit_reason_field = 'esr_ec' self.exit_reasons = AARCH64_EXIT_REASONS def debugfs_is_child(self, field): """ Returns name of parent if 'field' is a child, None otherwise """ return None class ArchS390(Arch): def __init__(self): self.sc_perf_evt_open = 331 self.ioctl_numbers = IOCTL_NUMBERS self.exit_reason_field = None self.exit_reasons = None def debugfs_is_child(self, field): """ Returns name of parent if 'field' is a child, None otherwise """ if field.startswith('instruction_'): return 'exit_instruction' ARCH = Arch.get_arch() class perf_event_attr(ctypes.Structure): """Struct that holds the necessary data to set up a trace event. For an extensive explanation see perf_event_open(2) and include/uapi/linux/perf_event.h, struct perf_event_attr All fields that are not initialized in the constructor are 0. """ _fields_ = [('type', ctypes.c_uint32), ('size', ctypes.c_uint32), ('config', ctypes.c_uint64), ('sample_freq', ctypes.c_uint64), ('sample_type', ctypes.c_uint64), ('read_format', ctypes.c_uint64), ('flags', ctypes.c_uint64), ('wakeup_events', ctypes.c_uint32), ('bp_type', ctypes.c_uint32), ('bp_addr', ctypes.c_uint64), ('bp_len', ctypes.c_uint64), ] def __init__(self): super(self.__class__, self).__init__() self.type = PERF_TYPE_TRACEPOINT self.size = ctypes.sizeof(self) self.read_format = PERF_FORMAT_GROUP PERF_TYPE_TRACEPOINT = 2 PERF_FORMAT_GROUP = 1 << 3 class Group(object): """Represents a perf event group.""" def __init__(self): self.events = [] def add_event(self, event): self.events.append(event) def read(self): """Returns a dict with 'event name: value' for all events in the group. Values are read by reading from the file descriptor of the event that is the group leader. See perf_event_open(2) for details. Read format for the used event configuration is: struct read_format { u64 nr; /* The number of events */ struct { u64 value; /* The value of the event */ } values[nr]; }; """ length = 8 * (1 + len(self.events)) read_format = 'xxxxxxxx' + 'Q' * len(self.events) return dict(zip([event.name for event in self.events], struct.unpack(read_format, os.read(self.events[0].fd, length)))) class Event(object): """Represents a performance event and manages its life cycle.""" def __init__(self, name, group, trace_cpu, trace_pid, trace_point, trace_filter, trace_set='kvm'): self.libc = ctypes.CDLL('libc.so.6', use_errno=True) self.syscall = self.libc.syscall self.name = name self.fd = None self._setup_event(group, trace_cpu, trace_pid, trace_point, trace_filter, trace_set) def __del__(self): """Closes the event's file descriptor. As no python file object was created for the file descriptor, python will not reference count the descriptor and will not close it itself automatically, so we do it. """ if self.fd: os.close(self.fd) def _perf_event_open(self, attr, pid, cpu, group_fd, flags): """Wrapper for the sys_perf_evt_open() syscall. Used to set up performance events, returns a file descriptor or -1 on error. Attributes are: - syscall number - struct perf_event_attr * - pid or -1 to monitor all pids - cpu number or -1 to monitor all cpus - The file descriptor of the group leader or -1 to create a group. - flags """ return self.syscall(ARCH.sc_perf_evt_open, ctypes.pointer(attr), ctypes.c_int(pid), ctypes.c_int(cpu), ctypes.c_int(group_fd), ctypes.c_long(flags)) def _setup_event_attribute(self, trace_set, trace_point): """Returns an initialized ctype perf_event_attr struct.""" id_path = os.path.join(PATH_DEBUGFS_TRACING, 'events', trace_set, trace_point, 'id') event_attr = perf_event_attr() event_attr.config = int(open(id_path).read()) return event_attr def _setup_event(self, group, trace_cpu, trace_pid, trace_point, trace_filter, trace_set): """Sets up the perf event in Linux. Issues the syscall to register the event in the kernel and then sets the optional filter. """ event_attr = self._setup_event_attribute(trace_set, trace_point) # First event will be group leader. group_leader = -1 # All others have to pass the leader's descriptor instead. if group.events: group_leader = group.events[0].fd fd = self._perf_event_open(event_attr, trace_pid, trace_cpu, group_leader, 0) if fd == -1: err = ctypes.get_errno() raise OSError(err, os.strerror(err), 'while calling sys_perf_event_open().') if trace_filter: fcntl.ioctl(fd, ARCH.ioctl_numbers['SET_FILTER'], trace_filter) self.fd = fd def enable(self): """Enables the trace event in the kernel. Enabling the group leader makes reading counters from it and the events under it possible. """ fcntl.ioctl(self.fd, ARCH.ioctl_numbers['ENABLE'], 0) def disable(self): """Disables the trace event in the kernel. Disabling the group leader makes reading all counters under it impossible. """ fcntl.ioctl(self.fd, ARCH.ioctl_numbers['DISABLE'], 0) def reset(self): """Resets the count of the trace event in the kernel.""" fcntl.ioctl(self.fd, ARCH.ioctl_numbers['RESET'], 0) class Provider(object): """Encapsulates functionalities used by all providers.""" def __init__(self, pid): self.child_events = False self.pid = pid @staticmethod def is_field_wanted(fields_filter, field): """Indicate whether field is valid according to fields_filter.""" if not fields_filter: return True return re.match(fields_filter, field) is not None @staticmethod def walkdir(path): """Returns os.walk() data for specified directory. As it is only a wrapper it returns the same 3-tuple of (dirpath, dirnames, filenames). """ return next(os.walk(path)) class TracepointProvider(Provider): """Data provider for the stats class. Manages the events/groups from which it acquires its data. """ def __init__(self, pid, fields_filter): self.group_leaders = [] self.filters = self._get_filters() self.update_fields(fields_filter) super(TracepointProvider, self).__init__(pid) @staticmethod def _get_filters(): """Returns a dict of trace events, their filter ids and the values that can be filtered. Trace events can be filtered for special values by setting a filter string via an ioctl. The string normally has the format identifier==value. For each filter a new event will be created, to be able to distinguish the events. """ filters = {} filters['kvm_userspace_exit'] = ('reason', USERSPACE_EXIT_REASONS) if ARCH.exit_reason_field and ARCH.exit_reasons: filters['kvm_exit'] = (ARCH.exit_reason_field, ARCH.exit_reasons) return filters def _get_available_fields(self): """Returns a list of available events of format 'event name(filter name)'. All available events have directories under /sys/kernel/debug/tracing/events/ which export information about the specific event. Therefore, listing the dirs gives us a list of all available events. Some events like the vm exit reasons can be filtered for specific values. To take account for that, the routine below creates special fields with the following format: event name(filter name) """ path = os.path.join(PATH_DEBUGFS_TRACING, 'events', 'kvm') fields = self.walkdir(path)[1] extra = [] for field in fields: if field in self.filters: filter_name_, filter_dicts = self.filters[field] for name in filter_dicts: extra.append(field + '(' + name + ')') fields += extra return fields def update_fields(self, fields_filter): """Refresh fields, applying fields_filter""" self.fields = [field for field in self._get_available_fields() if self.is_field_wanted(fields_filter, field)] # add parents for child fields - otherwise we won't see any output! for field in self._fields: parent = ARCH.tracepoint_is_child(field) if (parent and parent not in self._fields): self.fields.append(parent) @staticmethod def _get_online_cpus(): """Returns a list of cpu id integers.""" def parse_int_list(list_string): """Returns an int list from a string of comma separated integers and integer ranges.""" integers = [] members = list_string.split(',') for member in members: if '-' not in member: integers.append(int(member)) else: int_range = member.split('-') integers.extend(range(int(int_range[0]), int(int_range[1]) + 1)) return integers with open('/sys/devices/system/cpu/online') as cpu_list: cpu_string = cpu_list.readline() return parse_int_list(cpu_string) def _setup_traces(self): """Creates all event and group objects needed to be able to retrieve data.""" fields = self._get_available_fields() if self._pid > 0: # Fetch list of all threads of the monitored pid, as qemu # starts a thread for each vcpu. path = os.path.join('/proc', str(self._pid), 'task') groupids = self.walkdir(path)[1] else: groupids = self._get_online_cpus() # The constant is needed as a buffer for python libs, std # streams and other files that the script opens. newlim = len(groupids) * len(fields) + 50 try: softlim_, hardlim = resource.getrlimit(resource.RLIMIT_NOFILE) if hardlim < newlim: # Now we need CAP_SYS_RESOURCE, to increase the hard limit. resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, newlim)) else: # Raising the soft limit is sufficient. resource.setrlimit(resource.RLIMIT_NOFILE, (newlim, hardlim)) except ValueError: sys.exit("NOFILE rlimit could not be raised to {0}".format(newlim)) for groupid in groupids: group = Group() for name in fields: tracepoint = name tracefilter = None match = re.match(r'(.*)\((.*)\)', name) if match: tracepoint, sub = match.groups() tracefilter = ('%s==%d\0' % (self.filters[tracepoint][0], self.filters[tracepoint][1][sub])) # From perf_event_open(2): # pid > 0 and cpu == -1 # This measures the specified process/thread on any CPU. # # pid == -1 and cpu >= 0 # This measures all processes/threads on the specified CPU. trace_cpu = groupid if self._pid == 0 else -1 trace_pid = int(groupid) if self._pid != 0 else -1 group.add_event(Event(name=name, group=group, trace_cpu=trace_cpu, trace_pid=trace_pid, trace_point=tracepoint, trace_filter=tracefilter)) self.group_leaders.append(group) @property def fields(self): return self._fields @fields.setter def fields(self, fields): """Enables/disables the (un)wanted events""" self._fields = fields for group in self.group_leaders: for index, event in enumerate(group.events): if event.name in fields: event.reset() event.enable() else: # Do not disable the group leader. # It would disable all of its events. if index != 0: event.disable() @property def pid(self): return self._pid @pid.setter def pid(self, pid): """Changes the monitored pid by setting new traces.""" self._pid = pid # The garbage collector will get rid of all Event/Group # objects and open files after removing the references. self.group_leaders = [] self._setup_traces() self.fields = self._fields def read(self, by_guest=0): """Returns 'event name: current value' for all enabled events.""" ret = defaultdict(int) for group in self.group_leaders: for name, val in group.read().items(): if name not in self._fields: continue parent = ARCH.tracepoint_is_child(name) if parent: name += ' ' + parent ret[name] += val return ret def reset(self): """Reset all field counters""" for group in self.group_leaders: for event in group.events: event.reset() class DebugfsProvider(Provider): """Provides data from the files that KVM creates in the kvm debugfs folder.""" def __init__(self, pid, fields_filter, include_past): self.update_fields(fields_filter) self._baseline = {} self.do_read = True self.paths = [] super(DebugfsProvider, self).__init__(pid) if include_past: self._restore() def _get_available_fields(self): """"Returns a list of available fields. The fields are all available KVM debugfs files """ exempt_list = ['halt_poll_fail_ns', 'halt_poll_success_ns', 'halt_wait_ns'] fields = [field for field in self.walkdir(PATH_DEBUGFS_KVM)[2] if field not in exempt_list] return fields def update_fields(self, fields_filter): """Refresh fields, applying fields_filter""" self._fields = [field for field in self._get_available_fields() if self.is_field_wanted(fields_filter, field)] # add parents for child fields - otherwise we won't see any output! for field in self._fields: parent = ARCH.debugfs_is_child(field) if (parent and parent not in self._fields): self.fields.append(parent) @property def fields(self): return self._fields @fields.setter def fields(self, fields): self._fields = fields self.reset() @property def pid(self): return self._pid @pid.setter def pid(self, pid): self._pid = pid if pid != 0: vms = self.walkdir(PATH_DEBUGFS_KVM)[1] if len(vms) == 0: self.do_read = False self.paths = list(filter(lambda x: "{}-".format(pid) in x, vms)) else: self.paths = [] self.do_read = True def _verify_paths(self): """Remove invalid paths""" for path in self.paths: if not os.path.exists(os.path.join(PATH_DEBUGFS_KVM, path)): self.paths.remove(path) continue def read(self, reset=0, by_guest=0): """Returns a dict with format:'file name / field -> current value'. Parameter 'reset': 0 plain read 1 reset field counts to 0 2 restore the original field counts """ results = {} # If no debugfs filtering support is available, then don't read. if not self.do_read: return results self._verify_paths() paths = self.paths if self._pid == 0: paths = [] for entry in os.walk(PATH_DEBUGFS_KVM): for dir in entry[1]: paths.append(dir) for path in paths: for field in self._fields: value = self._read_field(field, path) key = path + field if reset == 1: self._baseline[key] = value if reset == 2: self._baseline[key] = 0 if self._baseline.get(key, -1) == -1: self._baseline[key] = value parent = ARCH.debugfs_is_child(field) if parent: field = field + ' ' + parent else: if by_guest: field = key.split('-')[0] # set 'field' to 'pid' increment = value - self._baseline.get(key, 0) if field in results: results[field] += increment else: results[field] = increment return results def _read_field(self, field, path): """Returns the value of a single field from a specific VM.""" try: return int(open(os.path.join(PATH_DEBUGFS_KVM, path, field)) .read()) except IOError: return 0 def reset(self): """Reset field counters""" self._baseline = {} self.read(1) def _restore(self): """Reset field counters""" self._baseline = {} self.read(2) EventStat = namedtuple('EventStat', ['value', 'delta']) class Stats(object): """Manages the data providers and the data they provide. It is used to set filters on the provider's data and collect all provider data. """ def __init__(self, options): self.providers = self._get_providers(options) self._pid_filter = options.pid self._fields_filter = options.fields self.values = {} self._child_events = False def _get_providers(self, options): """Returns a list of data providers depending on the passed options.""" providers = [] if options.debugfs: providers.append(DebugfsProvider(options.pid, options.fields, options.debugfs_include_past)) if options.tracepoints or not providers: providers.append(TracepointProvider(options.pid, options.fields)) return providers def _update_provider_filters(self): """Propagates fields filters to providers.""" # As we reset the counters when updating the fields we can # also clear the cache of old values. self.values = {} for provider in self.providers: provider.update_fields(self._fields_filter) def reset(self): self.values = {} for provider in self.providers: provider.reset() @property def fields_filter(self): return self._fields_filter @fields_filter.setter def fields_filter(self, fields_filter): if fields_filter != self._fields_filter: self._fields_filter = fields_filter self._update_provider_filters() @property def pid_filter(self): return self._pid_filter @pid_filter.setter def pid_filter(self, pid): if pid != self._pid_filter: self._pid_filter = pid self.values = {} for provider in self.providers: provider.pid = self._pid_filter @property def child_events(self): return self._child_events @child_events.setter def child_events(self, val): self._child_events = val for provider in self.providers: provider.child_events = val def get(self, by_guest=0): """Returns a dict with field -> (value, delta to last value) of all provider data. Key formats: * plain: 'key' is event name * child-parent: 'key' is in format '<child> <parent>' * pid: 'key' is the pid of the guest, and the record contains the aggregated event data These formats are generated by the providers, and handled in class TUI. """ for provider in self.providers: new = provider.read(by_guest=by_guest) for key in new: oldval = self.values.get(key, EventStat(0, 0)).value newval = new.get(key, 0) newdelta = newval - oldval self.values[key] = EventStat(newval, newdelta) return self.values def toggle_display_guests(self, to_pid): """Toggle between collection of stats by individual event and by guest pid Events reported by DebugfsProvider change when switching to/from reading by guest values. Hence we have to remove the excess event names from self.values. """ if any(isinstance(ins, TracepointProvider) for ins in self.providers): return 1 if to_pid: for provider in self.providers: if isinstance(provider, DebugfsProvider): for key in provider.fields: if key in self.values.keys(): del self.values[key] else: oldvals = self.values.copy() for key in oldvals: if key.isdigit(): del self.values[key] # Update oldval (see get()) self.get(to_pid) return 0 DELAY_DEFAULT = 3.0 MAX_GUEST_NAME_LEN = 48 MAX_REGEX_LEN = 44 SORT_DEFAULT = 0 MIN_DELAY = 0.1 MAX_DELAY = 25.5 class Tui(object): """Instruments curses to draw a nice text ui.""" def __init__(self, stats, opts): self.stats = stats self.screen = None self._delay_initial = 0.25 self._delay_regular = opts.set_delay self._sorting = SORT_DEFAULT self._display_guests = 0 def __enter__(self): """Initialises curses for later use. Based on curses.wrapper implementation from the Python standard library.""" self.screen = curses.initscr() curses.noecho() curses.cbreak() # The try/catch works around a minor bit of # over-conscientiousness in the curses module, the error # return from C start_color() is ignorable. try: curses.start_color() except curses.error: pass # Hide cursor in extra statement as some monochrome terminals # might support hiding but not colors. try: curses.curs_set(0) except curses.error: pass curses.use_default_colors() return self def __exit__(self, *exception): """Resets the terminal to its normal state. Based on curses.wrapper implementation from the Python standard library.""" if self.screen: self.screen.keypad(0) curses.echo() curses.nocbreak() curses.endwin() @staticmethod def get_all_gnames(): """Returns a list of (pid, gname) tuples of all running guests""" res = [] try: child = subprocess.Popen(['ps', '-A', '--format', 'pid,args'], stdout=subprocess.PIPE) except: raise Exception for line in child.stdout: line = line.decode(ENCODING).lstrip().split(' ', 1) # perform a sanity check before calling the more expensive # function to possibly extract the guest name if ' -name ' in line[1]: res.append((line[0], Tui.get_gname_from_pid(line[0]))) child.stdout.close() return res def _print_all_gnames(self, row): """Print a list of all running guests along with their pids.""" self.screen.addstr(row, 2, '%8s %-60s' % ('Pid', 'Guest Name (fuzzy list, might be ' 'inaccurate!)'), curses.A_UNDERLINE) row += 1 try: for line in self.get_all_gnames(): self.screen.addstr(row, 2, '%8s %-60s' % (line[0], line[1])) row += 1 if row >= self.screen.getmaxyx()[0]: break except Exception: self.screen.addstr(row + 1, 2, 'Not available') @staticmethod def get_pid_from_gname(gname): """Fuzzy function to convert guest name to QEMU process pid. Returns a list of potential pids, can be empty if no match found. Throws an exception on processing errors. """ pids = [] for line in Tui.get_all_gnames(): if gname == line[1]: pids.append(int(line[0])) return pids @staticmethod def get_gname_from_pid(pid): """Returns the guest name for a QEMU process pid. Extracts the guest name from the QEMU comma line by processing the '-name' option. Will also handle names specified out of sequence. """ name = '' try: line = open('/proc/{}/cmdline' .format(pid), 'r').read().split('\0') parms = line[line.index('-name') + 1].split(',') while '' in parms: # commas are escaped (i.e. ',,'), hence e.g. 'foo,bar' results # in # ['foo', '', 'bar'], which we revert here idx = parms.index('') parms[idx - 1] += ',' + parms[idx + 1] del parms[idx:idx+2] # the '-name' switch allows for two ways to specify the guest name, # where the plain name overrides the name specified via 'guest=' for arg in parms: if '=' not in arg: name = arg break if arg[:6] == 'guest=': name = arg[6:] except (ValueError, IOError, IndexError): pass return name def _update_pid(self, pid): """Propagates pid selection to stats object.""" self.screen.addstr(4, 1, 'Updating pid filter...') self.screen.refresh() self.stats.pid_filter = pid def _refresh_header(self, pid=None): """Refreshes the header.""" if pid is None: pid = self.stats.pid_filter self.screen.erase() gname = self.get_gname_from_pid(pid) self._gname = gname if gname: gname = ('({})'.format(gname[:MAX_GUEST_NAME_LEN] + '...' if len(gname) > MAX_GUEST_NAME_LEN else gname)) if pid > 0: self._headline = 'kvm statistics - pid {0} {1}'.format(pid, gname) else: self._headline = 'kvm statistics - summary' self.screen.addstr(0, 0, self._headline, curses.A_BOLD) if self.stats.fields_filter: regex = self.stats.fields_filter if len(regex) > MAX_REGEX_LEN: regex = regex[:MAX_REGEX_LEN] + '...' self.screen.addstr(1, 17, 'regex filter: {0}'.format(regex)) if self._display_guests: col_name = 'Guest Name' else: col_name = 'Event' self.screen.addstr(2, 1, '%-40s %10s%7s %8s' % (col_name, 'Total', '%Total', 'CurAvg/s'), curses.A_STANDOUT) self.screen.addstr(4, 1, 'Collecting data...') self.screen.refresh() def _refresh_body(self, sleeptime): def insert_child(sorted_items, child, values, parent): num = len(sorted_items) for i in range(0, num): # only add child if parent is present if parent.startswith(sorted_items[i][0]): sorted_items.insert(i + 1, (' ' + child, values)) def get_sorted_events(self, stats): """ separate parent and child events """ if self._sorting == SORT_DEFAULT: def sortkey(pair): # sort by (delta value, overall value) v = pair[1] return (v.delta, v.value) else: def sortkey(pair): # sort by overall value v = pair[1] return v.value childs = [] sorted_items = [] # we can't rule out child events to appear prior to parents even # when sorted - separate out all children first, and add in later for key, values in sorted(stats.items(), key=sortkey, reverse=True): if values == (0, 0): continue if key.find(' ') != -1: if not self.stats.child_events: continue childs.insert(0, (key, values)) else: sorted_items.append((key, values)) if self.stats.child_events: for key, values in childs: (child, parent) = key.split(' ') insert_child(sorted_items, child, values, parent) return sorted_items if not self._is_running_guest(self.stats.pid_filter): if self._gname: try: # ...to identify the guest by name in case it's back pids = self.get_pid_from_gname(self._gname) if len(pids) == 1: self._refresh_header(pids[0]) self._update_pid(pids[0]) return except: pass self._display_guest_dead() # leave final data on screen return row = 3 self.screen.move(row, 0) self.screen.clrtobot() stats = self.stats.get(self._display_guests) total = 0. ctotal = 0. for key, values in stats.items(): if self._display_guests: if self.get_gname_from_pid(key): total += values.value continue if not key.find(' ') != -1: total += values.value else: ctotal += values.value if total == 0.: # we don't have any fields, or all non-child events are filtered total = ctotal # print events tavg = 0 tcur = 0 guest_removed = False for key, values in get_sorted_events(self, stats): if row >= self.screen.getmaxyx()[0] - 1 or values == (0, 0): break if self._display_guests: key = self.get_gname_from_pid(key) if not key: continue cur = int(round(values.delta / sleeptime)) if values.delta else 0 if cur < 0: guest_removed = True continue if key[0] != ' ': if values.delta: tcur += values.delta ptotal = values.value ltotal = total else: ltotal = ptotal self.screen.addstr(row, 1, '%-40s %10d%7.1f %8s' % (key, values.value, values.value * 100 / float(ltotal), cur)) row += 1 if row == 3: if guest_removed: self.screen.addstr(4, 1, 'Guest removed, updating...') else: self.screen.addstr(4, 1, 'No matching events reported yet') if row > 4: tavg = int(round(tcur / sleeptime)) if tcur > 0 else '' self.screen.addstr(row, 1, '%-40s %10d %8s' % ('Total', total, tavg), curses.A_BOLD) self.screen.refresh() def _display_guest_dead(self): marker = ' Guest is DEAD ' y = min(len(self._headline), 80 - len(marker)) self.screen.addstr(0, y, marker, curses.A_BLINK | curses.A_STANDOUT) def _show_msg(self, text): """Display message centered text and exit on key press""" hint = 'Press any key to continue' curses.cbreak() self.screen.erase() (x, term_width) = self.screen.getmaxyx() row = 2 for line in text: start = (term_width - len(line)) // 2 self.screen.addstr(row, start, line) row += 1 self.screen.addstr(row + 1, (term_width - len(hint)) // 2, hint, curses.A_STANDOUT) self.screen.getkey() def _show_help_interactive(self): """Display help with list of interactive commands""" msg = (' b toggle events by guests (debugfs only, honors' ' filters)', ' c clear filter', ' f filter by regular expression', ' g filter by guest name/PID', ' h display interactive commands reference', ' o toggle sorting order (Total vs CurAvg/s)', ' p filter by guest name/PID', ' q quit', ' r reset stats', ' s set delay between refreshs (value range: ' '%s-%s secs)' % (MIN_DELAY, MAX_DELAY), ' x toggle reporting of stats for individual child trace' ' events', 'Any other key refreshes statistics immediately') curses.cbreak() self.screen.erase() self.screen.addstr(0, 0, "Interactive commands reference", curses.A_BOLD) self.screen.addstr(2, 0, "Press any key to exit", curses.A_STANDOUT) row = 4 for line in msg: self.screen.addstr(row, 0, line) row += 1 self.screen.getkey() self._refresh_header() def _show_filter_selection(self): """Draws filter selection mask. Asks for a valid regex and sets the fields filter accordingly. """ msg = '' while True: self.screen.erase() self.screen.addstr(0, 0, "Show statistics for events matching a regex.", curses.A_BOLD) self.screen.addstr(2, 0, "Current regex: {0}" .format(self.stats.fields_filter)) self.screen.addstr(5, 0, msg) self.screen.addstr(3, 0, "New regex: ") curses.echo() regex = self.screen.getstr().decode(ENCODING) curses.noecho() if len(regex) == 0: self.stats.fields_filter = '' self._refresh_header() return try: re.compile(regex) self.stats.fields_filter = regex self._refresh_header() return except re.error: msg = '"' + regex + '": Not a valid regular expression' continue def _show_set_update_interval(self): """Draws update interval selection mask.""" msg = '' while True: self.screen.erase() self.screen.addstr(0, 0, 'Set update interval (defaults to %.1fs).' % DELAY_DEFAULT, curses.A_BOLD) self.screen.addstr(4, 0, msg) self.screen.addstr(2, 0, 'Change delay from %.1fs to ' % self._delay_regular) curses.echo() val = self.screen.getstr().decode(ENCODING) curses.noecho() try: if len(val) > 0: delay = float(val) err = is_delay_valid(delay) if err is not None: msg = err continue else: delay = DELAY_DEFAULT self._delay_regular = delay break except ValueError: msg = '"' + str(val) + '": Invalid value' self._refresh_header() def _is_running_guest(self, pid): """Check if pid is still a running process.""" if not pid: return True return os.path.isdir(os.path.join('/proc/', str(pid))) def _show_vm_selection_by_guest(self): """Draws guest selection mask. Asks for a guest name or pid until a valid guest name or '' is entered. """ msg = '' while True: self.screen.erase() self.screen.addstr(0, 0, 'Show statistics for specific guest or pid.', curses.A_BOLD) self.screen.addstr(1, 0, 'This might limit the shown data to the trace ' 'statistics.') self.screen.addstr(5, 0, msg) self._print_all_gnames(7) curses.echo() curses.curs_set(1) self.screen.addstr(3, 0, "Guest or pid [ENTER exits]: ") guest = self.screen.getstr().decode(ENCODING) curses.noecho() pid = 0 if not guest or guest == '0': break if guest.isdigit(): if not self._is_running_guest(guest): msg = '"' + guest + '": Not a running process' continue pid = int(guest) break pids = [] try: pids = self.get_pid_from_gname(guest) except: msg = '"' + guest + '": Internal error while searching, ' \ 'use pid filter instead' continue if len(pids) == 0: msg = '"' + guest + '": Not an active guest' continue if len(pids) > 1: msg = '"' + guest + '": Multiple matches found, use pid ' \ 'filter instead' continue pid = pids[0] break curses.curs_set(0) self._refresh_header(pid) self._update_pid(pid) def show_stats(self): """Refreshes the screen and processes user input.""" sleeptime = self._delay_initial self._refresh_header() start = 0.0 # result based on init value never appears on screen while True: self._refresh_body(time.time() - start) curses.halfdelay(int(sleeptime * 10)) start = time.time() sleeptime = self._delay_regular try: char = self.screen.getkey() if char == 'b': self._display_guests = not self._display_guests if self.stats.toggle_display_guests(self._display_guests): self._show_msg(['Command not available with ' 'tracepoints enabled', 'Restart with ' 'debugfs only (see option \'-d\') and ' 'try again!']) self._display_guests = not self._display_guests self._refresh_header() if char == 'c': self.stats.fields_filter = '' self._refresh_header(0) self._update_pid(0) if char == 'f': curses.curs_set(1) self._show_filter_selection() curses.curs_set(0) sleeptime = self._delay_initial if char == 'g' or char == 'p': self._show_vm_selection_by_guest() sleeptime = self._delay_initial if char == 'h': self._show_help_interactive() if char == 'o': self._sorting = not self._sorting if char == 'q': break if char == 'r': self.stats.reset() if char == 's': curses.curs_set(1) self._show_set_update_interval() curses.curs_set(0) sleeptime = self._delay_initial if char == 'x': self.stats.child_events = not self.stats.child_events except KeyboardInterrupt: break except curses.error: continue def batch(stats): """Prints statistics in a key, value format.""" try: s = stats.get() time.sleep(1) s = stats.get() for key, values in sorted(s.items()): print('%-42s%10d%10d' % (key.split(' ')[0], values.value, values.delta)) except KeyboardInterrupt: pass class StdFormat(object): def __init__(self, keys): self._banner = '' for key in keys: self._banner += key.split(' ')[0] + ' ' def get_banner(self): return self._banner def get_statline(self, keys, s): res = '' for key in keys: res += ' %9d' % s[key].delta return res class CSVFormat(object): def __init__(self, keys): self._banner = 'timestamp' self._banner += reduce(lambda res, key: "{},{!s}".format(res, key.split(' ')[0]), keys, '') def get_banner(self): return self._banner def get_statline(self, keys, s): return reduce(lambda res, key: "{},{!s}".format(res, s[key].delta), keys, '') def log(stats, opts, frmt, keys): """Prints statistics as reiterating key block, multiple value blocks.""" global signal_received line = 0 banner_repeat = 20 f = None def do_banner(opts): nonlocal f if opts.log_to_file: if not f: try: f = open(opts.log_to_file, 'a') except (IOError, OSError): sys.exit("Error: Could not open file: %s" % opts.log_to_file) if isinstance(frmt, CSVFormat) and f.tell() != 0: return print(frmt.get_banner(), file=f or sys.stdout) def do_statline(opts, values): statline = datetime.now().strftime("%Y-%m-%d %H:%M:%S") + \ frmt.get_statline(keys, values) print(statline, file=f or sys.stdout) do_banner(opts) banner_printed = True while True: try: time.sleep(opts.set_delay) if signal_received: banner_printed = True line = 0 f.close() do_banner(opts) signal_received = False if (line % banner_repeat == 0 and not banner_printed and not (opts.log_to_file and isinstance(frmt, CSVFormat))): do_banner(opts) banner_printed = True values = stats.get() if (not opts.skip_zero_records or any(values[k].delta != 0 for k in keys)): do_statline(opts, values) line += 1 banner_printed = False except KeyboardInterrupt: break if opts.log_to_file: f.close() def handle_signal(sig, frame): global signal_received signal_received = True return def is_delay_valid(delay): """Verify delay is in valid value range.""" msg = None if delay < MIN_DELAY: msg = '"' + str(delay) + '": Delay must be >=%s' % MIN_DELAY if delay > MAX_DELAY: msg = '"' + str(delay) + '": Delay must be <=%s' % MAX_DELAY return msg def get_options(): """Returns processed program arguments.""" description_text = """ This script displays various statistics about VMs running under KVM. The statistics are gathered from the KVM debugfs entries and / or the currently available perf traces. The monitoring takes additional cpu cycles and might affect the VM's performance. Requirements: - Access to: %s %s/events/* /proc/pid/task - /proc/sys/kernel/perf_event_paranoid < 1 if user has no CAP_SYS_ADMIN and perf events are used. - CAP_SYS_RESOURCE if the hard limit is not high enough to allow the large number of files that are possibly opened. Interactive Commands: b toggle events by guests (debugfs only, honors filters) c clear filter f filter by regular expression g filter by guest name h display interactive commands reference o toggle sorting order (Total vs CurAvg/s) p filter by PID q quit r reset stats s set update interval (value range: 0.1-25.5 secs) x toggle reporting of stats for individual child trace events Press any other key to refresh statistics immediately. """ % (PATH_DEBUGFS_KVM, PATH_DEBUGFS_TRACING) class Guest_to_pid(argparse.Action): def __call__(self, parser, namespace, values, option_string=None): try: pids = Tui.get_pid_from_gname(values) except: sys.exit('Error while searching for guest "{}". Use "-p" to ' 'specify a pid instead?'.format(values)) if len(pids) == 0: sys.exit('Error: No guest by the name "{}" found' .format(values)) if len(pids) > 1: sys.exit('Error: Multiple processes found (pids: {}). Use "-p"' ' to specify the desired pid'.format(" ".join(pids))) namespace.pid = pids[0] argparser = argparse.ArgumentParser(description=description_text, formatter_class=argparse .RawTextHelpFormatter) argparser.add_argument('-1', '--once', '--batch', action='store_true', default=False, help='run in batch mode for one second', ) argparser.add_argument('-c', '--csv', action='store_true', default=False, help='log in csv format - requires option -l/-L', ) argparser.add_argument('-d', '--debugfs', action='store_true', default=False, help='retrieve statistics from debugfs', ) argparser.add_argument('-f', '--fields', default='', help='''fields to display (regex) "-f help" for a list of available events''', ) argparser.add_argument('-g', '--guest', type=str, help='restrict statistics to guest by name', action=Guest_to_pid, ) argparser.add_argument('-i', '--debugfs-include-past', action='store_true', default=False, help='include all available data on past events for' ' debugfs', ) argparser.add_argument('-l', '--log', action='store_true', default=False, help='run in logging mode (like vmstat)', ) argparser.add_argument('-L', '--log-to-file', type=str, metavar='FILE', help="like '--log', but logging to a file" ) argparser.add_argument('-p', '--pid', type=int, default=0, help='restrict statistics to pid', ) argparser.add_argument('-s', '--set-delay', type=float, default=DELAY_DEFAULT, metavar='DELAY', help='set delay between refreshs (value range: ' '%s-%s secs)' % (MIN_DELAY, MAX_DELAY), ) argparser.add_argument('-t', '--tracepoints', action='store_true', default=False, help='retrieve statistics from tracepoints', ) argparser.add_argument('-z', '--skip-zero-records', action='store_true', default=False, help='omit records with all zeros in logging mode', ) options = argparser.parse_args() if options.csv and not (options.log or options.log_to_file): sys.exit('Error: Option -c/--csv requires -l/--log') if options.skip_zero_records and not (options.log or options.log_to_file): sys.exit('Error: Option -z/--skip-zero-records requires -l/-L') try: # verify that we were passed a valid regex up front re.compile(options.fields) except re.error: sys.exit('Error: "' + options.fields + '" is not a valid regular ' 'expression') return options def check_access(options): """Exits if the current user can't access all needed directories.""" if not os.path.exists(PATH_DEBUGFS_TRACING) and (options.tracepoints or not options.debugfs): sys.stderr.write("Please enable CONFIG_TRACING in your kernel " "when using the option -t (default).\n" "If it is enabled, make {0} readable by the " "current user.\n" .format(PATH_DEBUGFS_TRACING)) if options.tracepoints: sys.exit(1) sys.stderr.write("Falling back to debugfs statistics!\n") options.debugfs = True time.sleep(5) return options def assign_globals(): global PATH_DEBUGFS_KVM global PATH_DEBUGFS_TRACING debugfs = '' for line in open('/proc/mounts'): if line.split(' ')[2] == 'debugfs': debugfs = line.split(' ')[1] break if debugfs == '': sys.stderr.write("Please make sure that CONFIG_DEBUG_FS is enabled in " "your kernel, mounted and\nreadable by the current " "user:\n" "('mount -t debugfs debugfs /sys/kernel/debug')\n") sys.exit(1) PATH_DEBUGFS_KVM = os.path.join(debugfs, 'kvm') PATH_DEBUGFS_TRACING = os.path.join(debugfs, 'tracing') if not os.path.exists(PATH_DEBUGFS_KVM): sys.stderr.write("Please make sure that CONFIG_KVM is enabled in " "your kernel and that the modules are loaded.\n") sys.exit(1) def main(): assign_globals() options = get_options() options = check_access(options) if (options.pid > 0 and not os.path.isdir(os.path.join('/proc/', str(options.pid)))): sys.stderr.write('Did you use a (unsupported) tid instead of a pid?\n') sys.exit('Specified pid does not exist.') err = is_delay_valid(options.set_delay) if err is not None: sys.exit('Error: ' + err) stats = Stats(options) if options.fields == 'help': stats.fields_filter = None event_list = [] for key in stats.get().keys(): event_list.append(key.split('(', 1)[0]) sys.stdout.write(' ' + '\n '.join(sorted(set(event_list))) + '\n') sys.exit(0) if options.log or options.log_to_file: if options.log_to_file: signal.signal(signal.SIGHUP, handle_signal) keys = sorted(stats.get().keys()) if options.csv: frmt = CSVFormat(keys) else: frmt = StdFormat(keys) log(stats, options, frmt, keys) elif not options.once: with Tui(stats, options) as tui: tui.show_stats() else: batch(stats) if __name__ == "__main__": main()
Save
cmd:
run