Linux server1.hosting4iran.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.218
Domains : 282 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
sbin /
Delete
Unzip
Name
Size
Permission
Date
Action
NetworkManager
3.41
MB
-rwxr-xr-x
2025-08-26 09:47
accessdb
12.59
KB
-rwxr-xr-x
2021-10-08 13:04
addgnupghome
3
KB
-rwxr-xr-x
2018-12-11 07:44
addpart
24.86
KB
-rwxr-xr-x
2026-02-04 20:18
adduser
148.16
KB
-rwxr-xr-x
2025-12-18 13:51
agetty
62.39
KB
-rwxr-xr-x
2026-02-04 20:18
alternatives
36.66
KB
-rwxr-xr-x
2023-10-14 22:48
anacron
40.99
KB
-rwxr-xr-x
2024-04-06 11:40
apachectl
4.69
KB
-rwxr-xr-x
2026-01-21 22:55
applygnupgdefaults
2.17
KB
-rwxr-xr-x
2017-12-18 12:28
arp
64.71
KB
-rwxr-xr-x
2020-08-30 17:47
arpd
109.52
KB
-rwxr-xr-x
2024-05-23 08:36
arping
28.74
KB
-rwxr-xr-x
2023-10-14 17:19
atd
32.63
KB
-rwxr-xr-x
2022-10-10 10:23
atrun
67
B
-rwxr-xr-x
2022-10-10 10:23
auditctl
45.04
KB
-rwxr-xr-x
2025-07-15 09:41
auditd
151.73
KB
-rwxr-xr-x
2025-07-15 09:41
augenrules
4.04
KB
-rwxr-xr-x
2025-07-15 09:41
aureport
122.35
KB
-rwxr-xr-x
2025-07-15 09:41
ausearch
130.36
KB
-rwxr-xr-x
2025-07-15 09:41
autrace
16.54
KB
-rwxr-x---
2025-07-15 09:41
avcstat
16.4
KB
-rwxr-xr-x
2026-02-10 14:26
badblocks
32.59
KB
-rwxr-xr-x
2025-10-07 07:08
biosdecode
21.45
KB
-rwxr-xr-x
2024-04-06 13:04
blkdeactivate
15.97
KB
-r-xr-xr-x
2026-01-23 07:31
blkdiscard
29.05
KB
-rwxr-xr-x
2026-02-04 20:18
blkid
98.66
KB
-rwxr-xr-x
2026-02-04 20:18
blkmapd
53.47
KB
-rwxr-xr-x
2025-06-04 10:54
blkzone
49.75
KB
-rwxr-xr-x
2026-02-04 20:18
blockdev
41.3
KB
-rwxr-xr-x
2026-02-04 20:18
bridge
158.25
KB
-rwxr-xr-x
2024-05-23 08:36
capsh
32.44
KB
-rwxr-xr-x
2024-01-10 14:34
cfdisk
98.41
KB
-rwxr-xr-x
2026-02-04 20:18
cgdisk
206.55
KB
-rwxr-xr-x
2022-10-12 10:53
chcpu
28.83
KB
-rwxr-xr-x
2026-02-04 20:18
chgpasswd
69.69
KB
-rwxr-xr-x
2025-12-18 13:51
chkconfig
45.11
KB
-rwxr-xr-x
2023-10-14 22:48
chpasswd
61.42
KB
-rwxr-xr-x
2025-12-18 13:51
chronyd
375.66
KB
-rwxr-xr-x
2024-11-05 07:47
chroot
41.45
KB
-rwxr-xr-x
2025-12-18 13:54
clock
65.22
KB
-rwxr-xr-x
2026-02-04 20:18
clockdiff
20.43
KB
-rwxr-xr-x
2023-10-14 17:19
consoletype
11.86
KB
-rwxr-xr-x
2025-11-04 09:19
convertquota
78.68
KB
-rwxr-xr-x
2021-10-09 07:08
cracklib-check
13.05
KB
-rwxr-xr-x
2019-10-12 00:47
cracklib-format
251
B
-rwxr-xr-x
2019-10-12 00:47
cracklib-packer
13.05
KB
-rwxr-xr-x
2019-10-12 00:47
cracklib-unpacker
9.03
KB
-rwxr-xr-x
2019-10-12 00:47
create-cracklib-dict
990
B
-rwxr-xr-x
2019-10-12 00:47
crond
73.94
KB
-rwxr-xr-x
2024-04-06 11:40
csf
244.32
KB
-rwx------
2025-12-28 11:53
ctrlaltdel
24.79
KB
-rwxr-xr-x
2026-02-04 20:18
ctstat
25.33
KB
-rwxr-xr-x
2024-05-23 08:36
dcb
155.04
KB
-rwxr-xr-x
2024-05-23 08:36
ddns-confgen
20.45
KB
-rwxr-xr-x
2025-11-06 07:45
debugfs
231.63
KB
-rwxr-xr-x
2025-10-07 07:08
delpart
24.86
KB
-rwxr-xr-x
2026-02-04 20:18
depmod
159.95
KB
-rwxr-xr-x
2024-04-08 09:18
devlink
215.87
KB
-rwxr-xr-x
2024-05-23 08:36
dhclient
453.68
KB
-rwxr-xr-x
2024-05-22 17:58
dhclient-script
32.86
KB
-rwxr-xr-x
2024-05-22 16:12
dmfilemapd
24.55
KB
-r-xr-xr-x
2026-01-23 07:31
dmidecode
141.8
KB
-rwxr-xr-x
2024-04-06 13:04
dmsetup
158.64
KB
-r-xr-xr-x
2026-01-23 07:31
dmstats
158.64
KB
-r-xr-xr-x
2026-01-23 07:31
dnssec-checkds
936
B
-rwxr-xr-x
2025-11-06 07:45
dnssec-coverage
938
B
-rwxr-xr-x
2025-11-06 07:45
dnssec-dsfromkey
60.84
KB
-rwxr-xr-x
2025-11-06 07:45
dnssec-importkey
60.84
KB
-rwxr-xr-x
2025-11-06 07:45
dnssec-keyfromlabel
64.76
KB
-rwxr-xr-x
2025-11-06 07:45
dnssec-keygen
72.84
KB
-rwxr-xr-x
2025-11-06 07:45
dnssec-keymgr
934
B
-rwxr-xr-x
2025-11-06 07:45
dnssec-revoke
56.74
KB
-rwxr-xr-x
2025-11-06 07:45
dnssec-settime
60.84
KB
-rwxr-xr-x
2025-11-06 07:45
dnssec-signzone
117.2
KB
-rwxr-xr-x
2025-11-06 07:45
dnssec-verify
52.84
KB
-rwxr-xr-x
2025-11-06 07:45
dosfsck
65.13
KB
-rwxr-xr-x
2019-10-12 00:48
dosfslabel
61.1
KB
-rwxr-xr-x
2019-10-12 00:48
dovecot
157.84
KB
-rwxr-xr-x
2026-02-03 19:40
dovecot_cpshutdown
3.27
KB
-rwxr-xr-x
2026-02-03 19:31
dpkg-fsys-usrunmess
12.11
KB
-rwxr-xr-x
2021-12-15 12:46
dumpe2fs
32.52
KB
-rwxr-xr-x
2025-10-07 07:08
e2freefrag
16.42
KB
-rwxr-xr-x
2025-10-07 07:08
e2fsck
328.52
KB
-rwxr-xr-x
2025-10-07 07:08
e2image
36.61
KB
-rwxr-xr-x
2025-10-07 07:08
e2label
110.63
KB
-rwxr-xr-x
2025-10-07 07:08
e2mmpstatus
32.52
KB
-rwxr-xr-x
2025-10-07 07:08
e2undo
20.38
KB
-rwxr-xr-x
2025-10-07 07:08
e4crypt
24.55
KB
-rwxr-xr-x
2025-10-07 07:08
e4defrag
28.49
KB
-rwxr-xr-x
2025-10-07 07:08
edquota
91.24
KB
-rwxr-xr-x
2021-10-09 07:08
efibootdump
20.52
KB
-rwxr-xr-x
2021-12-21 10:17
efibootmgr
41.98
KB
-rwxr-xr-x
2021-12-21 10:17
ether-wake
73.99
KB
-rwxr-xr-x
2020-08-30 17:47
ethtool
557.79
KB
-rwxr-xr-x
2022-10-08 17:27
exicyclog
11.1
KB
-rwxr-xr-x
2026-02-03 18:25
exigrep
11.44
KB
-rwxr-xr-x
2026-02-03 18:25
exim
1.53
MB
-rwsr-xr-x
2026-02-03 18:25
exim_checkaccess
4.83
KB
-rwxr-xr-x
2026-02-03 18:25
exim_dbmbuild
24.69
KB
-rwxr-xr-x
2026-02-03 18:25
exim_dumpdb
43.56
KB
-rwxr-xr-x
2026-02-03 18:25
exim_fixdb
49.05
KB
-rwxr-xr-x
2026-02-03 18:25
exim_lock
26.59
KB
-rwxr-xr-x
2026-02-03 18:25
exim_tidydb
43.78
KB
-rwxr-xr-x
2026-02-03 18:25
eximstats
149.14
KB
-rwxr-xr-x
2026-02-03 18:25
exinext
8.03
KB
-rwxr-xr-x
2026-02-03 18:25
exiqgrep
6.58
KB
-rwxr-xr-x
2026-02-03 18:25
exiqsumm
6.29
KB
-rwxr-xr-x
2026-02-03 18:25
exiwhat
4.42
KB
-rwxr-xr-x
2026-02-03 18:25
exportfs
82.38
KB
-rwxr-xr-x
2025-06-04 10:54
faillock
20.52
KB
-rwxr-xr-x
2025-12-17 18:54
fatlabel
61.1
KB
-rwxr-xr-x
2019-10-12 00:48
fcgistarter
17.11
KB
-rwxr-xr-x
2026-01-21 22:59
fdformat
33.17
KB
-rwxr-xr-x
2026-02-04 20:18
fdisk
130.91
KB
-rwxr-xr-x
2026-02-04 20:18
filefrag
16.46
KB
-rwxr-xr-x
2025-10-07 07:08
findfs
12.38
KB
-rwxr-xr-x
2026-02-04 20:18
fix-info-dir
7.84
KB
-rwxr-xr-x
2022-04-18 17:09
fixfiles
10.48
KB
-rwxr-xr-x
2024-07-02 21:04
fixparts
74.91
KB
-rwxr-xr-x
2022-10-12 10:53
fsck
53.47
KB
-rwxr-xr-x
2026-02-04 20:18
fsck.cramfs
41.41
KB
-rwxr-xr-x
2026-02-04 20:18
fsck.ext2
328.52
KB
-rwxr-xr-x
2025-10-07 07:08
fsck.ext3
328.52
KB
-rwxr-xr-x
2025-10-07 07:08
fsck.ext4
328.52
KB
-rwxr-xr-x
2025-10-07 07:08
fsck.fat
65.13
KB
-rwxr-xr-x
2019-10-12 00:48
fsck.minix
98.75
KB
-rwxr-xr-x
2026-02-04 20:18
fsck.msdos
65.13
KB
-rwxr-xr-x
2019-10-12 00:48
fsck.vfat
65.13
KB
-rwxr-xr-x
2019-10-12 00:48
fsck.xfs
1.92
KB
-rwxr-xr-x
2023-10-15 05:10
fsfreeze
16.38
KB
-rwxr-xr-x
2026-02-04 20:18
fstrim
49.6
KB
-rwxr-xr-x
2026-02-04 20:18
fuse2fs
70.39
KB
-rwxr-xr-x
2025-10-07 07:08
fuser
38.14
KB
-rwxr-xr-x
2020-11-06 14:24
g13-syshelp
189.76
KB
-rwxr-xr-x
2026-01-16 01:48
gdisk
214.46
KB
-rwxr-xr-x
2022-10-12 10:53
genhomedircon
29.27
KB
-rwxr-xr-x
2024-07-02 21:04
genhostid
11.86
KB
-rwxr-xr-x
2025-11-04 09:19
genl
121.41
KB
-rwxr-xr-x
2024-05-23 08:36
genrandom
12.38
KB
-rwxr-xr-x
2025-11-06 07:45
getcap
12.34
KB
-rwxr-xr-x
2024-01-10 14:34
getenforce
7.84
KB
-rwxr-xr-x
2026-02-10 14:26
getpcaps
12.27
KB
-rwxr-xr-x
2024-01-10 14:34
getsebool
11.87
KB
-rwxr-xr-x
2026-02-10 14:26
groupadd
95.34
KB
-rwxr-xr-x
2025-12-18 13:51
groupdel
91.09
KB
-rwxr-xr-x
2025-12-18 13:51
groupmems
61.48
KB
-rwxr-xr-x
2025-12-18 13:51
groupmod
99.38
KB
-rwxr-xr-x
2025-12-18 13:51
grpck
61.47
KB
-rwxr-xr-x
2025-12-18 13:51
grpconv
57.27
KB
-rwxr-xr-x
2025-12-18 13:51
grpunconv
57.26
KB
-rwxr-xr-x
2025-12-18 13:51
grub2-bios-setup
1.16
MB
-rwxr-xr-x
2025-10-07 08:06
grub2-get-kernel-settings
2.68
KB
-rwxr-xr-x
2025-10-07 08:06
grub2-install
1.44
MB
-rwxr-xr-x
2025-10-07 08:06
grub2-macbless
1.14
MB
-rwxr-xr-x
2025-10-07 08:06
grub2-mkconfig
8.68
KB
-rwxr-xr-x
2025-10-07 08:06
grub2-ofpathname
242.26
KB
-rwxr-xr-x
2025-10-07 08:06
grub2-probe
1.16
MB
-rwxr-xr-x
2025-10-07 08:06
grub2-reboot
3.99
KB
-rwxr-xr-x
2025-10-07 08:06
grub2-rpm-sort
279.16
KB
-rwxr-xr-x
2025-10-07 08:06
grub2-set-bootflag
16.34
KB
-rwsr-xr-x
2025-10-07 08:06
grub2-set-default
3.45
KB
-rwxr-xr-x
2025-10-07 08:06
grub2-set-password
3.05
KB
-rwxr-xr-x
2025-10-07 08:06
grub2-setpassword
3.05
KB
-rwxr-xr-x
2025-10-07 08:06
grub2-sparc64-setup
1.16
MB
-rwxr-xr-x
2025-10-07 08:06
grub2-switch-to-blscfg
8.6
KB
-rwxr-xr-x
2025-10-07 08:06
grubby
260
B
-rwxr-xr-x
2024-04-06 13:02
gss-server
24.62
KB
-rwxr-xr-x
2025-06-03 02:06
gssproxy
132.08
KB
-rwxr-xr-x
2022-10-08 08:02
halt
218.45
KB
-rwxr-xr-x
2026-01-26 09:30
hardlink
17.09
KB
-rwxr-xr-x
2019-10-15 21:49
hdparm
131.91
KB
-rwxr-xr-x
2021-10-08 19:47
htcacheclean
44.36
KB
-rwxr-xr-x
2026-01-21 22:59
httpd
1.82
KB
-rwxr-xr-x
2026-02-24 16:52
httpd_ls_bak
990.86
KB
-rwxr-xr-x
2026-01-21 22:59
httpd_ls_bak_bak
990.86
KB
-rwxr-xr-x
2025-12-08 14:49
hwclock
65.22
KB
-rwxr-xr-x
2026-02-04 20:18
iconvconfig
33.05
KB
-rwxr-xr-x
2025-12-08 09:43
ifconfig
80.86
KB
-rwxr-xr-x
2020-08-30 17:47
ifdown
2.07
KB
-rwxr-xr-x
2025-09-23 08:27
ifenslave
24.95
KB
-rwxr-xr-x
2023-10-14 17:19
ifstat
117.67
KB
-rwxr-xr-x
2024-05-23 08:36
ifup
5.33
KB
-rwxr-xr-x
2025-09-23 08:27
imunify-notifier
8.65
MB
-rwxr-xr-x
2023-03-29 18:41
init
1.54
MB
-rwxr-xr-x
2026-01-26 09:30
insmod
159.95
KB
-rwxr-xr-x
2024-04-08 09:18
install-info
50.23
KB
-rwxr-xr-x
2022-04-18 17:09
installkernel
323
B
-rwxr-xr-x
2024-04-06 13:02
intel_sdsi
15.62
KB
-rwxr-xr-x
2026-02-17 10:43
iotop
511
B
-rwxr-xr-x
2024-04-06 14:56
ip
693.3
KB
-rwxr-xr-x
2024-05-23 08:36
ip6tables
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
ip6tables-apply
6.89
KB
-rwxr-xr-x
2024-04-02 18:37
ip6tables-restore
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
ip6tables-restore-translate
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
ip6tables-save
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
ip6tables-translate
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
ipmaddr
21
KB
-rwxr-xr-x
2020-08-30 17:47
iptables
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
iptables-apply
6.89
KB
-rwxr-xr-x
2024-04-02 18:37
iptables-restore
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
iptables-restore-translate
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
iptables-save
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
iptables-translate
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
iptunnel
25
KB
-rwxr-xr-x
2020-08-30 17:47
irqbalance
62.28
KB
-rwxr-xr-x
2023-10-14 17:57
irqbalance-ui
41.29
KB
-rwxr-xr-x
2023-10-14 17:57
isc-hmac-fixup
11.85
KB
-rwxr-xr-x
2025-11-06 07:45
kexec
194.98
KB
-rwxr-xr-x
2026-02-10 17:24
key.dns_resolver
24.52
KB
-rwxr-xr-x
2021-10-08 13:50
kpartx
49.05
KB
-rwxr-xr-x
2025-04-22 01:55
lchage
16.41
KB
-rwxr-xr-x
2024-09-24 02:24
ldattach
32.99
KB
-rwxr-xr-x
2026-02-04 20:18
ldconfig
986.09
KB
-rwxr-xr-x
2025-12-08 09:43
lfd
381.89
KB
-rwx------
2025-12-28 11:53
lgroupadd
11.88
KB
-rwxr-xr-x
2024-09-24 02:24
lgroupdel
11.88
KB
-rwxr-xr-x
2024-09-24 02:24
lgroupmod
19.88
KB
-rwxr-xr-x
2024-09-24 02:24
lid
16.27
KB
-rwxr-xr-x
2024-09-24 02:24
lnewusers
19.87
KB
-rwxr-xr-x
2024-09-24 02:24
lnstat
25.33
KB
-rwxr-xr-x
2024-05-23 08:36
load_policy
12.28
KB
-rwxr-xr-x
2024-07-02 21:04
logrotate
93.03
KB
-rwxr-xr-x
2023-04-02 00:29
logsave
16.41
KB
-rwxr-xr-x
2025-10-07 07:08
losetup
90.59
KB
-rwxr-xr-x
2026-02-04 20:18
lpasswd
20.35
KB
-rwxr-xr-x
2024-09-24 02:24
lshw
969.55
KB
-rwxr-xr-x
2025-10-07 08:50
lsmod
159.95
KB
-rwxr-xr-x
2024-04-08 09:18
luseradd
19.88
KB
-rwxr-xr-x
2024-09-24 02:24
luserdel
15.88
KB
-rwxr-xr-x
2024-09-24 02:24
lusermod
19.88
KB
-rwxr-xr-x
2024-09-24 02:24
lwresd
840.92
KB
-rwxr-xr-x
2025-11-06 07:45
makedumpfile
425.19
KB
-rwxr-xr-x
2026-02-10 17:24
matchpathcon
12.37
KB
-rwxr-xr-x
2026-02-10 14:26
mdadm
620.75
KB
-rwxr-xr-x
2025-11-05 10:54
mdmon
379.51
KB
-rwxr-xr-x
2025-11-05 10:54
mii-diag
25.4
KB
-rwxr-xr-x
2020-08-30 17:47
mii-tool
21.03
KB
-rwxr-xr-x
2020-08-30 17:47
mkdict
251
B
-rwxr-xr-x
2019-10-12 00:47
mkdosfs
39.07
KB
-rwxr-xr-x
2019-10-12 00:48
mkdumprd
12.68
KB
-rwxr-xr-x
2026-02-10 17:24
mke2fs
138.45
KB
-rwxr-xr-x
2025-10-07 07:08
mkfadumprd
2.23
KB
-rwxr-xr-x
2026-02-10 17:24
mkfs
16.48
KB
-rwxr-xr-x
2026-02-04 20:18
mkfs.cramfs
41.27
KB
-rwxr-xr-x
2026-02-04 20:18
mkfs.ext2
138.45
KB
-rwxr-xr-x
2025-10-07 07:08
mkfs.ext3
138.45
KB
-rwxr-xr-x
2025-10-07 07:08
mkfs.ext4
138.45
KB
-rwxr-xr-x
2025-10-07 07:08
mkfs.fat
39.07
KB
-rwxr-xr-x
2019-10-12 00:48
mkfs.minix
86.56
KB
-rwxr-xr-x
2026-02-04 20:18
mkfs.msdos
39.07
KB
-rwxr-xr-x
2019-10-12 00:48
mkfs.vfat
39.07
KB
-rwxr-xr-x
2019-10-12 00:48
mkfs.xfs
475.98
KB
-rwxr-xr-x
2023-10-15 05:11
mkhomedir_helper
24.44
KB
-rwxr-xr-x
2025-12-17 18:54
mklost+found
11.86
KB
-rwxr-xr-x
2025-10-07 07:08
mksquashfs
186.83
KB
-rwxr-xr-x
2024-04-06 14:17
mkswap
86.48
KB
-rwxr-xr-x
2026-02-04 20:18
modinfo
159.95
KB
-rwxr-xr-x
2024-04-08 09:18
modprobe
159.95
KB
-rwxr-xr-x
2024-04-08 09:18
modsec-sdbm-util
25.83
KB
-rwxr-x---
2025-08-19 20:11
mount.nfs
197.24
KB
-rwsr-xr-x
2025-06-04 10:54
mount.nfs4
197.24
KB
-rwsr-xr-x
2025-06-04 10:54
mountstats
42.22
KB
-rwxr-xr-x
2025-06-04 10:53
mysqld
62.62
MB
-rwxr-xr-x
2023-10-12 18:30
named
840.92
KB
-rwxr-xr-x
2025-11-06 07:45
named-checkconf
40.79
KB
-rwxr-xr-x
2025-11-06 07:45
named-checkzone
36.63
KB
-rwxr-xr-x
2025-11-06 07:45
named-compilezone
36.63
KB
-rwxr-xr-x
2025-11-06 07:45
named-journalprint
11.85
KB
-rwxr-xr-x
2025-11-06 07:45
nameif
16.98
KB
-rwxr-xr-x
2020-08-30 17:47
newusers
107.23
KB
-rwxr-xr-x
2025-12-18 13:51
nfsconf
37.48
KB
-rwxr-xr-x
2025-06-04 10:54
nfsconvert
13.03
KB
-rwxr-xr-x
2025-06-04 10:54
nfsdcld
65.87
KB
-rwxr-xr-x
2025-06-04 10:54
nfsdclddb
10
KB
-rwxr-xr-x
2025-06-04 10:53
nfsdclnts
9.02
KB
-rwxr-xr-x
2025-06-04 10:53
nfsdcltrack
49.78
KB
-rwxr-xr-x
2025-06-04 10:54
nfsidmap
45.36
KB
-rwxr-xr-x
2025-06-04 10:54
nfsiostat
23.36
KB
-rwxr-xr-x
2025-06-04 10:53
nfsref
65.8
KB
-rwxr-xr-x
2025-06-04 10:54
nfsstat
35.52
KB
-rwxr-xr-x
2025-06-04 10:54
nft
24.41
KB
-rwxr-xr-x
2025-01-28 01:24
nologin
11.87
KB
-rwxr-xr-x
2026-02-04 20:18
nscd
156.69
KB
-rwxr-xr-x
2025-12-08 09:43
nsec3hash
12.29
KB
-rwxr-xr-x
2025-11-06 07:45
nstat
113.57
KB
-rwxr-xr-x
2024-05-23 08:36
ownership
12.4
KB
-rwxr-xr-x
2024-04-06 13:04
packer
13.05
KB
-rwxr-xr-x
2019-10-12 00:47
pam_console_apply
45.2
KB
-rwxr-xr-x
2025-12-17 18:54
pam_timestamp_check
11.87
KB
-rwsr-xr-x
2025-12-17 18:54
paperconfig
4.07
KB
-rwxr-xr-x
2019-10-12 20:09
parted
85.6
KB
-rwxr-xr-x
2021-10-08 15:43
partprobe
16.39
KB
-rwxr-xr-x
2021-10-08 15:43
partx
94.5
KB
-rwxr-xr-x
2026-02-04 20:18
pidof
16.7
KB
-rwxr-xr-x
2023-10-14 20:31
ping
66.13
KB
-rwxr-xr-x
2023-10-14 17:19
ping6
66.13
KB
-rwxr-xr-x
2023-10-14 17:19
pivot_root
12.38
KB
-rwxr-xr-x
2026-02-04 20:18
plipconfig
12.71
KB
-rwxr-xr-x
2020-08-30 17:47
poweroff
218.45
KB
-rwxr-xr-x
2026-01-26 09:30
pure-authd
19.23
KB
-rwxr-xr-x
2025-06-06 14:16
pure-certd
19.14
KB
-rwxr-xr-x
2025-06-06 14:16
pure-config.pl
4.64
KB
-rwxr-xr-x
2025-06-06 14:14
pure-ftpd
182.07
KB
-rwxr-xr-x
2025-06-06 14:16
pure-ftpwho
26.83
KB
-rwxr-xr-x
2025-06-06 14:16
pure-mrtginfo
11.16
KB
-rwxr-xr-x
2025-06-06 14:16
pure-quotacheck
18.82
KB
-rwxr-xr-x
2025-06-06 14:16
pure-uploadscript
19.08
KB
-rwxr-xr-x
2025-06-06 14:16
pwck
57.27
KB
-rwxr-xr-x
2025-12-18 13:51
pwconv
53.1
KB
-rwxr-xr-x
2025-12-18 13:51
pwhistory_helper
20.44
KB
-rwxr-xr-x
2025-12-17 18:54
pwunconv
53.13
KB
-rwxr-xr-x
2025-12-18 13:51
quot
78.67
KB
-rwxr-xr-x
2021-10-09 07:08
quotacheck
115.75
KB
-rwxr-xr-x
2021-10-09 07:08
quotaoff
83.16
KB
-rwxr-xr-x
2021-10-09 07:08
quotaon
83.16
KB
-rwxr-xr-x
2021-10-09 07:08
quotastats
16.54
KB
-rwxr-xr-x
2021-10-09 07:08
raid-check
3.7
KB
-rwxr-xr-x
2025-11-05 07:57
rdisc
24.55
KB
-rwxr-xr-x
2023-10-14 17:19
rdma
187.38
KB
-rwxr-xr-x
2024-05-23 08:36
readprofile
20.55
KB
-rwxr-xr-x
2026-02-04 20:18
reboot
218.45
KB
-rwxr-xr-x
2026-01-26 09:30
repquota
83.24
KB
-rwxr-xr-x
2021-10-09 07:08
request-key
24.38
KB
-rwxr-xr-x
2021-10-08 13:50
resize2fs
64.91
KB
-rwxr-xr-x
2025-10-07 07:08
resizepart
41.57
KB
-rwxr-xr-x
2026-02-04 20:18
resolvconf
195.75
KB
-rwxr-xr-x
2026-01-26 09:30
restorecon
20.53
KB
-rwxr-xr-x
2024-07-02 21:04
restorecon_xattr
16.41
KB
-rwxr-xr-x
2024-07-02 21:04
rfkill
53.46
KB
-rwxr-xr-x
2026-02-04 20:18
rmmod
159.95
KB
-rwxr-xr-x
2024-04-08 09:18
rndc
36.53
KB
-rwxr-xr-x
2025-11-06 07:45
rndc-confgen
20.45
KB
-rwxr-xr-x
2025-11-06 07:45
rotatelogs
30.51
KB
-rwxr-xr-x
2026-01-21 22:59
route
67.63
KB
-rwxr-xr-x
2020-08-30 17:47
rpc.gssd
106.55
KB
-rwxr-xr-x
2025-06-04 10:54
rpc.idmapd
61.73
KB
-rwxr-xr-x
2025-06-04 10:54
rpc.mountd
158.92
KB
-rwxr-xr-x
2025-06-04 10:54
rpc.nfsd
49.91
KB
-rwxr-xr-x
2025-06-04 10:54
rpc.statd
103.29
KB
-rwxr-xr-x
2025-06-04 10:54
rpcbind
61.55
KB
-rwxr-xr-x
2022-10-12 11:00
rpcctl
9.41
KB
-rwxr-xr-x
2025-06-04 10:53
rpcdebug
19.38
KB
-rwxr-xr-x
2025-06-04 10:54
rpcinfo
32.64
KB
-rwxr-xr-x
2022-10-12 11:00
rsyslogd
724.73
KB
-rwxr-xr-x
2024-11-05 02:34
rtacct
46.94
KB
-rwxr-xr-x
2024-05-23 08:36
rtcwake
49.3
KB
-rwxr-xr-x
2026-02-04 20:18
rtmon
117.27
KB
-rwxr-xr-x
2024-05-23 08:36
rtstat
25.33
KB
-rwxr-xr-x
2024-05-23 08:36
runlevel
218.45
KB
-rwxr-xr-x
2026-01-26 09:30
runq
1.53
MB
-rwsr-xr-x
2026-02-03 18:25
runuser
48.99
KB
-rwxr-xr-x
2026-02-04 20:18
sasldblistusers2
20.77
KB
-rwxr-xr-x
2022-02-23 20:13
saslpasswd2
16.42
KB
-rwxr-xr-x
2022-02-23 20:13
sedispatch
20.52
KB
-rwxr-xr-x
2024-04-06 13:44
sefcontext_compile
65.35
KB
-rwxr-xr-x
2026-02-10 14:26
selabel_digest
12.28
KB
-rwxr-xr-x
2026-02-10 14:26
selabel_lookup
12.27
KB
-rwxr-xr-x
2026-02-10 14:26
selabel_lookup_best_match
11.89
KB
-rwxr-xr-x
2026-02-10 14:26
selabel_partial_match
11.88
KB
-rwxr-xr-x
2026-02-10 14:26
selinux_check_access
12.36
KB
-rwxr-xr-x
2026-02-10 14:26
selinuxconlist
11.88
KB
-rwxr-xr-x
2026-02-10 14:26
selinuxdefcon
11.88
KB
-rwxr-xr-x
2026-02-10 14:26
selinuxenabled
7.84
KB
-rwxr-xr-x
2026-02-10 14:26
selinuxexeccon
11.86
KB
-rwxr-xr-x
2026-02-10 14:26
semanage
41.18
KB
-rwxr-xr-x
2024-07-02 21:08
semodule
29.27
KB
-rwxr-xr-x
2024-07-02 21:04
sendmail
16.91
KB
-rwxr-sr-x
2026-02-03 18:25
service
3.64
KB
-rwxr-xr-x
2025-09-23 08:27
sestatus
20.41
KB
-rwxr-xr-x
2024-07-02 21:04
setcap
16.27
KB
-rwxr-xr-x
2024-01-10 14:34
setenforce
12.27
KB
-rwxr-xr-x
2026-02-10 14:26
setfiles
20.53
KB
-rwxr-xr-x
2024-07-02 21:04
setquota
91.38
KB
-rwxr-xr-x
2021-10-09 07:08
setroubleshootd
3.34
KB
-rwxr-xr-x
2024-04-06 13:44
setsebool
16.38
KB
-rwxr-xr-x
2024-07-02 21:04
sfdisk
118.51
KB
-rwxr-xr-x
2026-02-04 20:18
sgdisk
198.05
KB
-rwxr-xr-x
2022-10-12 10:53
showmount
21.06
KB
-rwxr-xr-x
2025-06-04 10:54
shutdown
218.45
KB
-rwxr-xr-x
2026-01-26 09:30
sim_server
11.87
KB
-rwxr-xr-x
2025-06-03 02:06
skdump
16.91
KB
-rwxr-xr-x
2019-10-15 21:57
sktest
12.81
KB
-rwxr-xr-x
2019-10-15 21:57
slattach
43.76
KB
-rwxr-xr-x
2020-08-30 17:47
sm-notify
78.14
KB
-rwxr-xr-x
2025-06-04 10:54
smartctl
907.08
KB
-rwxr-xr-x
2024-04-06 14:11
smartd
733.2
KB
-rwxr-xr-x
2024-04-06 14:11
snmpd
32.45
KB
-rwxr-xr-x
2026-01-19 08:19
snmptrapd
32.6
KB
-rwxr-xr-x
2026-01-19 08:19
sos
627
B
-rwxr-xr-x
2026-01-06 20:37
sos-collector
127
B
-rwxr-xr-x
2026-01-06 20:37
sosreport
117
B
-rwxr-xr-x
2026-01-06 20:37
ss
191.3
KB
-rwxr-xr-x
2024-05-23 08:36
sshd
869.62
KB
-rwxr-xr-x
2025-12-18 02:27
sss_cache
61.09
KB
-rwxr-xr-x
2026-02-10 17:01
sssd
73.01
KB
-rwxr-xr-x
2026-02-10 17:01
start-statd
838
B
-rwxr-xr-x
2018-09-06 18:09
start-stop-daemon
45.98
KB
-rwxr-xr-x
2021-12-15 12:46
suexec
25.3
KB
-rwsr-xr-x
2026-01-21 22:59
sulogin
49.24
KB
-rwxr-xr-x
2026-02-04 20:18
sw-engine-fpm
20.12
MB
-rwxr-xr-x
1990-01-01 12:00
swaplabel
16.5
KB
-rwxr-xr-x
2026-02-04 20:18
swapoff
20.75
KB
-rwxr-xr-x
2026-02-04 20:18
swapon
49.41
KB
-rwxr-xr-x
2026-02-04 20:18
switch_root
16.49
KB
-rwxr-xr-x
2026-02-04 20:18
sysctl
28.88
KB
-rwxr-xr-x
2023-10-14 20:31
syspurpose
415
B
-rwxr-xr-x
2025-07-15 09:13
tcpdump
1.01
MB
-rwxr-xr-x
2024-04-06 11:58
tcpslice
32.63
KB
-rwxr-xr-x
2024-04-06 11:58
tcsd
309.72
KB
-rwxr-xr-x
2024-04-06 12:42
telinit
218.45
KB
-rwxr-xr-x
2026-01-26 09:30
timedatex
33.43
KB
-rwxr-xr-x
2019-10-16 17:24
tipc
163.07
KB
-rwxr-xr-x
2024-05-23 08:36
tmpwatch
35.47
KB
-rwxr-xr-x
2019-10-12 11:32
tracepath
20.44
KB
-rwxr-xr-x
2023-10-14 17:19
tracepath6
20.44
KB
-rwxr-xr-x
2023-10-14 17:19
tsig-keygen
20.45
KB
-rwxr-xr-x
2025-11-06 07:45
tune2fs
110.63
KB
-rwxr-xr-x
2025-10-07 07:08
tuned
3.88
KB
-rwxr-xr-x
2024-02-22 12:23
tuned-adm
6.5
KB
-rwxr-xr-x
2024-02-22 12:23
udevadm
424.58
KB
-rwxr-xr-x
2026-01-26 09:30
umount.nfs
197.24
KB
-rwsr-xr-x
2025-06-04 10:54
umount.nfs4
197.24
KB
-rwsr-xr-x
2025-06-04 10:54
umount.udisks2
11.89
KB
-rwxr-xr-x
2025-09-03 09:08
unbound-anchor
57.34
KB
-rwxr-xr-x
2025-07-28 13:31
unix_chkpwd
36.86
KB
-rwsr-xr-x
2025-12-17 18:54
unix_update
36.86
KB
-rwx------
2025-12-17 18:54
unsquashfs
99.57
KB
-rwxr-xr-x
2024-04-06 14:17
update-alternatives
36.66
KB
-rwxr-xr-x
2023-10-14 22:48
update-smart-drivedb
14.44
KB
-rwxr-xr-x
2024-04-06 14:11
useradd
148.16
KB
-rwxr-xr-x
2025-12-18 13:51
userdel
107.29
KB
-rwxr-xr-x
2025-12-18 13:51
usermod
144.11
KB
-rwxr-xr-x
2025-12-18 13:51
usernetctl
12.41
KB
-rwsr-xr-x
2025-11-04 09:19
uuserver
15.88
KB
-rwxr-xr-x
2025-06-03 02:06
vdpa
118.04
KB
-rwxr-xr-x
2024-05-23 08:36
vigr
68.05
KB
-rwxr-xr-x
2025-12-18 13:51
vipw
68.05
KB
-rwxr-xr-x
2025-12-18 13:51
virt-what
14.22
KB
-rwxr-xr-x
2023-10-14 20:52
visudo
239.28
KB
-rwxr-xr-x
2025-12-18 14:01
vmcore-dmesg
28.58
KB
-rwxr-xr-x
2026-02-10 17:24
vpddecode
16.47
KB
-rwxr-xr-x
2024-04-06 13:04
weak-modules
33.6
KB
-rwxr-xr-x
2024-04-08 09:18
whmapi0
3.36
MB
-rwxr-xr-x
2026-02-24 01:01
whmapi1
3.36
MB
-rwxr-xr-x
2026-02-24 01:01
whmlogin
2.33
KB
-rwxr-xr-x
2023-12-15 23:52
wipefs
41.12
KB
-rwxr-xr-x
2026-02-04 20:18
xfs_admin
1.38
KB
-rwxr-xr-x
2023-10-15 05:10
xfs_bmap
695
B
-rwxr-xr-x
2023-10-15 05:11
xfs_copy
434.59
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_db
760.47
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_estimate
12.39
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_freeze
800
B
-rwxr-xr-x
2023-10-15 05:11
xfs_fsr
53.41
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_growfs
422.48
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_info
1.26
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_io
188.28
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_logprint
454.7
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_mdrestore
410.09
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_metadump
782
B
-rwxr-xr-x
2023-10-15 05:10
xfs_mkfile
1.02
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_ncheck
685
B
-rwxr-xr-x
2023-10-15 05:10
xfs_quota
93.98
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_repair
715.24
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_rtcp
16.38
KB
-rwxr-xr-x
2023-10-15 05:11
xfs_spaceman
45.42
KB
-rwxr-xr-x
2023-10-15 05:11
xqmstats
16.45
KB
-rwxr-xr-x
2021-10-09 07:08
xtables-monitor
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
xtables-nft-multi
220.8
KB
-rwxr-xr-x
2024-04-02 18:37
zdump
20.56
KB
-rwxr-xr-x
2025-12-08 09:43
zic
52.83
KB
-rwxr-xr-x
2025-12-08 09:43
zramctl
99.13
KB
-rwxr-xr-x
2026-02-04 20:18
Save
Rename
#!/bin/sh - # virt-what. Generated from virt-what.in by configure. # Copyright (C) 2008-2022 Red Hat Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # 'virt-what' tries to detect the type of virtualization being # used (or none at all if we're running on bare-metal). It prints # out one or more lines each being a 'fact' about the virtualization. # # Please see also the manual page virt-what(1). # This script should be run as root. # # The following resources were useful in writing this script: # . http://dmo.ca/blog/detecting-virtualization-on-linux/ # Do not allow unset variables, and set defaults. set -u root='' skip_qemu_kvm=false skip_lkvm=false VERSION="1.25" have_cpuinfo () { test -e "${root}/proc/cpuinfo" } use_sysctl() { # Lacking /proc, on some systems sysctl can be used instead. OS=$(uname) || fail "failed to get operating system name" [ "$OS" = "OpenBSD" ] } fail () { echo "virt-what: $1" >&2 exit 1 } usage () { echo "virt-what [options]" echo "Options:" echo " --help Display this help" echo " --version Display version and exit" exit 0 } # Handle the command line arguments, if any. while test $# -gt 0; do case "$1" in --help) usage ;; --test-root=*) # Deliberately undocumented: used for 'make check'. root=$(echo "$1" | sed 's/.*=//') shift 1 test -z "$root" && fail "--test-root option requires a value" ;; -v|--version) echo "$VERSION"; exit 0 ;; --) shift; break ;; *) fail "unrecognized option '$1'";; esac done test $# -gt 0 && fail "extra operand '$1'" # Add /sbin and /usr/sbin to the path so we can find system # binaries like dmidecode. # Add /usr/libexec to the path so we can find the helper binary. prefix=/usr exec_prefix=/usr PATH="${root}/usr/libexec:${root}/sbin:${root}/usr/sbin:${PATH}" export PATH # Check we're running as root. EFFUID=$(id -u) || fail "failed to get current user id" if [ "x$root" = "x" ] && [ "$EFFUID" -ne 0 ]; then fail "this script must be run as root" fi # Try to locate the CPU-ID helper program CPUID_HELPER=$(which virt-what-cpuid-helper 2>/dev/null) if [ -z "$CPUID_HELPER" ] ; then fail "virt-what-cpuid-helper program not found in \$PATH" fi # Many fullvirt hypervisors give an indication through CPUID. Use the # helper program to get this information. cpuid=$(virt-what-cpuid-helper) # Check for various products in the BIOS information. # Note that dmidecode doesn't exist on all architectures. On the ones # it does not, then this will return an error, which is ignored (error # message redirected into the $dmi variable). dmi=$(LANG=C dmidecode 2>&1) # Architecture. # Note for the purpose of testing, we only call uname with -m option. arch=$(uname -m | sed -e 's/i.86/i386/' | sed -e 's/arm.*/arm/') # Check for Alibaba Cloud if echo "$dmi" | grep -q 'Manufacturer: Alibaba'; then # Check for Alibaba Cloud ECS Bare Metal (EBM) Instance if [ "x$root" = "x" ] && ( { echo -e "GET /latest/meta-datainstance/instance-type HTTP/1.0\r\nHost: 100.100.100.200\r\n\r" >&3; grep -sq 'ebm' <&3 ; } 3<> /dev/tcp/100.100.100.200/80 ) 2>/dev/null ; then echo "alibaba_cloud-ebm" else echo "alibaba_cloud" fi fi # Check for VMware. # cpuid check added by Chetan Loke. if [ "$cpuid" = "VMwareVMware" ]; then echo vmware elif echo "$dmi" | grep -q 'Manufacturer: VMware'; then echo vmware fi # Check for Hyper-V. # http://blogs.msdn.com/b/sqlosteam/archive/2010/10/30/is-this-real-the-metaphysics-of-hardware-virtualization.aspx if [ "$cpuid" = "Microsoft Hv" ]; then echo hyperv fi # Check for VirtualPC. # The negative check for cpuid is to distinguish this from Hyper-V # which also has the same manufacturer string in the SM-BIOS data. if [ "$cpuid" != "Microsoft Hv" ] && echo "$dmi" | grep -q 'Manufacturer: Microsoft Corporation' && echo "$dmi" | grep -q 'Product Name: Virtual Machine'; then echo virtualpc fi # Check for VirtualBox. # Added by Laurent Léonard. if echo "$dmi" | grep -q 'Manufacturer: innotek GmbH'; then echo virtualbox fi # Check for bhyve. if [ "$cpuid" = "bhyve bhyve " ]; then echo bhyve elif echo "$dmi" | grep -q "Vendor: BHYVE"; then echo bhyve fi # Check for OpenVZ / Virtuozzo. # Added by Evgeniy Sokolov. # /proc/vz - always exists if OpenVZ kernel is running (inside and outside # container) # /proc/bc - exists on node, but not inside container. if [ -d "${root}/proc/vz" -a ! -d "${root}/proc/bc" ]; then echo openvz fi # Check for LXC containers # http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface # Added by Marc Fournier if [ -e "${root}/proc/1/environ" ] && tr '\000' '\n' < "${root}/proc/1/environ" | grep -Eiq '^container=lxc'; then echo lxc fi # Check for Illumos LX if [ -e "${root}/proc/1/environ" ] && tr '\0' '\n' < "${root}/proc/1/environ" | grep -q '^container=zone$' && [ -e "${root}/proc/version" ] && grep -q 'BrandZ virtual linux' < "${root}/proc/version"; then echo illumos-lx fi # Check for Docker. if [ -f "${root}/.dockerenv" ] || [ -f "${root}/.dockerinit" ] || \ grep -qF /docker/ "${root}/proc/self/cgroup" 2>/dev/null; then echo docker fi # Check for OCI. if [ -e "${root}/proc/1/environ" ] && cat "${root}/proc/1/environ" | tr '\000' '\n' | grep -Eiq '^container=oci'; then echo oci fi # Check for CRI-O. if [ -e "${root}/proc/1/environ" ] && cat "${root}/proc/1/environ" | tr '\000' '\n' | grep -Eiq '^container=crio'; then echo crio fi # Check for Podman. if [ -e "${root}/proc/1/environ" ] && cat "${root}/proc/1/environ" | tr '\000' '\n' | grep -Eiq '^container=podman'; then echo podman elif grep -qF /libpod- "${root}/proc/self/cgroup" 2>/dev/null; then echo podman fi # Check for Linux-VServer if test -e "${root}/proc/self/status" \ && cat "${root}/proc/self/status" | grep -q "VxID: [0-9]*"; then echo linux_vserver if grep -q "VxID: 0$" "${root}/proc/self/status"; then echo linux_vserver-host else echo linux_vserver-guest fi fi # Check for UML. # Added by Laurent Léonard. if have_cpuinfo && grep -q 'UML' "${root}/proc/cpuinfo"; then echo uml fi # Check for IBM PowerVM Lx86 Linux/x86 emulator. if have_cpuinfo && grep -q '^vendor_id.*PowerVM Lx86' "${root}/proc/cpuinfo" then echo powervm_lx86 fi # Check for Hitachi Virtualization Manager (HVM) Virtage logical partitioning. if echo "$dmi" | grep -q 'Manufacturer.*HITACHI' && echo "$dmi" | grep -q 'Product.* LPAR'; then echo virtage fi # Check for IBM SystemZ. if have_cpuinfo && grep -q '^vendor_id.*IBM/S390' "${root}/proc/cpuinfo"; then echo ibm_systemz if [ -f "${root}/proc/sysinfo" ]; then if grep -q 'VM.*Control Program.*KVM/Linux' "${root}/proc/sysinfo"; then echo ibm_systemz-kvm elif grep -q 'VM.*Control Program.*z/VM' "${root}/proc/sysinfo"; then echo ibm_systemz-zvm elif grep -q '^LPAR' "${root}/proc/sysinfo"; then echo ibm_systemz-lpar else # This is unlikely to be correct. echo ibm_systemz-direct fi fi fi # Check for Parallels. if echo "$dmi" | grep -q 'Vendor: Parallels'; then echo parallels skip_qemu_kvm=true fi # Check for Nutanix AHV. if echo "$dmi" | grep -q 'Manufacturer: Nutanix'; then echo nutanix_ahv fi # Check for oVirt/RHEV. if echo "$dmi" | grep -q 'Manufacturer: oVirt'; then echo ovirt fi if echo "$dmi" | grep -q 'Product Name: RHEV Hypervisor'; then echo rhev fi # Google Cloud if echo "$dmi" | grep -q 'Product Name: Google Compute Engine'; then echo google_cloud fi # Red Hat's hypervisor. if echo "$dmi" | grep -q 'Manufacturer: Red Hat'; then echo redhat fi # Check for Xen. if [ "$cpuid" = "XenVMMXenVMM" ] && ! echo "$dmi" | grep -q 'No SMBIOS nor DMI entry point found, sorry'; then echo xen; echo xen-hvm skip_qemu_kvm=true elif [ -d "${root}/proc/xen" ]; then echo xen if grep -q "control_d" "${root}/proc/xen/capabilities" 2>/dev/null; then echo xen-dom0 else echo xen-domU fi skip_qemu_kvm=true skip_lkvm=true elif [ -f "${root}/sys/hypervisor/type" ] && grep -q "xen" "${root}/sys/hypervisor/type"; then # Ordinary kernel with pv_ops. There does not seem to be # enough information at present to tell whether this is dom0 # or domU. XXX echo xen elif [ "$arch" = "arm" ] || [ "$arch" = "aarch64" ]; then if [ -d "${root}/proc/device-tree/hypervisor" ] && grep -q "xen" "${root}/proc/device-tree/hypervisor/compatible"; then echo xen skip_qemu_kvm=true skip_lkvm=true elif [ -d "${root}/proc/device-tree/hypervisor" ] && grep -q "vmware" "${root}/proc/device-tree/hypervisor/compatible"; then echo vmware skip_lkvm=true fi elif [ "$arch" = "ia64" ]; then if [ -d "${root}/sys/bus/xen" -a ! -d "${root}/sys/bus/xen-backend" ]; then # PV-on-HVM drivers installed in a Xen guest. echo xen echo xen-hvm else # There is no virt leaf on IA64 HVM. This is a last-ditch # attempt to detect something is virtualized by using a # timing attack. virt-what-ia64-xen-rdtsc-test > /dev/null 2>&1 case "$?" in 0) ;; # not virtual 1) # Could be some sort of virt, or could just be a bit slow. echo virt esac fi fi # Check for QEMU/KVM. # # Parallels exports KVMKVMKVM leaf, so skip this test if we've already # seen that it's Parallels. Xen uses QEMU as the device model, so # skip this test if we know it is Xen. if ! "$skip_qemu_kvm"; then if [ "$cpuid" = "KVMKVMKVM" ]; then echo kvm elif [ "$cpuid" = "TCGTCGTCGTCG" ]; then echo qemu skip_lkvm=true elif echo "$dmi" | grep -q 'Product Name: KVM'; then echo kvm skip_lkvm=true elif echo "$dmi" | grep -q 'Manufacturer: KVM'; then echo kvm skip_lkvm=true elif echo "$dmi" | grep -q 'Manufacturer: Amazon EC2' && echo "$dmi" | grep -q 'System is a virtual machine'; then # This is for AWS Graviton (Arm) systems which don't have CPUID. echo kvm skip_lkvm=true elif echo "$dmi" | grep -q 'Manufacturer: Alibaba Cloud' && echo "$dmi" | grep -q 'System is a virtual machine'; then # This is for Alibaba Arm systems which don't have CPUID. echo kvm skip_lkvm=true elif echo "$dmi" | grep -q 'Manufacturer: QEMU'; then # The test for KVM above failed, so now we know we're # not using KVM acceleration. echo qemu skip_lkvm=true elif [ "$arch" = "arm" ] || [ "$arch" = "aarch64" ]; then if [ -d "${root}/proc/device-tree" ] && ls "${root}/proc/device-tree" | grep -q "fw-cfg"; then # We don't have enough information to determine if we're # using KVM acceleration or not. echo qemu skip_lkvm=true fi elif [ -d ${root}/proc/device-tree/hypervisor ] && grep -q "linux,kvm" /proc/device-tree/hypervisor/compatible; then # We are running as a spapr KVM guest on ppc64 echo kvm skip_lkvm=true elif use_sysctl; then # SmartOS KVM product=$(sysctl -n hw.product) if echo "$product" | grep -q 'SmartDC HVM'; then echo kvm fi else # This is known to fail for qemu with the explicit -cpu # option, since /proc/cpuinfo will not contain the QEMU # string. QEMU 2.10 added a new CPUID leaf, so this # problem only triggered for older QEMU if have_cpuinfo && grep -q 'QEMU' "${root}/proc/cpuinfo"; then echo qemu fi fi fi if ! "$skip_lkvm"; then if [ "$cpuid" = "LKVMLKVMLKVM" ]; then echo lkvm elif [ "$arch" = "arm" ] || [ "$arch" = "aarch64" ]; then if [ -d "${root}/proc/device-tree" ] && grep -q "dummy-virt" "${root}/proc/device-tree/compatible"; then echo lkvm fi fi fi # Check ppc64 lpar, kvm or powerkvm # example /proc/cpuinfo line indicating 'not baremetal' # platform : pSeries # # example /proc/ppc64/lparcfg systemtype line # system_type=IBM pSeries (emulated by qemu) if [ "$arch" = "ppc64" ] || [ "$arch" = "ppc64le" ] ; then if have_cpuinfo && grep -q 'platform.**pSeries' "${root}/proc/cpuinfo"; then if grep -q 'model.*emulated by qemu' "${root}/proc/cpuinfo"; then echo ibm_power-kvm else # Assume LPAR, now detect shared or dedicated if grep -q 'shared_processor_mode=1' "${root}/proc/ppc64/lparcfg"; then echo ibm_power-lpar_shared else echo ibm_power-lpar_dedicated fi # detect powerkvm? fi fi fi # Check for OpenBSD/VMM if [ "$cpuid" = "OpenBSDVMM58" ]; then echo vmm fi # Check for LDoms if [ "${arch#sparc}" != "$arch" ] && [ -e "${root}/dev/mdesc" ]; then echo ldoms if [ -d "${root}/sys/class/vlds/ctrl" ] && \ [ -d "${root}/sys/class/vlds/sp" ]; then echo ldoms-control else echo ldoms-guest fi MDPROP="${root}/usr/lib/ldoms/mdprop.py" if [ -x "${MDPROP}" ]; then if [ -n "$($MDPROP -v iodevice device-type=pciex)" ]; then echo ldoms-root echo ldoms-io elif [ -n "$($MDPROP -v iov-device vf-id=0)" ]; then echo ldoms-io fi fi fi # Check for AWS. # AWS on Xen. if echo "$dmi" | grep -Eq 'Version: [0-9]+\.[0-9]+\.amazon'; then echo aws # AWS on baremetal or KVM. elif echo "$dmi" | grep -q 'Vendor: Amazon EC2'; then echo aws fi