Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
bin /
Delete
Unzip
Name
Size
Permission
Date
Action
X11
[ DIR ]
drwxr-xr-x
2025-10-09 10:16
[
66.89
KB
-rwxr-xr-x
2022-09-20 15:27
aa-enabled
18.23
KB
-rwxr-xr-x
2023-02-14 11:49
aa-exec
18.23
KB
-rwxr-xr-x
2023-02-14 11:49
aa-features-abi
18.23
KB
-rwxr-xr-x
2023-02-14 11:49
ab
58.42
KB
-rwxr-xr-x
2024-10-04 15:21
aclocal
35.18
KB
-rwxr-xr-x
2022-03-18 13:09
aclocal-1.16
35.18
KB
-rwxr-xr-x
2022-03-18 13:09
add-apt-repository
14.1
KB
-rwxr-xr-x
2024-05-17 12:23
addpart
30.31
KB
-rwxr-xr-x
2024-11-21 20:01
addr2line
23.14
KB
-rwxr-xr-x
2023-01-14 17:24
appstreamcli
128.12
KB
-rwxr-xr-x
2023-05-28 15:10
apropos
51.29
KB
-rwxr-xr-x
2023-03-12 22:23
apt
18.31
KB
-rwxr-xr-x
2023-05-25 14:11
apt-add-repository
14.1
KB
-rwxr-xr-x
2024-05-17 12:23
apt-cache
86.38
KB
-rwxr-xr-x
2023-05-25 14:11
apt-cdrom
22.38
KB
-rwxr-xr-x
2023-05-25 14:11
apt-config
26.31
KB
-rwxr-xr-x
2023-05-25 14:11
apt-extracttemplates
22.39
KB
-rwxr-xr-x
2023-05-25 14:11
apt-ftparchive
270.39
KB
-rwxr-xr-x
2023-05-25 14:11
apt-get
50.38
KB
-rwxr-xr-x
2023-05-25 14:11
apt-key
27.32
KB
-rwxr-xr-x
2023-05-25 14:11
apt-listchanges
11.96
KB
-rwxr-xr-x
2021-03-28 11:06
apt-mark
58.38
KB
-rwxr-xr-x
2023-05-25 14:11
apt-sortpkgs
38.32
KB
-rwxr-xr-x
2023-05-25 14:11
ar
51.17
KB
-rwxr-xr-x
2023-01-14 17:24
arch
42.86
KB
-rwxr-xr-x
2022-09-20 15:27
aria_chk
5.49
MB
-rwxr-xr-x
2025-02-19 00:56
aria_dump_log
5.29
MB
-rwxr-xr-x
2025-02-19 00:56
aria_ftdump
5.3
MB
-rwxr-xr-x
2025-02-19 00:56
aria_pack
5.33
MB
-rwxr-xr-x
2025-02-19 00:56
aria_read_log
5.44
MB
-rwxr-xr-x
2025-02-19 00:56
as
897.41
KB
-rwxr-xr-x
2023-01-14 17:24
autoconf
14.85
KB
-rwxr-xr-x
2023-01-14 17:42
autoheader
8.82
KB
-rwxr-xr-x
2023-01-14 17:42
autom4te
32.69
KB
-rwxr-xr-x
2023-01-14 17:42
automake
255.91
KB
-rwxr-xr-x
2022-03-18 13:09
automake-1.16
255.91
KB
-rwxr-xr-x
2022-03-18 13:09
autopoint
26.38
KB
-rwxr-xr-x
2023-02-26 15:20
autoreconf
26.3
KB
-rwxr-xr-x
2023-01-14 17:42
autoscan
16.77
KB
-rwxr-xr-x
2023-01-14 17:42
autoupdate
33.22
KB
-rwxr-xr-x
2023-01-14 17:42
awk
696.44
KB
-rwxr-xr-x
2023-02-19 13:30
b2sum
58.98
KB
-rwxr-xr-x
2022-09-20 15:27
base32
46.89
KB
-rwxr-xr-x
2022-09-20 15:27
base64
46.89
KB
-rwxr-xr-x
2022-09-20 15:27
basename
42.83
KB
-rwxr-xr-x
2022-09-20 15:27
basenc
54.89
KB
-rwxr-xr-x
2022-09-20 15:27
bash
1.21
MB
-rwxr-xr-x
2024-03-29 19:40
bashbug
6.7
KB
-rwxr-xr-x
2024-03-29 19:40
bsondump
11.03
MB
-rwxr-xr-x
2025-04-01 15:22
buildhash
46.63
KB
-rwxr-xr-x
2022-03-29 18:19
bunzip2
38.3
KB
-rwxr-xr-x
2022-09-19 02:54
busctl
90.5
KB
-rwxr-xr-x
2025-03-06 14:56
busybox
754.77
KB
-rwxr-xr-x
2023-04-23 21:24
bzcat
38.3
KB
-rwxr-xr-x
2022-09-19 02:54
bzcmp
2.17
KB
-rwxr-xr-x
2022-09-19 02:54
bzdiff
2.17
KB
-rwxr-xr-x
2022-09-19 02:54
bzegrep
3.69
KB
-rwxr-xr-x
2022-09-19 02:54
bzexe
4.78
KB
-rwxr-xr-x
2021-11-27 12:25
bzfgrep
3.69
KB
-rwxr-xr-x
2022-09-19 02:54
bzgrep
3.69
KB
-rwxr-xr-x
2022-09-19 02:54
bzip2
38.3
KB
-rwxr-xr-x
2022-09-19 02:54
bzip2recover
14.23
KB
-rwxr-xr-x
2022-09-19 02:54
bzless
1.27
KB
-rwxr-xr-x
2022-09-19 02:54
bzmore
1.27
KB
-rwxr-xr-x
2022-09-19 02:54
c++
1.25
MB
-rwxr-xr-x
2023-01-08 09:12
c++filt
18.51
KB
-rwxr-xr-x
2023-01-14 17:24
c89
428
B
-rwxr-xr-x
2020-11-17 18:53
c89-gcc
428
B
-rwxr-xr-x
2020-11-17 18:53
c99
454
B
-rwxr-xr-x
2020-11-17 18:53
c99-gcc
454
B
-rwxr-xr-x
2020-11-17 18:53
c_rehash
6.68
KB
-rwxr-xr-x
2024-10-27 14:16
captoinfo
90.34
KB
-rwxr-xr-x
2023-05-07 14:33
cat
42.98
KB
-rwxr-xr-x
2022-09-20 15:27
catman
42.77
KB
-rwxr-xr-x
2023-03-12 22:23
cc
1.24
MB
-rwxr-xr-x
2023-01-08 09:12
certbot
958
B
-rwxr-xr-x
2023-04-16 05:22
cgi-fcgi
18
KB
-rwxr-xr-x
2021-01-11 05:57
chage
78.49
KB
-rwxr-sr-x
2023-03-23 12:40
chardet
221
B
-rwxr-xr-x
2022-12-26 14:42
chardetect
221
B
-rwxr-xr-x
2022-12-26 14:42
chattr
14.24
KB
-rwxr-xr-x
2023-03-05 03:16
chcon
67.11
KB
-rwxr-xr-x
2022-09-20 15:27
checkgid
14.23
KB
-rwxr-xr-x
2024-10-04 15:21
chfn
61.2
KB
-rwsr-xr-x
2023-03-23 12:40
chgrp
67.05
KB
-rwxr-xr-x
2022-09-20 15:27
chmod
62.98
KB
-rwxr-xr-x
2022-09-20 15:27
choom
54.31
KB
-rwxr-xr-x
2024-11-21 20:01
chown
71.05
KB
-rwxr-xr-x
2022-09-20 15:27
chrt
66.31
KB
-rwxr-xr-x
2024-11-21 20:01
chsh
51.64
KB
-rwsr-xr-x
2023-03-23 12:40
chvt
14.57
KB
-rwxr-xr-x
2023-03-23 09:34
ckbcomp
147.14
KB
-rwxr-xr-x
2023-05-21 21:30
cksum
139.05
KB
-rwxr-xr-x
2022-09-20 15:27
clear
14.24
KB
-rwxr-xr-x
2023-05-07 14:33
clear_console
14.15
KB
-rwxr-xr-x
2024-03-29 19:40
cmp
50.95
KB
-rwxr-xr-x
2023-02-03 19:00
codepage
14.41
KB
-rwxr-xr-x
2023-03-23 09:34
col
34.31
KB
-rwxr-xr-x
2024-11-21 20:01
colcrt
14.31
KB
-rwxr-xr-x
2024-11-21 20:01
colrm
30.31
KB
-rwxr-xr-x
2024-11-21 20:01
column
54.31
KB
-rwxr-xr-x
2024-11-21 20:01
comm
46.92
KB
-rwxr-xr-x
2022-09-20 15:27
compose
18.06
KB
-rwxr-xr-x
2021-11-29 13:07
corelist
15.01
KB
-rwxr-xr-x
2023-11-25 20:59
corepack
132
B
-rwxr-xr-x
2024-02-26 06:00
cp
147.61
KB
-rwxr-xr-x
2022-09-20 15:27
cpan
8.16
KB
-rwxr-xr-x
2023-11-25 20:59
cpan5.36-x86_64-linux-gnu
8.18
KB
-rwxr-xr-x
2023-11-25 20:59
cpio
158.56
KB
-rwxr-xr-x
2022-09-14 19:45
cpio-filter
1.22
KB
-rwxr-xr-x
2022-11-19 21:25
cpp
1.24
MB
-rwxr-xr-x
2023-01-08 09:12
cpp-12
1.24
MB
-rwxr-xr-x
2023-01-08 09:12
crc32
1.04
KB
-rwxr-xr-x
2020-03-14 12:52
crontab
42.63
KB
-rwxr-sr-x
2023-03-02 07:33
csplit
119.17
KB
-rwxr-xr-x
2022-09-20 15:27
ctstat
26.59
KB
-rwxr-xr-x
2023-05-22 13:19
curl
274.22
KB
-rwxr-xr-x
2025-03-09 10:45
cut
46.98
KB
-rwxr-xr-x
2022-09-20 15:27
cvtsudoers
337.19
KB
-rwxr-xr-x
2023-06-27 11:45
dash
122.7
KB
-rwxr-xr-x
2023-01-05 13:20
date
119.05
KB
-rwxr-xr-x
2022-09-20 15:27
dbilogstrip
1.35
KB
-rwxr-xr-x
2022-11-19 21:14
dbiprof
6.06
KB
-rwxr-xr-x
2022-11-19 21:14
dbiproxy
5.27
KB
-rwxr-xr-x
2022-11-19 21:14
dbus-cleanup-sockets
14.22
KB
-rwxr-xr-x
2023-09-16 10:03
dbus-daemon
238.56
KB
-rwxr-xr-x
2023-09-16 10:03
dbus-monitor
26.23
KB
-rwxr-xr-x
2023-09-16 10:03
dbus-run-session
14.23
KB
-rwxr-xr-x
2023-09-16 10:03
dbus-send
30.22
KB
-rwxr-xr-x
2023-09-16 10:03
dbus-update-activation-environment
14.22
KB
-rwxr-xr-x
2023-09-16 10:03
dbus-uuidgen
14.22
KB
-rwxr-xr-x
2023-09-16 10:03
dd
87.15
KB
-rwxr-xr-x
2022-09-20 15:27
deallocvt
14.53
KB
-rwxr-xr-x
2023-03-23 09:34
deb-systemd-helper
23.79
KB
-rwxr-xr-x
2022-07-09 00:05
deb-systemd-invoke
6.09
KB
-rwxr-xr-x
2022-07-02 15:23
debconf
2.79
KB
-rwxr-xr-x
2023-01-08 21:50
debconf-apt-progress
11.27
KB
-rwxr-xr-x
2023-01-08 21:50
debconf-communicate
608
B
-rwxr-xr-x
2023-01-08 21:50
debconf-copydb
1.68
KB
-rwxr-xr-x
2023-01-08 21:50
debconf-escape
647
B
-rwxr-xr-x
2023-01-08 21:50
debconf-gettextize
15.97
KB
-rwxr-xr-x
2020-12-30 01:09
debconf-set-selections
2.92
KB
-rwxr-xr-x
2023-01-08 21:50
debconf-show
1.78
KB
-rwxr-xr-x
2023-01-08 21:50
debconf-updatepo
4.46
KB
-rwxr-xr-x
2020-12-30 01:09
debianbts
217
B
-rwxr-xr-x
2022-12-08 11:34
defmt-c
14.23
KB
-rwxr-xr-x
2022-03-29 18:19
defmt-sh
14.23
KB
-rwxr-xr-x
2022-03-29 18:19
delpart
30.31
KB
-rwxr-xr-x
2024-11-21 20:01
delv
41.3
KB
-rwxr-xr-x
2025-01-25 10:14
df
99.8
KB
-rwxr-xr-x
2022-09-20 15:27
dh
28.85
KB
-rwxr-xr-x
2023-01-02 14:54
dh_assistant
20.34
KB
-rwxr-xr-x
2023-01-02 14:54
dh_auto_build
1.37
KB
-rwxr-xr-x
2023-01-02 14:54
dh_auto_clean
1.51
KB
-rwxr-xr-x
2023-01-02 14:54
dh_auto_configure
1.63
KB
-rwxr-xr-x
2023-01-02 14:54
dh_auto_install
3.22
KB
-rwxr-xr-x
2023-01-02 14:54
dh_auto_test
1.65
KB
-rwxr-xr-x
2023-01-02 14:54
dh_autoreconf
6.46
KB
-rwxr-xr-x
2021-02-04 11:26
dh_autoreconf_clean
2.1
KB
-rwxr-xr-x
2021-02-04 11:26
dh_autotools-dev_restoreconfig
1.79
KB
-rwxr-xr-x
2022-01-31 14:43
dh_autotools-dev_updateconfig
1.81
KB
-rwxr-xr-x
2022-01-31 14:43
dh_bash-completion
4.31
KB
-rwxr-xr-x
2021-08-28 15:26
dh_bugfiles
3.58
KB
-rwxr-xr-x
2023-01-02 14:54
dh_builddeb
4.79
KB
-rwxr-xr-x
2023-01-02 14:54
dh_clean
5.03
KB
-rwxr-xr-x
2023-01-02 14:54
dh_compress
7.67
KB
-rwxr-xr-x
2023-01-02 14:54
dh_dwz
4.99
KB
-rwxr-xr-x
2023-01-02 14:54
dh_fixperms
5.29
KB
-rwxr-xr-x
2023-01-02 14:54
dh_gencontrol
5.88
KB
-rwxr-xr-x
2023-01-02 14:54
dh_icons
2.04
KB
-rwxr-xr-x
2023-01-02 14:54
dh_install
12.16
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installalternatives
6.61
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installcatalogs
3.33
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installchangelogs
11.57
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installcron
1.65
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installdeb
12.71
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installdebconf
6.69
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installdirs
3.09
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installdocs
14.65
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installemacsen
3.74
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installexamples
5.65
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installgsettings
2.24
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installifupdown
1.47
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installinfo
3.38
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installinit
13.96
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installinitramfs
2.5
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installlogcheck
1.94
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installlogrotate
1.14
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installman
13.37
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installmanpages
4.89
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installmenu
2.15
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installmime
1.3
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installmodules
2.66
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installpam
1.42
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installppp
1.38
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installsystemd
14.06
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installsystemduser
8.36
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installsysusers
2.98
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installtmpfiles
3.24
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installudev
2.1
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installwm
3.3
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installxfonts
2.8
KB
-rwxr-xr-x
2023-01-02 14:54
dh_installxmlcatalogs
9.22
KB
-rwxr-xr-x
2019-02-27 00:18
dh_link
4.32
KB
-rwxr-xr-x
2023-01-02 14:54
dh_lintian
1.29
KB
-rwxr-xr-x
2023-01-02 14:54
dh_listpackages
825
B
-rwxr-xr-x
2023-01-02 14:54
dh_makeshlibs
15.12
KB
-rwxr-xr-x
2023-01-02 14:54
dh_md5sums
3.46
KB
-rwxr-xr-x
2023-01-02 14:54
dh_missing
8.75
KB
-rwxr-xr-x
2023-01-02 14:54
dh_movefiles
4.69
KB
-rwxr-xr-x
2023-01-02 14:54
dh_perl
5.03
KB
-rwxr-xr-x
2023-01-02 14:54
dh_perl_dbi
1.17
KB
-rwxr-xr-x
2022-11-19 21:14
dh_phpcomposer
3.01
KB
-rwxr-xr-x
2023-01-28 15:13
dh_phppear
5.63
KB
-rwxr-xr-x
2023-01-28 15:13
dh_prep
1.87
KB
-rwxr-xr-x
2023-01-02 14:54
dh_shlibdeps
6.24
KB
-rwxr-xr-x
2023-01-02 14:54
dh_strip
14.85
KB
-rwxr-xr-x
2023-01-02 14:54
dh_strip_nondeterminism
3.12
KB
-rwxr-xr-x
2023-01-15 19:53
dh_systemd_enable
8.98
KB
-rwxr-xr-x
2023-01-02 14:54
dh_systemd_start
8.57
KB
-rwxr-xr-x
2023-01-02 14:54
dh_testdir
1.31
KB
-rwxr-xr-x
2023-01-02 14:54
dh_testroot
2.91
KB
-rwxr-xr-x
2023-01-02 14:54
dh_ucf
2.38
KB
-rwxr-xr-x
2023-01-02 14:54
dh_update_autotools_config
1.84
KB
-rwxr-xr-x
2023-01-02 14:54
dh_usrlocal
4.2
KB
-rwxr-xr-x
2023-01-02 14:54
diff
151.58
KB
-rwxr-xr-x
2023-02-03 19:00
diff3
67.14
KB
-rwxr-xr-x
2023-02-03 19:00
dig
138.77
KB
-rwxr-xr-x
2025-01-25 10:14
dir
147.8
KB
-rwxr-xr-x
2022-09-20 15:27
dircolors
50.92
KB
-rwxr-xr-x
2022-09-20 15:27
dirmngr
586.13
KB
-rwxr-xr-x
2023-03-26 13:03
dirmngr-client
106.87
KB
-rwxr-xr-x
2023-03-26 13:03
dirname
38.83
KB
-rwxr-xr-x
2022-09-20 15:27
discover-config
2.87
KB
-rwxr-xr-x
2022-01-09 07:48
dmesg
86.58
KB
-rwxr-xr-x
2024-11-21 20:01
dnsdomainname
22.15
KB
-rwxr-xr-x
2022-12-19 13:33
dnstap-read
18.33
KB
-rwxr-xr-x
2025-01-25 10:14
domainname
22.15
KB
-rwxr-xr-x
2022-12-19 13:33
dotlockfile
22.5
KB
-rwxr-sr-x
2021-02-04 15:18
dpkg
310.64
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-architecture
14.85
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-buildflags
8.14
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-buildpackage
32.63
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-checkbuilddeps
7.45
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-deb
166.52
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-distaddfile
2.72
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-divert
154.55
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-genbuildinfo
18.48
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-genchanges
17.39
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-gencontrol
14.2
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-gensymbols
10.65
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-maintscript-helper
20.71
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-mergechangelogs
8.88
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-name
6.62
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-parsechangelog
4.83
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-query
158.58
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-realpath
4.09
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-scanpackages
8.47
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-scansources
8.98
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-shlibdeps
31.17
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-source
22.91
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-split
126.48
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-statoverride
62.33
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-trigger
86.48
KB
-rwxr-xr-x
2023-05-11 02:04
dpkg-vendor
3.18
KB
-rwxr-xr-x
2023-05-11 02:04
du
171.33
KB
-rwxr-xr-x
2022-09-20 15:27
dumpkeys
175.13
KB
-rwxr-xr-x
2023-03-23 09:34
dwp
1.79
MB
-rwxr-xr-x
2023-01-14 17:24
dwz
237.66
KB
-rwxr-xr-x
2022-12-26 10:45
echo
42.83
KB
-rwxr-xr-x
2022-09-20 15:27
edit
18.06
KB
-rwxr-xr-x
2021-11-29 13:07
editor
280.74
KB
-rwxr-xr-x
2024-05-06 06:10
egrep
41
B
-rwxr-xr-x
2023-01-24 14:43
eject
82.16
KB
-rwxr-xr-x
2024-11-21 20:01
elfedit
35.03
KB
-rwxr-xr-x
2023-01-14 17:24
enc2xs
40.96
KB
-rwxr-xr-x
2023-11-25 20:59
encguess
3
KB
-rwxr-xr-x
2023-11-25 20:59
env
47.4
KB
-rwxr-xr-x
2022-09-20 15:27
envsubst
34.31
KB
-rwxr-xr-x
2023-02-26 15:20
eqn
205.42
KB
-rwxr-xr-x
2023-03-07 09:38
ex
1.55
MB
-rwxr-xr-x
2025-02-16 05:23
expand
42.92
KB
-rwxr-xr-x
2022-09-20 15:27
expiry
30.45
KB
-rwxr-sr-x
2023-03-23 12:40
expr
115.05
KB
-rwxr-xr-x
2022-09-20 15:27
factor
83.2
KB
-rwxr-xr-x
2022-09-20 15:27
faillog
22.53
KB
-rwxr-xr-x
2023-03-23 12:40
faked-sysv
34.76
KB
-rwxr-xr-x
2023-03-18 09:22
faked-tcp
34.78
KB
-rwxr-xr-x
2023-03-18 09:22
fakeroot
3.9
KB
-rwxr-xr-x
2023-03-18 09:22
fakeroot-sysv
3.9
KB
-rwxr-xr-x
2023-03-18 09:22
fakeroot-tcp
3.9
KB
-rwxr-xr-x
2023-03-18 09:22
fallocate
34.31
KB
-rwxr-xr-x
2024-11-21 20:01
false
34.83
KB
-rwxr-xr-x
2022-09-20 15:27
fc-cache
18.59
KB
-rwxr-xr-x
2023-01-31 22:24
fc-cat
18.52
KB
-rwxr-xr-x
2023-01-31 22:24
fc-conflist
14.34
KB
-rwxr-xr-x
2023-01-31 22:24
fc-list
14.4
KB
-rwxr-xr-x
2023-01-31 22:24
fc-match
14.47
KB
-rwxr-xr-x
2023-01-31 22:24
fc-pattern
14.39
KB
-rwxr-xr-x
2023-01-31 22:24
fc-query
14.36
KB
-rwxr-xr-x
2023-01-31 22:24
fc-scan
14.42
KB
-rwxr-xr-x
2023-01-31 22:24
fc-validate
14.41
KB
-rwxr-xr-x
2023-01-31 22:24
fcgistarter
14.23
KB
-rwxr-xr-x
2024-10-04 15:21
fgconsole
14.52
KB
-rwxr-xr-x
2023-03-23 09:34
fgrep
41
B
-rwxr-xr-x
2023-01-24 14:43
filan
96.02
KB
-rwxr-xr-x
2022-11-06 08:15
file
26.48
KB
-rwxr-xr-x
2023-01-28 18:17
fincore
34.36
KB
-rwxr-xr-x
2024-11-21 20:01
find
219.58
KB
-rwxr-xr-x
2023-01-08 18:07
findaffix
11.74
KB
-rwxr-xr-x
2022-03-29 18:19
findmnt
83.59
KB
-rwxr-xr-x
2024-11-21 20:01
flock
34.39
KB
-rwxr-xr-x
2024-11-21 20:01
fmt
46.89
KB
-rwxr-xr-x
2022-09-20 15:27
fold
42.89
KB
-rwxr-xr-x
2022-09-20 15:27
free
26.3
KB
-rwxr-xr-x
2022-12-19 06:06
funzip
22.46
KB
-rwxr-xr-x
2023-02-19 18:02
fuser
39.83
KB
-rwxr-xr-x
2022-12-13 05:27
g++
1.25
MB
-rwxr-xr-x
2023-01-08 09:12
g++-12
1.25
MB
-rwxr-xr-x
2023-01-08 09:12
galera_new_cluster
917
B
-rwxr-xr-x
2025-02-19 00:56
galera_recovery
3.29
KB
-rwxr-xr-x
2025-02-19 00:56
gapplication
22.31
KB
-rwxr-xr-x
2024-11-14 09:42
gawk
696.44
KB
-rwxr-xr-x
2023-02-19 13:30
gawkbug
6.54
KB
-rwxr-xr-x
2023-02-19 13:30
gcc
1.24
MB
-rwxr-xr-x
2023-01-08 09:12
gcc-12
1.24
MB
-rwxr-xr-x
2023-01-08 09:12
gcc-ar
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
gcc-ar-12
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
gcc-nm
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
gcc-nm-12
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
gcc-ranlib
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
gcc-ranlib-12
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
gcov
720.16
KB
-rwxr-xr-x
2023-01-08 09:12
gcov-12
720.16
KB
-rwxr-xr-x
2023-01-08 09:12
gcov-dump
568.02
KB
-rwxr-xr-x
2023-01-08 09:12
gcov-dump-12
568.02
KB
-rwxr-xr-x
2023-01-08 09:12
gcov-tool
588.09
KB
-rwxr-xr-x
2023-01-08 09:12
gcov-tool-12
588.09
KB
-rwxr-xr-x
2023-01-08 09:12
gdbus
50.31
KB
-rwxr-xr-x
2024-11-14 09:42
gencat
26.75
KB
-rwxr-xr-x
2025-03-06 22:46
geqn
205.42
KB
-rwxr-xr-x
2023-03-07 09:38
getconf
26.5
KB
-rwxr-xr-x
2025-03-06 22:46
getent
35.47
KB
-rwxr-xr-x
2025-03-06 22:46
getkeycodes
14.53
KB
-rwxr-xr-x
2023-03-23 09:34
getopt
34.31
KB
-rwxr-xr-x
2024-11-21 20:01
gettext
34.31
KB
-rwxr-xr-x
2023-02-26 15:20
gettext.sh
5.07
KB
-rwxr-xr-x
2023-02-26 15:20
gettextize
41.28
KB
-rwxr-xr-x
2023-02-26 15:20
gio
90.33
KB
-rwxr-xr-x
2024-11-14 09:42
gio-querymodules
14.23
KB
-rwxr-xr-x
2024-11-14 09:42
glib-compile-schemas
62.3
KB
-rwxr-xr-x
2024-11-14 09:42
gmake
234.65
KB
-rwxr-xr-x
2021-04-10 13:55
gold
2.99
MB
-rwxr-xr-x
2023-01-14 17:24
gp-archive
159.06
KB
-rwxr-xr-x
2023-01-14 17:24
gp-collect-app
175.27
KB
-rwxr-xr-x
2023-01-14 17:24
gp-display-html
578.29
KB
-rwxr-xr-x
2023-01-14 17:24
gp-display-src
150.81
KB
-rwxr-xr-x
2023-01-14 17:24
gp-display-text
257.3
KB
-rwxr-xr-x
2023-01-14 17:24
gpasswd
86.42
KB
-rwsr-xr-x
2023-03-23 12:40
gpg
1.06
MB
-rwxr-xr-x
2023-03-26 13:03
gpg-agent
425.22
KB
-rwxr-xr-x
2023-03-26 13:03
gpg-connect-agent
154.96
KB
-rwxr-xr-x
2023-03-26 13:03
gpg-wks-server
203
KB
-rwxr-xr-x
2023-03-26 13:03
gpg-zip
3.43
KB
-rwxr-xr-x
2023-03-26 13:03
gpgcompose
910.27
KB
-rwxr-xr-x
2023-03-26 13:03
gpgconf
174.73
KB
-rwxr-xr-x
2023-03-26 13:03
gpgparsemail
34.3
KB
-rwxr-xr-x
2023-03-26 13:03
gpgsm
527.66
KB
-rwxr-xr-x
2023-03-26 13:03
gpgsplit
74.56
KB
-rwxr-xr-x
2023-03-26 13:03
gpgtar
147.52
KB
-rwxr-xr-x
2023-03-26 13:03
gpgv
463
KB
-rwxr-xr-x
2023-03-26 13:03
gpic
220.27
KB
-rwxr-xr-x
2023-03-07 09:38
gprof
108.35
KB
-rwxr-xr-x
2023-01-14 17:24
gprofng
146.59
KB
-rwxr-xr-x
2023-01-14 17:24
grep
198.39
KB
-rwxr-xr-x
2023-01-24 14:43
gresource
22.23
KB
-rwxr-xr-x
2024-11-14 09:42
groff
125.45
KB
-rwxr-xr-x
2023-03-07 09:38
grog
2.71
KB
-rwxr-xr-x
2023-03-07 09:38
grops
185.86
KB
-rwxr-xr-x
2023-03-07 09:38
grotty
137.48
KB
-rwxr-xr-x
2023-03-07 09:38
groups
42.89
KB
-rwxr-xr-x
2022-09-20 15:27
grub-editenv
374.16
KB
-rwxr-xr-x
2023-10-02 14:11
grub-file
809.41
KB
-rwxr-xr-x
2023-10-02 14:11
grub-fstest
931.13
KB
-rwxr-xr-x
2023-10-02 14:11
grub-glue-efi
245.01
KB
-rwxr-xr-x
2023-10-02 14:11
grub-kbdcomp
1.64
KB
-rwxr-xr-x
2023-10-02 14:11
grub-menulst2cfg
229.05
KB
-rwxr-xr-x
2023-10-02 14:11
grub-mkfont
273.66
KB
-rwxr-xr-x
2023-10-02 14:11
grub-mkimage
354.2
KB
-rwxr-xr-x
2023-10-02 14:11
grub-mklayout
249.29
KB
-rwxr-xr-x
2023-10-02 14:11
grub-mknetdir
410.99
KB
-rwxr-xr-x
2023-10-02 14:11
grub-mkpasswd-pbkdf2
257.35
KB
-rwxr-xr-x
2023-10-02 14:11
grub-mkrelpath
244.7
KB
-rwxr-xr-x
2023-10-02 14:11
grub-mkrescue
987.84
KB
-rwxr-xr-x
2023-10-02 14:11
grub-mkstandalone
487.32
KB
-rwxr-xr-x
2023-10-02 14:11
grub-mount
754.05
KB
-rwxr-xr-x
2023-10-02 14:11
grub-ntldr-img
34.58
KB
-rwxr-xr-x
2023-10-02 14:11
grub-render-label
822.01
KB
-rwxr-xr-x
2023-10-02 14:11
grub-script-check
272.82
KB
-rwxr-xr-x
2023-10-02 14:11
grub-syslinux2cfg
770.52
KB
-rwxr-xr-x
2023-10-02 14:11
gsettings
26.31
KB
-rwxr-xr-x
2024-11-14 09:42
gtbl
146.43
KB
-rwxr-xr-x
2023-03-07 09:38
gunzip
2.29
KB
-rwxr-xr-x
2022-04-10 02:22
gzexe
6.3
KB
-rwxr-xr-x
2022-04-10 02:22
gzip
95.84
KB
-rwxr-xr-x
2022-04-10 02:22
h2ph
28.54
KB
-rwxr-xr-x
2023-11-25 20:59
h2xs
59.51
KB
-rwxr-xr-x
2023-11-25 20:59
hardlink
50.39
KB
-rwxr-xr-x
2024-11-21 20:01
hd
58.32
KB
-rwxr-xr-x
2024-11-21 20:01
head
46.95
KB
-rwxr-xr-x
2022-09-20 15:27
helpztags
2.46
KB
-rwxr-xr-x
2025-02-16 05:23
hexdump
58.32
KB
-rwxr-xr-x
2024-11-21 20:01
host
114.7
KB
-rwxr-xr-x
2025-01-25 10:14
hostid
38.83
KB
-rwxr-xr-x
2022-09-20 15:27
hostname
22.15
KB
-rwxr-xr-x
2022-12-19 13:33
hostnamectl
30.38
KB
-rwxr-xr-x
2025-03-06 14:56
htcacheclean
34.24
KB
-rwxr-xr-x
2024-10-04 15:21
htdbm
26.23
KB
-rwxr-xr-x
2024-10-04 15:21
htdigest
14.23
KB
-rwxr-xr-x
2024-10-04 15:21
htpasswd
26.23
KB
-rwxr-xr-x
2024-10-04 15:21
i386
26.58
KB
-rwxr-xr-x
2024-11-21 20:01
icombine
38.63
KB
-rwxr-xr-x
2022-03-29 18:19
iconv
63.13
KB
-rwxr-xr-x
2025-03-06 22:46
id
47.02
KB
-rwxr-xr-x
2022-09-20 15:27
ifnames
4.08
KB
-rwxr-xr-x
2023-01-14 17:42
ijoin
18.26
KB
-rwxr-xr-x
2022-03-29 18:19
inetutils-telnet
186.2
KB
-rwxr-xr-x
2023-08-23 10:01
infocmp
62.31
KB
-rwxr-xr-x
2023-05-07 14:33
infotocap
90.34
KB
-rwxr-xr-x
2023-05-07 14:33
innochecksum
4.56
MB
-rwxr-xr-x
2025-02-19 00:56
innotop
445.44
KB
-rwxr-xr-x
2025-02-19 00:56
install
155.8
KB
-rwxr-xr-x
2022-09-20 15:27
install_compass
14.85
KB
-rwxr-xr-x
2013-12-19 05:41
instmodsh
4.27
KB
-rwxr-xr-x
2023-11-25 20:59
ionice
34.31
KB
-rwxr-xr-x
2024-11-21 20:01
ip
674.82
KB
-rwxr-xr-x
2023-05-22 13:19
ipcmk
34.38
KB
-rwxr-xr-x
2024-11-21 20:01
ipcrm
34.31
KB
-rwxr-xr-x
2024-11-21 20:01
ipcs
74.31
KB
-rwxr-xr-x
2024-11-21 20:01
iptables-xml
88.98
KB
-rwxr-xr-x
2023-01-16 13:44
ischroot
14.32
KB
-rwxr-xr-x
2023-07-28 23:46
ispell
102.73
KB
-rwxr-xr-x
2022-03-29 18:19
ispell-wrapper
7.05
KB
-rwxr-xr-x
2023-03-14 21:17
join
54.98
KB
-rwxr-xr-x
2022-09-20 15:27
journalctl
74.64
KB
-rwxr-xr-x
2025-03-06 14:56
json_pp
4.88
KB
-rwxr-xr-x
2023-11-25 20:59
kbd_mode
14.82
KB
-rwxr-xr-x
2023-03-23 09:34
kbdinfo
14.53
KB
-rwxr-xr-x
2023-03-23 09:34
kbxutil
162.77
KB
-rwxr-xr-x
2023-03-26 13:03
kernel-install
12.75
KB
-rwxr-xr-x
2025-03-06 14:56
kill
22.3
KB
-rwxr-xr-x
2022-12-19 06:06
killall
31.95
KB
-rwxr-xr-x
2022-12-13 05:27
kmod
174.27
KB
-rwxr-xr-x
2022-12-10 00:02
laptop-detect
3.73
KB
-rwxr-xr-x
2017-08-12 15:24
last
50.31
KB
-rwxr-xr-x
2024-11-21 20:01
lastb
50.31
KB
-rwxr-xr-x
2024-11-21 20:01
lastlog
31.75
KB
-rwxr-xr-x
2023-03-23 12:40
lcf
7.6
KB
-rwxr-xr-x
2024-12-20 07:39
ld
1.27
MB
-rwxr-xr-x
2023-01-14 17:24
ld.bfd
1.27
MB
-rwxr-xr-x
2023-01-14 17:24
ld.gold
2.99
MB
-rwxr-xr-x
2023-01-14 17:24
ld.so
209.96
KB
-rwxr-xr-x
2025-03-06 22:46
ldd
5.28
KB
-rwxr-xr-x
2025-03-06 22:46
less
194.3
KB
-rwxr-xr-x
2024-05-02 18:30
lessecho
14.24
KB
-rwxr-xr-x
2024-05-02 18:30
lessfile
8.83
KB
-rwxr-xr-x
2024-05-02 18:30
lesskey
23.63
KB
-rwxr-xr-x
2024-05-02 18:30
lesspipe
8.83
KB
-rwxr-xr-x
2024-05-02 18:30
letsencrypt
958
B
-rwxr-xr-x
2023-04-16 05:22
lexgrog
107.48
KB
-rwxr-xr-x
2023-03-12 22:23
lft
2.43
KB
-rwxr-xr-x
2023-02-25 12:24
lft.db
2.43
KB
-rwxr-xr-x
2023-02-25 12:24
libnetcfg
15.41
KB
-rwxr-xr-x
2023-11-25 20:59
libtoolize
133.12
KB
-rwxr-xr-x
2024-04-09 20:04
link
38.83
KB
-rwxr-xr-x
2022-09-20 15:27
linux-boot-prober
1.54
KB
-rwxr-xr-x
2018-08-10 19:23
linux-check-removal
4.56
KB
-rwxr-xr-x
2018-09-05 17:52
linux-update-symlinks
6.17
KB
-rwxr-xr-x
2016-06-05 01:13
linux-version
2.63
KB
-rwxr-xr-x
2022-02-11 02:17
linux32
26.58
KB
-rwxr-xr-x
2024-11-21 20:01
linux64
26.58
KB
-rwxr-xr-x
2024-11-21 20:01
ln
71.12
KB
-rwxr-xr-x
2022-09-20 15:27
lnstat
26.59
KB
-rwxr-xr-x
2023-05-22 13:19
loadkeys
215.34
KB
-rwxr-xr-x
2023-03-23 09:34
loadunimap
38.87
KB
-rwxr-xr-x
2023-03-23 09:34
locale
46.16
KB
-rwxr-xr-x
2025-03-06 22:46
localectl
26.38
KB
-rwxr-xr-x
2025-03-06 14:56
localedef
291.91
KB
-rwxr-xr-x
2025-03-06 22:46
logger
54.9
KB
-rwxr-xr-x
2024-11-21 20:01
login
51.78
KB
-rwxr-xr-x
2023-03-23 12:40
loginctl
58.48
KB
-rwxr-xr-x
2025-03-06 14:56
logname
38.83
KB
-rwxr-xr-x
2022-09-20 15:27
logresolve
14.24
KB
-rwxr-xr-x
2024-10-04 15:21
look
18.31
KB
-rwxr-xr-x
2024-11-21 20:01
ls
147.8
KB
-rwxr-xr-x
2022-09-20 15:27
lsattr
14.24
KB
-rwxr-xr-x
2023-03-05 03:16
lsb_release
2.59
KB
-rwxr-xr-x
2022-09-26 20:06
lsblk
202.31
KB
-rwxr-xr-x
2024-11-21 20:01
lscpu
126.31
KB
-rwxr-xr-x
2024-11-21 20:01
lsfd
120.3
KB
-rwxr-xr-x
2024-11-21 20:01
lsinitramfs
735
B
-rwxr-xr-x
2024-08-22 19:30
lsipc
98.31
KB
-rwxr-xr-x
2024-11-21 20:01
lsirq
34.48
KB
-rwxr-xr-x
2024-11-21 20:01
lslocks
70.7
KB
-rwxr-xr-x
2024-11-21 20:01
lslogins
94.31
KB
-rwxr-xr-x
2024-11-21 20:01
lsmem
66.31
KB
-rwxr-xr-x
2024-11-21 20:01
lsmod
174.27
KB
-rwxr-xr-x
2022-12-10 00:02
lsns
82.31
KB
-rwxr-xr-x
2024-11-21 20:01
lsof
175.61
KB
-rwxr-xr-x
2022-04-28 04:08
lspci
104.04
KB
-rwxr-xr-x
2023-01-17 23:50
lspgpot
1.06
KB
-rwxr-xr-x
2017-08-28 10:22
lsusb
247.07
KB
-rwxr-xr-x
2024-01-24 21:32
lto-dump
30.47
MB
-rwxr-xr-x
2023-01-08 09:12
lto-dump-12
30.47
MB
-rwxr-xr-x
2023-01-08 09:12
lzcat
82.7
KB
-rwxr-xr-x
2025-04-03 19:55
lzcmp
7.25
KB
-rwxr-xr-x
2025-04-03 19:55
lzdiff
7.25
KB
-rwxr-xr-x
2025-04-03 19:55
lzegrep
10.09
KB
-rwxr-xr-x
2025-04-03 19:55
lzfgrep
10.09
KB
-rwxr-xr-x
2025-04-03 19:55
lzgrep
10.09
KB
-rwxr-xr-x
2025-04-03 19:55
lzless
1.77
KB
-rwxr-xr-x
2025-04-03 19:55
lzma
82.7
KB
-rwxr-xr-x
2025-04-03 19:55
lzmainfo
14.3
KB
-rwxr-xr-x
2025-04-03 19:55
lzmore
2.14
KB
-rwxr-xr-x
2025-04-03 19:55
m4
271.52
KB
-rwxr-xr-x
2023-02-03 13:00
make
234.65
KB
-rwxr-xr-x
2021-04-10 13:55
make-first-existing-target
4.79
KB
-rwxr-xr-x
2021-04-10 13:55
man
121.36
KB
-rwxr-xr-x
2023-03-12 22:23
man-recode
35.38
KB
-rwxr-xr-x
2023-03-12 22:23
mandb
147.61
KB
-rwxr-xr-x
2023-03-12 22:23
manpath
34.78
KB
-rwxr-xr-x
2023-03-12 22:23
mapscrn
34.84
KB
-rwxr-xr-x
2023-03-23 09:34
mariadb
5.06
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-access
109.31
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-admin
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-analyze
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-binlog
5.11
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-check
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-conv
4.55
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-convert-table-format
4.12
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-dump
4.92
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-dumpslow
8.05
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-find-rows
3.21
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-fix-extensions
1.22
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-hotcopy
34.52
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-import
4.82
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-install-db
22.13
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-optimize
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-plugin
4.52
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-repair
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-report
49.02
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-secure-installation
13.49
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-service-convert
2.45
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-setpermission
17.56
KB
-rwxr-xr-x
2025-02-19 00:56
mariadb-show
4.82
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-slap
4.84
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-tzinfo-to-sql
4.53
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-upgrade
4.96
MB
-rwxr-xr-x
2025-02-19 00:56
mariadb-waitpid
4.51
MB
-rwxr-xr-x
2025-02-19 00:56
mariadbcheck
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mariadbd-multi
26.69
KB
-rwxr-xr-x
2025-02-19 00:56
mariadbd-safe
30.42
KB
-rwxr-xr-x
2025-02-19 00:56
mariadbd-safe-helper
4.49
MB
-rwxr-xr-x
2025-02-19 00:56
mawk
154.66
KB
-rwxr-xr-x
2022-06-17 15:35
mcookie
34.38
KB
-rwxr-xr-x
2024-11-21 20:01
md5sum
50.95
KB
-rwxr-xr-x
2022-09-20 15:27
md5sum.textutils
50.95
KB
-rwxr-xr-x
2022-09-20 15:27
mdig
50.33
KB
-rwxr-xr-x
2025-01-25 10:14
memusage
7.29
KB
-rwxr-xr-x
2025-03-06 22:46
memusagestat
22.69
KB
-rwxr-xr-x
2025-03-06 22:46
mesg
18.3
KB
-rwxr-xr-x
2024-11-21 20:01
migrate-pubring-from-classic-gpg
2.99
KB
-rwxr-xr-x
2022-09-01 22:08
mk_modmap
15.78
KB
-rwxr-xr-x
2023-03-23 09:34
mkdir
95.27
KB
-rwxr-xr-x
2022-09-20 15:27
mkfifo
67.17
KB
-rwxr-xr-x
2022-09-20 15:27
mknod
71.2
KB
-rwxr-xr-x
2022-09-20 15:27
mktemp
42.92
KB
-rwxr-xr-x
2022-09-20 15:27
mongod
207.63
MB
-rwxr-xr-x
2013-12-19 05:41
mongodump
17.53
MB
-rwxr-xr-x
2025-04-01 15:22
mongoexport
17.26
MB
-rwxr-xr-x
2025-04-01 15:22
mongofiles
17.25
MB
-rwxr-xr-x
2025-04-01 15:22
mongoimport
17.44
MB
-rwxr-xr-x
2025-04-01 15:22
mongorestore
17.9
MB
-rwxr-xr-x
2025-04-01 15:22
mongos
160.52
MB
-rwxr-xr-x
2013-12-19 05:41
mongosh
142.35
MB
-rwxr-xr-x
2025-03-06 15:39
mongostat
17.05
MB
-rwxr-xr-x
2025-04-01 15:22
mongotop
16.67
MB
-rwxr-xr-x
2025-04-01 15:22
more
58.31
KB
-rwxr-xr-x
2024-11-21 20:01
mount
58.3
KB
-rwsr-xr-x
2024-11-21 20:01
mountpoint
18.3
KB
-rwxr-xr-x
2024-11-21 20:01
msgattrib
26.3
KB
-rwxr-xr-x
2023-02-26 15:20
msgcat
22.3
KB
-rwxr-xr-x
2023-02-26 15:20
msgcmp
26.3
KB
-rwxr-xr-x
2023-02-26 15:20
msgcomm
22.3
KB
-rwxr-xr-x
2023-02-26 15:20
msgconv
22.3
KB
-rwxr-xr-x
2023-02-26 15:20
msgen
22.3
KB
-rwxr-xr-x
2023-02-26 15:20
msgexec
18.3
KB
-rwxr-xr-x
2023-02-26 15:20
msgfilter
30.3
KB
-rwxr-xr-x
2023-02-26 15:20
msgfmt
86.5
KB
-rwxr-xr-x
2023-02-26 15:20
msggrep
114.42
KB
-rwxr-xr-x
2023-02-26 15:20
msginit
66.65
KB
-rwxr-xr-x
2023-02-26 15:20
msgmerge
70.68
KB
-rwxr-xr-x
2023-02-26 15:20
msgunfmt
34.32
KB
-rwxr-xr-x
2023-02-26 15:20
msguniq
22.3
KB
-rwxr-xr-x
2023-02-26 15:20
msql2mysql
1.41
KB
-rwxr-xr-x
2025-02-19 00:56
mt
83.38
KB
-rwxr-xr-x
2022-09-14 19:45
mt-gnu
83.38
KB
-rwxr-xr-x
2022-09-14 19:45
mtrace
6.35
KB
-rwxr-xr-x
2025-03-06 22:46
munchlist
31.23
KB
-rwxr-xr-x
2022-03-29 18:19
mv
139.62
KB
-rwxr-xr-x
2022-09-20 15:27
my_print_defaults
4.52
MB
-rwxr-xr-x
2025-02-19 00:56
myisam_ftdump
4.85
MB
-rwxr-xr-x
2025-02-19 00:56
myisamchk
4.97
MB
-rwxr-xr-x
2025-02-19 00:56
myisamlog
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
myisampack
4.88
MB
-rwxr-xr-x
2025-02-19 00:56
mysql
5.06
MB
-rwxr-xr-x
2025-02-19 00:56
mysql_convert_table_format
4.12
KB
-rwxr-xr-x
2025-02-19 00:56
mysql_find_rows
3.21
KB
-rwxr-xr-x
2025-02-19 00:56
mysql_fix_extensions
1.22
KB
-rwxr-xr-x
2025-02-19 00:56
mysql_install_db
22.13
KB
-rwxr-xr-x
2025-02-19 00:56
mysql_plugin
4.52
MB
-rwxr-xr-x
2025-02-19 00:56
mysql_secure_installation
13.49
KB
-rwxr-xr-x
2025-02-19 00:56
mysql_setpermission
17.56
KB
-rwxr-xr-x
2025-02-19 00:56
mysql_tzinfo_to_sql
4.53
MB
-rwxr-xr-x
2025-02-19 00:56
mysql_upgrade
4.96
MB
-rwxr-xr-x
2025-02-19 00:56
mysql_waitpid
4.51
MB
-rwxr-xr-x
2025-02-19 00:56
mysqlaccess
109.31
KB
-rwxr-xr-x
2025-02-19 00:56
mysqladmin
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mysqlanalyze
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mysqlbinlog
5.11
MB
-rwxr-xr-x
2025-02-19 00:56
mysqlcheck
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mysqld_multi
26.69
KB
-rwxr-xr-x
2025-02-19 00:56
mysqld_safe
30.42
KB
-rwxr-xr-x
2025-02-19 00:56
mysqld_safe_helper
4.49
MB
-rwxr-xr-x
2025-02-19 00:56
mysqldump
4.92
MB
-rwxr-xr-x
2025-02-19 00:56
mysqldumpslow
8.05
KB
-rwxr-xr-x
2025-02-19 00:56
mysqlhotcopy
34.52
KB
-rwxr-xr-x
2025-02-19 00:56
mysqlimport
4.82
MB
-rwxr-xr-x
2025-02-19 00:56
mysqloptimize
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mysqlrepair
4.83
MB
-rwxr-xr-x
2025-02-19 00:56
mysqlreport
49.02
KB
-rwxr-xr-x
2025-02-19 00:56
mysqlshow
4.82
MB
-rwxr-xr-x
2025-02-19 00:56
mysqlslap
4.84
MB
-rwxr-xr-x
2025-02-19 00:56
mytop
71.95
KB
-rwxr-xr-x
2025-02-19 00:56
namei
34.31
KB
-rwxr-xr-x
2024-11-21 20:01
nano
280.74
KB
-rwxr-xr-x
2024-05-06 06:10
nawk
696.44
KB
-rwxr-xr-x
2023-02-19 13:30
nc
34.13
KB
-rwxr-xr-x
2021-08-20 11:41
nc.traditional
34.13
KB
-rwxr-xr-x
2021-08-20 11:41
neqn
913
B
-rwxr-xr-x
2023-03-07 09:38
netcat
34.13
KB
-rwxr-xr-x
2021-08-20 11:41
networkctl
106.38
KB
-rwxr-xr-x
2025-03-06 14:56
newgrp
47.75
KB
-rwsr-xr-x
2023-03-23 12:40
ngettext
34.31
KB
-rwxr-xr-x
2023-02-26 15:20
nice
42.86
KB
-rwxr-xr-x
2022-09-20 15:27
nisdomainname
22.15
KB
-rwxr-xr-x
2022-12-19 13:33
nl
111.11
KB
-rwxr-xr-x
2022-09-20 15:27
nm
44.03
KB
-rwxr-xr-x
2023-01-14 17:24
node
97.47
MB
-rwxr-xr-x
2024-04-10 12:32
nodejs
97.47
MB
-rwxr-xr-x
2024-04-10 12:32
nohup
42.89
KB
-rwxr-xr-x
2022-09-20 15:27
normalizer
244
B
-rwxr-xr-x
2022-11-27 08:00
npm
54
B
-rwxr-xr-x
2022-10-11 10:59
nproc
42.89
KB
-rwxr-xr-x
2022-09-20 15:27
npx
2.86
KB
-rwxr-xr-x
2023-08-09 13:29
nroff
3.22
KB
-rwxr-xr-x
2023-03-07 09:38
nsenter
34.54
KB
-rwxr-xr-x
2024-11-21 20:01
nslookup
114.74
KB
-rwxr-xr-x
2025-01-25 10:14
nstat
104.45
KB
-rwxr-xr-x
2023-05-22 13:19
nsupdate
74.55
KB
-rwxr-xr-x
2025-01-25 10:14
numfmt
67.02
KB
-rwxr-xr-x
2022-09-20 15:27
objcopy
155.66
KB
-rwxr-xr-x
2023-01-14 17:24
objdump
362.56
KB
-rwxr-xr-x
2023-01-14 17:24
od
79.02
KB
-rwxr-xr-x
2022-09-20 15:27
open
18.06
KB
-rwxr-xr-x
2021-11-29 13:07
openssl
953.26
KB
-rwxr-xr-x
2024-10-27 14:16
openvt
23.13
KB
-rwxr-xr-x
2023-03-23 09:34
os-prober
4.42
KB
-rwxr-xr-x
2021-09-22 18:07
pager
194.3
KB
-rwxr-xr-x
2024-05-02 18:30
partx
118.31
KB
-rwxr-xr-x
2024-11-21 20:01
passwd
66.65
KB
-rwsr-xr-x
2023-03-23 12:40
paste
42.89
KB
-rwxr-xr-x
2022-09-20 15:27
patch
187.44
KB
-rwxr-xr-x
2021-01-09 08:58
pathchk
42.86
KB
-rwxr-xr-x
2022-09-20 15:27
pcre2-config
1.93
KB
-rwxr-xr-x
2023-01-01 15:44
pdb3
62.4
KB
-rwxr-xr-x
2024-11-30 21:22
pdb3.11
62.4
KB
-rwxr-xr-x
2024-11-30 21:22
pear
793
B
-rwxr-xr-x
2023-06-12 06:24
peardev
814
B
-rwxr-xr-x
2023-06-12 06:24
pecl
727
B
-rwxr-xr-x
2023-06-12 06:24
peekfd
14.5
KB
-rwxr-xr-x
2022-12-13 05:27
perl
3.63
MB
-rwxr-xr-x
2023-11-25 20:59
perl5.36-x86_64-linux-gnu
14.41
KB
-rwxr-xr-x
2023-11-25 20:59
perl5.36.0
3.63
MB
-rwxr-xr-x
2023-11-25 20:59
perlbug
44.12
KB
-rwxr-xr-x
2023-11-25 20:59
perldoc
125
B
-rwxr-xr-x
2023-07-05 08:56
perlivp
10.61
KB
-rwxr-xr-x
2023-11-25 20:59
perlthanks
44.12
KB
-rwxr-xr-x
2023-11-25 20:59
perror
4.71
MB
-rwxr-xr-x
2025-02-19 00:56
pgrep
34.42
KB
-rwxr-xr-x
2022-12-19 06:06
phar
14.88
KB
-rwxr-xr-x
2025-10-01 20:26
phar.default
14.88
KB
-rwxr-xr-x
2025-10-01 20:26
phar.phar
14.88
KB
-rwxr-xr-x
2025-10-01 20:26
phar.phar.default
14.88
KB
-rwxr-xr-x
2025-10-01 20:26
phar.phar8.2
14.88
KB
-rwxr-xr-x
2025-03-13 18:10
phar.phar8.4
14.88
KB
-rwxr-xr-x
2025-10-01 20:26
phar8.2
14.88
KB
-rwxr-xr-x
2025-03-13 18:10
phar8.2.phar
14.88
KB
-rwxr-xr-x
2025-03-13 18:10
phar8.4
14.88
KB
-rwxr-xr-x
2025-10-01 20:26
phar8.4.phar
14.88
KB
-rwxr-xr-x
2025-10-01 20:26
php
5.72
MB
-rwxr-xr-x
2025-10-01 20:26
php-config
4.24
KB
-rwxr-xr-x
2025-03-13 18:10
php-config8.2
4.24
KB
-rwxr-xr-x
2025-03-13 18:10
php.default
5.72
MB
-rwxr-xr-x
2025-10-01 20:26
php8.2
5.4
MB
-rwxr-xr-x
2025-03-13 18:10
php8.4
5.72
MB
-rwxr-xr-x
2025-10-01 20:26
phpabtpl
8.47
KB
-rwxr-xr-x
2023-01-28 15:13
phpize
4.83
KB
-rwxr-xr-x
2025-03-13 18:10
phpize8.2
4.83
KB
-rwxr-xr-x
2025-03-13 18:10
pic
220.27
KB
-rwxr-xr-x
2023-03-07 09:38
pico
280.74
KB
-rwxr-xr-x
2024-05-06 06:10
piconv
8.16
KB
-rwxr-xr-x
2023-11-25 20:59
pidof
26.31
KB
-rwxr-xr-x
2023-04-03 06:25
pidwait
34.42
KB
-rwxr-xr-x
2022-12-19 06:06
pinentry
70.57
KB
-rwxr-xr-x
2022-10-18 14:52
pinentry-curses
70.57
KB
-rwxr-xr-x
2022-10-18 14:52
ping
88.45
KB
-rwxr-xr-x
2024-09-24 17:00
ping4
88.45
KB
-rwxr-xr-x
2024-09-24 17:00
ping6
88.45
KB
-rwxr-xr-x
2024-09-24 17:00
pinky
47.05
KB
-rwxr-xr-x
2022-09-20 15:27
pip
221
B
-rwxr-xr-x
2023-02-19 14:19
pip3
221
B
-rwxr-xr-x
2023-02-19 14:19
pip3.11
221
B
-rwxr-xr-x
2023-02-19 14:19
pkaction
18.23
KB
-rwxr-xr-x
2023-01-31 22:05
pkcheck
22.3
KB
-rwxr-xr-x
2023-01-31 22:05
pkcon
55.61
KB
-rwxr-xr-x
2023-05-28 17:00
pkg-config
44.04
KB
-rwxr-xr-x
2023-01-22 11:06
pkgconf
44.04
KB
-rwxr-xr-x
2023-01-22 11:06
pkgtools
1.34
KB
-rwxr-xr-x
2023-01-28 15:13
pkill
34.42
KB
-rwxr-xr-x
2022-12-19 06:06
pkmon
22.79
KB
-rwxr-xr-x
2023-05-28 17:00
pkttyagent
18.23
KB
-rwxr-xr-x
2023-01-31 22:05
pl2pm
4.43
KB
-rwxr-xr-x
2023-11-25 20:59
pldd
22.69
KB
-rwxr-xr-x
2025-03-06 22:46
pm2
56
B
-rwxr-xr-x
2025-04-08 13:05
pm2-dev
59
B
-rwxr-xr-x
2025-04-08 13:05
pm2-docker
67
B
-rwxr-xr-x
2025-04-08 13:05
pm2-runtime
67
B
-rwxr-xr-x
2025-04-08 13:05
pmap
34.34
KB
-rwxr-xr-x
2022-12-19 06:06
po2debconf
8.47
KB
-rwxr-xr-x
2020-12-30 01:09
pod2html
4.04
KB
-rwxr-xr-x
2023-11-25 20:59
pod2man
14.68
KB
-rwxr-xr-x
2023-11-25 20:59
pod2text
10.55
KB
-rwxr-xr-x
2023-11-25 20:59
pod2usage
4.01
KB
-rwxr-xr-x
2023-11-25 20:59
podchecker
3.57
KB
-rwxr-xr-x
2023-11-25 20:59
podebconf-display-po
12.67
KB
-rwxr-xr-x
2015-01-10 14:10
podebconf-report-po
31.76
KB
-rwxr-xr-x
2015-01-10 15:44
pr
79.11
KB
-rwxr-xr-x
2022-09-20 15:27
preconv
66.43
KB
-rwxr-xr-x
2023-03-07 09:38
print
18.06
KB
-rwxr-xr-x
2021-11-29 13:07
printenv
34.83
KB
-rwxr-xr-x
2022-09-20 15:27
printf
62.92
KB
-rwxr-xr-x
2022-09-20 15:27
prlimit
38.83
KB
-rwxr-xr-x
2024-11-21 20:01
procan
79.91
KB
-rwxr-xr-x
2022-11-06 08:15
prove
13.34
KB
-rwxr-xr-x
2023-11-25 20:59
prtstat
18.57
KB
-rwxr-xr-x
2022-12-13 05:27
ps
142.93
KB
-rwxr-xr-x
2022-12-19 06:06
psfaddtable
30.62
KB
-rwxr-xr-x
2023-03-23 09:34
psfgettable
30.62
KB
-rwxr-xr-x
2023-03-23 09:34
psfstriptable
30.62
KB
-rwxr-xr-x
2023-03-23 09:34
psfxtable
30.62
KB
-rwxr-xr-x
2023-03-23 09:34
pslog
14.45
KB
-rwxr-xr-x
2022-12-13 05:27
pstree
35.78
KB
-rwxr-xr-x
2022-12-13 05:27
pstree.x11
35.78
KB
-rwxr-xr-x
2022-12-13 05:27
ptar
3.48
KB
-rwxr-xr-x
2023-11-25 20:59
ptardiff
2.58
KB
-rwxr-xr-x
2023-11-25 20:59
ptargrep
4.29
KB
-rwxr-xr-x
2023-11-25 20:59
ptx
135.23
KB
-rwxr-xr-x
2022-09-20 15:27
pv
63.98
KB
-rwxr-xr-x
2022-04-12 00:55
pwd
42.92
KB
-rwxr-xr-x
2022-09-20 15:27
pwdx
14.3
KB
-rwxr-xr-x
2022-12-19 06:06
py3clean
7.63
KB
-rwxr-xr-x
2023-04-09 10:22
py3compile
13
KB
-rwxr-xr-x
2023-04-09 10:22
py3versions
12.52
KB
-rwxr-xr-x
2023-04-09 10:22
pydoc3
79
B
-rwxr-xr-x
2024-11-30 21:22
pydoc3.11
79
B
-rwxr-xr-x
2024-11-30 21:22
pygettext3
23.67
KB
-rwxr-xr-x
2023-02-07 13:37
pygettext3.11
23.67
KB
-rwxr-xr-x
2023-02-07 13:37
python3
6.52
MB
-rwxr-xr-x
2024-11-30 21:22
python3-config
3
KB
-rwxr-xr-x
2024-11-30 21:22
python3.11
6.52
MB
-rwxr-xr-x
2024-11-30 21:22
python3.11-config
3
KB
-rwxr-xr-x
2024-11-30 21:22
pzstd
742.38
KB
-rwxr-xr-x
2023-03-18 20:58
querybts
10.64
KB
-rwxr-xr-x
2023-04-29 06:38
ranlib
51.17
KB
-rwxr-xr-x
2023-01-14 17:24
rbash
1.21
MB
-rwxr-xr-x
2024-03-29 19:40
rdma
180.6
KB
-rwxr-xr-x
2023-05-22 13:19
readelf
751.38
KB
-rwxr-xr-x
2023-01-14 17:24
readlink
50.89
KB
-rwxr-xr-x
2022-09-20 15:27
realpath
50.92
KB
-rwxr-xr-x
2022-09-20 15:27
recode-sr-latin
14.3
KB
-rwxr-xr-x
2023-02-26 15:20
redis-benchmark
738.63
KB
-rwxr-xr-x
2025-01-19 10:41
redis-check-aof
2.28
MB
-rwxr-xr-x
2025-01-19 10:41
redis-check-rdb
2.28
MB
-rwxr-xr-x
2025-01-19 10:41
redis-cli
366.27
KB
-rwxr-xr-x
2025-01-19 10:41
redis-server
2.28
MB
-rwxr-xr-x
2025-01-19 10:41
rename.ul
22.3
KB
-rwxr-xr-x
2024-11-21 20:01
renice
14.3
KB
-rwxr-xr-x
2024-11-21 20:01
replace
4.5
MB
-rwxr-xr-x
2025-02-19 00:56
report-hw
2.06
KB
-rwxr-xr-x
2021-09-22 18:06
reportbug
110.11
KB
-rwxr-xr-x
2023-04-29 06:38
reset
30.24
KB
-rwxr-xr-x
2023-05-07 14:33
resizecons
26.8
KB
-rwxr-xr-x
2023-03-23 09:34
resizepart
70.31
KB
-rwxr-xr-x
2024-11-21 20:01
resolve_stack_dump
4.52
MB
-rwxr-xr-x
2025-02-19 00:56
resolveip
4.52
MB
-rwxr-xr-x
2025-02-19 00:56
rev
14.3
KB
-rwxr-xr-x
2024-11-21 20:01
rgrep
30
B
-rwxr-xr-x
2020-01-29 12:09
rm
71.05
KB
-rwxr-xr-x
2022-09-20 15:27
rmdir
54.92
KB
-rwxr-xr-x
2022-09-20 15:27
rnano
280.74
KB
-rwxr-xr-x
2024-05-06 06:10
rotatelogs
26.31
KB
-rwxr-xr-x
2024-10-04 15:21
routel
1.62
KB
-rwxr-xr-x
2023-05-22 13:19
rpcgen
95
KB
-rwxr-xr-x
2022-12-02 21:30
rrsync
12.34
KB
-rwxr-xr-x
2025-01-15 18:47
rsync
502.38
KB
-rwxr-xr-x
2025-01-15 18:47
rsync-ssl
5.02
KB
-rwxr-xr-x
2025-01-15 18:47
rtstat
26.59
KB
-rwxr-xr-x
2023-05-22 13:19
run-mailcap
18.06
KB
-rwxr-xr-x
2021-11-29 13:07
run-parts
26.91
KB
-rwxr-xr-x
2023-07-28 23:46
runcon
42.95
KB
-rwxr-xr-x
2022-09-20 15:27
rview
1.55
MB
-rwxr-xr-x
2025-02-16 05:23
savelog
10.24
KB
-rwxr-xr-x
2023-07-28 23:46
scp
266.63
KB
-rwxr-xr-x
2025-02-14 13:06
screendump
14.47
KB
-rwxr-xr-x
2023-03-23 09:34
script
70.3
KB
-rwxr-xr-x
2024-11-21 20:01
scriptlive
54.3
KB
-rwxr-xr-x
2024-11-21 20:01
scriptreplay
46.3
KB
-rwxr-xr-x
2024-11-21 20:01
sdiff
55.08
KB
-rwxr-xr-x
2023-02-03 19:00
sed
123.46
KB
-rwxr-xr-x
2023-01-05 19:55
see
18.06
KB
-rwxr-xr-x
2021-11-29 13:07
select-default-iwrap
474
B
-rwxr-xr-x
2023-03-14 21:17
select-editor
2.39
KB
-rwxr-xr-x
2023-01-14 16:28
sensible-browser
1.26
KB
-rwxr-xr-x
2023-01-14 16:28
sensible-editor
1.24
KB
-rwxr-xr-x
2023-01-14 16:28
sensible-pager
565
B
-rwxr-xr-x
2023-01-14 16:28
seq
58.92
KB
-rwxr-xr-x
2022-09-20 15:27
setarch
26.58
KB
-rwxr-xr-x
2024-11-21 20:01
setfont
58.9
KB
-rwxr-xr-x
2023-03-23 09:34
setkeycodes
14.52
KB
-rwxr-xr-x
2023-03-23 09:34
setleds
18.55
KB
-rwxr-xr-x
2023-03-23 09:34
setlogcons
14.52
KB
-rwxr-xr-x
2023-03-23 09:34
setmetamode
14.66
KB
-rwxr-xr-x
2023-03-23 09:34
setpci
30.31
KB
-rwxr-xr-x
2023-01-17 23:50
setpriv
78.31
KB
-rwxr-xr-x
2024-11-21 20:01
setsid
14.3
KB
-rwxr-xr-x
2024-11-21 20:01
setterm
46.31
KB
-rwxr-xr-x
2024-11-21 20:01
setupcon
39.35
KB
-rwxr-xr-x
2023-05-21 21:30
setvtrgb
14.65
KB
-rwxr-xr-x
2023-03-23 09:34
sftp
282.59
KB
-rwxr-xr-x
2025-02-14 13:06
sg
47.75
KB
-rwsr-xr-x
2023-03-23 12:40
sh
122.7
KB
-rwxr-xr-x
2023-01-05 13:20
sha1sum
54.95
KB
-rwxr-xr-x
2022-09-20 15:27
sha224sum
58.95
KB
-rwxr-xr-x
2022-09-20 15:27
sha256sum
58.95
KB
-rwxr-xr-x
2022-09-20 15:27
sha384sum
62.95
KB
-rwxr-xr-x
2022-09-20 15:27
sha512sum
62.95
KB
-rwxr-xr-x
2022-09-20 15:27
shasum
9.75
KB
-rwxr-xr-x
2023-11-25 20:59
showconsolefont
22.57
KB
-rwxr-xr-x
2023-03-23 09:34
showkey
18.56
KB
-rwxr-xr-x
2023-03-23 09:34
shred
63.14
KB
-rwxr-xr-x
2022-09-20 15:27
shtool
138.76
KB
-rwxr-xr-x
2019-12-23 21:26
shtoolize
15.16
KB
-rwxr-xr-x
2019-12-23 21:26
shuf
58.98
KB
-rwxr-xr-x
2022-09-20 15:27
size
26.86
KB
-rwxr-xr-x
2023-01-14 17:24
skill
30.33
KB
-rwxr-xr-x
2022-12-19 06:06
slabtop
22.37
KB
-rwxr-xr-x
2022-12-19 06:06
sleep
42.86
KB
-rwxr-xr-x
2022-09-20 15:27
slogin
1.07
MB
-rwxr-xr-x
2025-02-14 13:06
snice
30.33
KB
-rwxr-xr-x
2022-12-19 06:06
socat
401.98
KB
-rwxr-xr-x
2022-11-06 08:15
soelim
50.43
KB
-rwxr-xr-x
2023-03-07 09:38
sort
115.68
KB
-rwxr-xr-x
2022-09-20 15:27
sotruss
4.18
KB
-rwxr-xr-x
2025-03-06 22:46
splain
18.99
KB
-rwxr-xr-x
2023-11-25 20:59
split
59.55
KB
-rwxr-xr-x
2022-09-20 15:27
splitfont
14.39
KB
-rwxr-xr-x
2023-03-23 09:34
sprof
26.81
KB
-rwxr-xr-x
2025-03-06 22:46
ss
189.14
KB
-rwxr-xr-x
2023-05-22 13:19
ssh
1.07
MB
-rwxr-xr-x
2025-02-14 13:06
ssh-add
518.44
KB
-rwxr-xr-x
2025-02-14 13:06
ssh-agent
474.38
KB
-rwxr-sr-x
2025-02-14 13:06
ssh-argv0
1.42
KB
-rwxr-xr-x
2025-02-14 11:18
ssh-copy-id
12.38
KB
-rwxr-xr-x
2023-02-02 12:21
ssh-keygen
646.44
KB
-rwxr-xr-x
2025-02-14 13:06
ssh-keyscan
622.47
KB
-rwxr-xr-x
2025-02-14 13:06
stat
95.2
KB
-rwxr-xr-x
2022-09-20 15:27
stdbuf
58.92
KB
-rwxr-xr-x
2022-09-20 15:27
streamzip
7.75
KB
-rwxr-xr-x
2023-11-25 20:59
strings
30.98
KB
-rwxr-xr-x
2023-01-14 17:24
strip
155.7
KB
-rwxr-xr-x
2023-01-14 17:24
stty
83.02
KB
-rwxr-xr-x
2022-09-20 15:27
su
70.31
KB
-rwsr-xr-x
2024-11-21 20:01
sudo
275.02
KB
-rwsr-xr-x
2023-06-27 11:45
sudoedit
275.02
KB
-rwsr-xr-x
2023-06-27 11:45
sudoreplay
115.7
KB
-rwxr-xr-x
2023-06-27 11:45
sum
50.96
KB
-rwxr-xr-x
2022-09-20 15:27
sync
38.89
KB
-rwxr-xr-x
2022-09-20 15:27
systemctl
1.29
MB
-rwxr-xr-x
2025-03-06 14:56
systemd
90.38
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-analyze
182.61
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-ask-password
18.48
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-cat
18.38
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-cgls
22.48
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-cgtop
38.4
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-creds
42.61
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-cryptenroll
58.6
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-delta
26.38
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-detect-virt
18.37
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-escape
18.37
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-firstboot
50.59
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-hwdb
126.66
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-id128
22.37
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-inhibit
22.39
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-machine-id-setup
18.48
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-mount
50.59
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-notify
18.38
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-path
18.37
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-repart
150.69
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-run
58.57
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-socket-activate
26.38
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-stdio-bridge
18.38
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-sysext
42.49
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-sysusers
62.68
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-tmpfiles
110.57
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-tty-ask-password-agent
34.38
KB
-rwxr-xr-x
2025-03-06 14:56
systemd-umount
50.59
KB
-rwxr-xr-x
2025-03-06 14:56
tabs
18.23
KB
-rwxr-xr-x
2023-05-07 14:33
tac
111.05
KB
-rwxr-xr-x
2022-09-20 15:27
tail
75.14
KB
-rwxr-xr-x
2022-09-20 15:27
tar
519.52
KB
-rwxr-xr-x
2024-01-20 09:27
tasksel
26.82
KB
-rwxr-xr-x
2023-05-25 06:27
taskset
62.31
KB
-rwxr-xr-x
2024-11-21 20:01
tbl
146.43
KB
-rwxr-xr-x
2023-03-07 09:38
tee
42.95
KB
-rwxr-xr-x
2022-09-20 15:27
telnet
186.2
KB
-rwxr-xr-x
2023-08-23 10:01
tempfile
14.18
KB
-rwxr-xr-x
2023-07-28 23:46
test
58.89
KB
-rwxr-xr-x
2022-09-20 15:27
tic
90.34
KB
-rwxr-xr-x
2023-05-07 14:33
timedatectl
42.37
KB
-rwxr-xr-x
2025-03-06 14:56
timeout
47.49
KB
-rwxr-xr-x
2022-09-20 15:27
tload
18.32
KB
-rwxr-xr-x
2022-12-19 06:06
toe
22.23
KB
-rwxr-xr-x
2023-05-07 14:33
top
131.58
KB
-rwxr-xr-x
2022-12-19 06:06
touch
107.05
KB
-rwxr-xr-x
2022-09-20 15:27
tput
26.27
KB
-rwxr-xr-x
2023-05-07 14:33
tr
54.89
KB
-rwxr-xr-x
2022-09-20 15:27
traceproto
2.82
KB
-rwxr-xr-x
2023-02-25 12:24
traceproto.db
2.82
KB
-rwxr-xr-x
2023-02-25 12:24
traceroute
71.23
KB
-rwxr-xr-x
2023-02-25 12:24
traceroute-nanog
1.58
KB
-rwxr-xr-x
2023-02-25 12:24
traceroute.db
71.23
KB
-rwxr-xr-x
2023-02-25 12:24
traceroute6
71.23
KB
-rwxr-xr-x
2023-02-25 12:24
traceroute6.db
71.23
KB
-rwxr-xr-x
2023-02-25 12:24
troff
755.83
KB
-rwxr-xr-x
2023-03-07 09:38
true
34.83
KB
-rwxr-xr-x
2022-09-20 15:27
truncate
42.89
KB
-rwxr-xr-x
2022-09-20 15:27
tryaffix
4.8
KB
-rwxr-xr-x
2022-03-29 18:19
tset
30.24
KB
-rwxr-xr-x
2023-05-07 14:33
tsort
54.89
KB
-rwxr-xr-x
2022-09-20 15:27
tty
34.86
KB
-rwxr-xr-x
2022-09-20 15:27
tzselect
14.99
KB
-rwxr-xr-x
2025-03-06 22:46
ucf
40.69
KB
-rwxr-xr-x
2024-12-20 07:39
ucfq
18.91
KB
-rwxr-xr-x
2024-12-20 07:39
ucfr
10.85
KB
-rwxr-xr-x
2024-12-20 07:39
uclampset
62.31
KB
-rwxr-xr-x
2024-11-21 20:01
udevadm
1.29
MB
-rwxr-xr-x
2025-03-06 14:56
ul
22.31
KB
-rwxr-xr-x
2024-11-21 20:01
umount
34.3
KB
-rwsr-xr-x
2024-11-21 20:01
uname
42.86
KB
-rwxr-xr-x
2022-09-20 15:27
uncompress
2.29
KB
-rwxr-xr-x
2022-04-10 02:22
unexpand
42.92
KB
-rwxr-xr-x
2022-09-20 15:27
unicode_start
2.71
KB
-rwxr-xr-x
2023-03-23 09:34
unicode_stop
528
B
-rwxr-xr-x
2023-03-23 09:34
uniq
46.95
KB
-rwxr-xr-x
2022-09-20 15:27
unlink
38.83
KB
-rwxr-xr-x
2022-09-20 15:27
unlzma
82.7
KB
-rwxr-xr-x
2025-04-03 19:55
unmkinitramfs
3.59
KB
-rwxr-xr-x
2024-08-22 19:30
unshare
82.54
KB
-rwxr-xr-x
2024-11-21 20:01
unxz
82.7
KB
-rwxr-xr-x
2025-04-03 19:55
unzip
175.05
KB
-rwxr-xr-x
2023-02-19 18:02
unzipsfx
82.86
KB
-rwxr-xr-x
2023-02-19 18:02
unzstd
1.22
MB
-rwxr-xr-x
2023-03-18 20:58
update-alternatives
58.31
KB
-rwxr-xr-x
2023-05-11 02:04
update-mime-database
59.27
KB
-rwxr-xr-x
2022-04-29 17:19
uptime
14.3
KB
-rwxr-xr-x
2022-12-19 06:06
usb-devices
4.35
KB
-rwxr-xr-x
2024-01-24 21:32
usbhid-dump
30.76
KB
-rwxr-xr-x
2024-01-24 21:32
usbreset
14.46
KB
-rwxr-xr-x
2024-01-24 21:32
users
38.89
KB
-rwxr-xr-x
2022-09-20 15:27
utmpdump
30.3
KB
-rwxr-xr-x
2024-11-21 20:01
vdir
147.8
KB
-rwxr-xr-x
2022-09-20 15:27
vi
1.55
MB
-rwxr-xr-x
2025-02-16 05:23
view
1.55
MB
-rwxr-xr-x
2025-02-16 05:23
vim.tiny
1.55
MB
-rwxr-xr-x
2025-02-16 05:23
vmstat
34.72
KB
-rwxr-xr-x
2022-12-19 06:06
w
22.3
KB
-rwxr-xr-x
2022-12-19 06:06
wall
38.3
KB
-rwxr-xr-x
2024-11-21 20:01
watch
26.71
KB
-rwxr-xr-x
2022-12-19 06:06
watchgnupg
18.23
KB
-rwxr-xr-x
2023-03-26 13:03
wc
51.05
KB
-rwxr-xr-x
2022-09-20 15:27
wdctl
70.34
KB
-rwxr-xr-x
2024-11-21 20:01
wget
459.36
KB
-rwxr-xr-x
2025-03-03 13:32
whatis
51.29
KB
-rwxr-xr-x
2023-03-12 22:23
whereis
30.77
KB
-rwxr-xr-x
2024-11-21 20:01
which
946
B
-rwxr-xr-x
2023-07-28 23:46
which.debianutils
946
B
-rwxr-xr-x
2023-07-28 23:46
whiptail
26.75
KB
-rwxr-xr-x
2023-01-31 14:53
who
59.02
KB
-rwxr-xr-x
2022-09-20 15:27
whoami
38.86
KB
-rwxr-xr-x
2022-09-20 15:27
write
22.31
KB
-rwxr-xr-x
2024-11-21 20:01
wsrep_sst_backup
2.39
KB
-rwxr-xr-x
2025-02-19 00:56
wsrep_sst_common
66.5
KB
-rwxr-xr-x
2025-02-19 00:56
wsrep_sst_mariabackup
49.21
KB
-rwxr-xr-x
2025-02-19 00:56
wsrep_sst_mysqldump
8.04
KB
-rwxr-xr-x
2025-02-19 00:56
wsrep_sst_rsync
29.7
KB
-rwxr-xr-x
2025-02-19 00:56
wsrep_sst_rsync_wan
29.7
KB
-rwxr-xr-x
2025-02-19 00:56
x86_64
26.58
KB
-rwxr-xr-x
2024-11-21 20:01
x86_64-linux-gnu-addr2line
23.14
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-ar
51.17
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-as
897.41
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-c++filt
18.51
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-cpp
1.24
MB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-cpp-12
1.24
MB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-dwp
1.79
MB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-elfedit
35.03
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-g++
1.25
MB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-g++-12
1.25
MB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcc
1.24
MB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcc-12
1.24
MB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcc-ar
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcc-ar-12
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcc-nm
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcc-nm-12
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcc-ranlib
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcc-ranlib-12
34.54
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcov
720.16
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcov-12
720.16
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcov-dump
568.02
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcov-dump-12
568.02
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcov-tool
588.09
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gcov-tool-12
588.09
KB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-gold
2.99
MB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-gp-archive
159.06
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-gp-collect-app
175.27
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-gp-display-html
578.29
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-gp-display-src
150.81
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-gp-display-text
257.3
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-gprof
108.35
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-gprofng
146.59
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-ld
1.27
MB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-ld.bfd
1.27
MB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-ld.gold
2.99
MB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-lto-dump
30.47
MB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-lto-dump-12
30.47
MB
-rwxr-xr-x
2023-01-08 09:12
x86_64-linux-gnu-nm
44.03
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-objcopy
155.66
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-objdump
362.56
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-pkg-config
44.04
KB
-rwxr-xr-x
2023-01-22 11:06
x86_64-linux-gnu-pkgconf
44.04
KB
-rwxr-xr-x
2023-01-22 11:06
x86_64-linux-gnu-python3-config
3
KB
-rwxr-xr-x
2024-11-30 21:22
x86_64-linux-gnu-python3.11-config
3
KB
-rwxr-xr-x
2024-11-30 21:22
x86_64-linux-gnu-ranlib
51.17
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-readelf
751.38
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-size
26.86
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-strings
30.98
KB
-rwxr-xr-x
2023-01-14 17:24
x86_64-linux-gnu-strip
155.7
KB
-rwxr-xr-x
2023-01-14 17:24
xargs
70.45
KB
-rwxr-xr-x
2023-01-08 18:07
xauth
51.5
KB
-rwxr-xr-x
2023-01-24 16:29
xdg-user-dir
234
B
-rwxr-xr-x
2022-09-26 14:37
xdg-user-dirs-update
26.16
KB
-rwxr-xr-x
2022-09-26 14:37
xgettext
292.78
KB
-rwxr-xr-x
2023-02-26 15:20
xsubpp
5.05
KB
-rwxr-xr-x
2023-11-25 20:59
xz
82.7
KB
-rwxr-xr-x
2025-04-03 19:55
xzcat
82.7
KB
-rwxr-xr-x
2025-04-03 19:55
xzcmp
7.25
KB
-rwxr-xr-x
2025-04-03 19:55
xzdiff
7.25
KB
-rwxr-xr-x
2025-04-03 19:55
xzegrep
10.09
KB
-rwxr-xr-x
2025-04-03 19:55
xzfgrep
10.09
KB
-rwxr-xr-x
2025-04-03 19:55
xzgrep
10.09
KB
-rwxr-xr-x
2025-04-03 19:55
xzless
1.77
KB
-rwxr-xr-x
2025-04-03 19:55
xzmore
2.14
KB
-rwxr-xr-x
2025-04-03 19:55
yes
38.83
KB
-rwxr-xr-x
2022-09-20 15:27
ypdomainname
22.15
KB
-rwxr-xr-x
2022-12-19 13:33
zcat
1.94
KB
-rwxr-xr-x
2022-04-10 02:22
zcmp
1.64
KB
-rwxr-xr-x
2022-04-10 02:22
zdiff
6.31
KB
-rwxr-xr-x
2022-04-10 02:22
zdump
22.52
KB
-rwxr-xr-x
2025-03-06 22:46
zegrep
29
B
-rwxr-xr-x
2022-04-10 02:22
zfgrep
29
B
-rwxr-xr-x
2022-04-10 02:22
zforce
2.03
KB
-rwxr-xr-x
2022-04-10 02:22
zgrep
7.91
KB
-rwxr-xr-x
2022-04-10 02:22
zip
212.27
KB
-rwxr-xr-x
2023-02-19 18:00
zipcloak
92.48
KB
-rwxr-xr-x
2023-02-19 18:00
zipdetails
68.55
KB
-rwxr-xr-x
2023-11-25 20:59
zipgrep
2.89
KB
-rwxr-xr-x
2023-02-19 18:02
zipinfo
175.05
KB
-rwxr-xr-x
2023-02-19 18:02
zipnote
84.16
KB
-rwxr-xr-x
2023-02-19 18:00
zipsplit
88.19
KB
-rwxr-xr-x
2023-02-19 18:00
zless
2.15
KB
-rwxr-xr-x
2022-04-10 02:22
zmore
1.8
KB
-rwxr-xr-x
2022-04-10 02:22
znew
4.47
KB
-rwxr-xr-x
2022-04-10 02:22
zstd
1.22
MB
-rwxr-xr-x
2023-03-18 20:58
zstdcat
1.22
MB
-rwxr-xr-x
2023-03-18 20:58
zstdgrep
3.78
KB
-rwxr-xr-x
2023-03-18 20:58
zstdless
197
B
-rwxr-xr-x
2023-03-18 20:58
zstdmt
1.22
MB
-rwxr-xr-x
2023-03-18 20:58
Save
Rename
# Copyright (C) 2017-2024 MariaDB # Copyright (C) 2012-2015 Codership Oy # # 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; version 2 of the License. # # 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; see the file COPYING. If not, write to the # Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston # MA 02110-1335 USA. # This is a common command line parser and common functions to # be sourced by other SST scripts. trap 'exit 32' HUP PIPE trap 'exit 3' INT QUIT TERM OS="$(uname)" # Setting the paths for some utilities on CentOS export PATH="${PATH:+$PATH:}/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin" if [ "$OS" != 'Darwin' ]; then export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/usr/local/lib:/usr/lib:/lib:/opt/lib" fi commandex() { if [ -n "$BASH_VERSION" ]; then command -v "$1" || : elif [ -x "$1" ]; then echo "$1" else which "$1" || : fi } with_bash_42=0 with_printf=1 if [ -z "$BASH_VERSION" ]; then [ -z "$(commandex printf)" ] && with_printf=0 else [ "${BASH_VERSINFO[0]}" -eq 4 -a "${BASH_VERSINFO[1]}" -ge 2 -o \ "${BASH_VERSINFO[0]}" -gt 4 ] && with_bash_42=1 fi wsrep_log() { local t # echo everything to stderr so that it gets into common error log # deliberately made to look different from the rest of the log if [ "$OS" = 'Linux' ]; then t=$(date '+%Y%m%d %H:%M:%S.%3N') elif [ $with_bash_42 -ne 0 ]; then printf -v t '%(%Y%m%d %H:%M:%S)T.000' else t=$(date '+%Y%m%d %H:%M:%S.000') fi echo "WSREP_SST: $* ($t)" >&2 } wsrep_log_error() { wsrep_log "[ERROR] $*" } wsrep_log_warning() { wsrep_log "[WARNING] $*" } wsrep_log_info() { wsrep_log "[INFO] $*" } trim_string() { if [ -n "$BASH_VERSION" ]; then local pattern="[![:space:]${2:-}]" local x="${1#*$pattern}" local z=${#1} x=${#x} if [ $x -ne $z ]; then local y="${1%$pattern*}" y=${#y} x=$(( z-x-1 )) y=$(( y-x+1 )) echo "${1:$x:$y}" else echo '' fi else local pattern="[[:space:]${2:-}]" echo "$1" | sed -E "s/^$pattern+|$pattern+\$//g" fi } trim_dir() { if [ -n "$BASH_VERSION" ]; then local pattern="![:space:]${2:-}" local x="${1#*[$pattern]}" local z=${#1} x=${#x} if [ $x -ne $z ]; then local y="${1%[$pattern/]*}" y=${#y} x=$(( z-x-1 )) y=$(( y-x+1 )) x="${1:$x:$y}" [ -z "$x" ] && x='.' echo "$x" else echo '' fi else local pattern="[:space:]${2:-}" local x=$(echo "$1" | sed -E "s/^[$pattern]+|[$pattern/]+\$//g") if [ -n "$x" ]; then echo "$x" elif "${1#*/}" != "$1"; then echo '.' else echo '' fi fi } trim_right() { if [ -n "$BASH_VERSION" ]; then local pattern="[![:space:]${2:-}]" local z=${#1} local y="${1%$pattern*}" y=${#y} if [ $y -ne $z ]; then y=$(( y+1 )) echo "${1:0:$y}" else echo '' fi else local pattern="[[:space:]${2:-}]" echo "$1" | sed -E "s/$pattern+\$//g" fi } trim_left() { if [ -n "$BASH_VERSION" ]; then local pattern="[![:space:]${2:-}]" local x="${1#*$pattern}" local z=${#1} x=${#x} if [ $x -ne $z ]; then x=$(( z-x-1 )) echo "${1:$x:$z}" else echo '' fi else local pattern="[[:space:]${2:-}]" echo "$1" | sed -E "s/^$pattern+//g" fi } to_minuses() { local x="$1" local t="${1#*_}" local r="" while [ "$t" != "$x" ]; do r="$r${x%%_*}-" x="$t" t="${t#*_}" done echo "$r$x" } WSREP_SST_OPT_BYPASS=0 WSREP_SST_OPT_PROGRESS=0 WSREP_SST_OPT_BINLOG="" WSREP_SST_OPT_BINLOG_INDEX="" WSREP_SST_OPT_LOG_BASENAME="" WSREP_SST_OPT_DATA="" WSREP_SST_OPT_AUTH="${WSREP_SST_OPT_AUTH:-}" WSREP_SST_OPT_USER="${WSREP_SST_OPT_USER:-}" WSREP_SST_OPT_PSWD="${WSREP_SST_OPT_PSWD:-}" WSREP_SST_OPT_DEFAULT="" WSREP_SST_OPT_DEFAULTS="" WSREP_SST_OPT_EXTRA_DEFAULT="" WSREP_SST_OPT_EXTRA_DEFAULTS="" WSREP_SST_OPT_SUFFIX_DEFAULT="" WSREP_SST_OPT_SUFFIX_VALUE="" WSREP_SST_OPT_MYSQLD="" WSREP_SST_OPT_PORT="" WSREP_SST_OPT_ADDR="" WSREP_SST_OPT_ADDR_PORT="" WSREP_SST_OPT_HOST="" WSREP_SST_OPT_HOST_UNESCAPED="" ARIA_LOG_DIR="" INNODB_DATA_HOME_DIR=$(trim_dir "${INNODB_DATA_HOME_DIR:-}") INNODB_LOG_GROUP_HOME=$(trim_dir "${INNODB_LOG_GROUP_HOME:-}") INNODB_UNDO_DIR=$(trim_dir "${INNODB_UNDO_DIR:-}") INNODB_BUFFER_POOL="" INNODB_BUFFER_POOL_SIZE="" INNODB_FORCE_RECOVERY="" INNOEXTRA="" while [ $# -gt 0 ]; do case "$1" in '--address') WSREP_SST_OPT_ADDR=$(trim_string "$2") # # Break address string into host:port/path parts # case "$WSREP_SST_OPT_ADDR" in \[*) # IPv6 # Remove the starting and ending square brackets, if present: addr="${WSREP_SST_OPT_ADDR#\[}" addr=$(trim_right "${addr%%\]*}") # Some utilities and subsequent code require an address # without square brackets: readonly WSREP_SST_OPT_HOST_UNESCAPED="$addr" # Square brackets are needed in most cases: readonly WSREP_SST_OPT_HOST="[$addr]" # Mark this address as IPv6: readonly WSREP_SST_OPT_HOST_IPv6=1 # Let's remove the leading part that contains the host address: remain="${WSREP_SST_OPT_ADDR#*\]}" ;; *) addr=$(trim_right "${WSREP_SST_OPT_ADDR%%[:/]*}") readonly WSREP_SST_OPT_HOST="$addr" readonly WSREP_SST_OPT_HOST_UNESCAPED="$addr" readonly WSREP_SST_OPT_HOST_IPv6=0 # Let's remove the leading part that contains the host address: remain="${WSREP_SST_OPT_ADDR#*[:/]}" ;; esac # If there is nothing but the address, then the remainder is empty: [ "$remain" = "$WSREP_SST_OPT_ADDR" ] && remain="" # Let's remove the ":" character that separates the port number # from the hostname: remain="${remain#:}" # Extract the port number from the address - all characters # up to "/" (if present): WSREP_SST_OPT_ADDR_PORT="${remain%%/*}" # If the "/" character is present, then the path is not empty: if [ "$WSREP_SST_OPT_ADDR_PORT" != "$remain" ]; then # This operation removes everything up to the "/" character, # effectively removing the port number from the string: readonly WSREP_SST_OPT_PATH="${remain#*/}" else readonly WSREP_SST_OPT_PATH="" fi WSREP_SST_OPT_ADDR_PORT=$(trim_right "$WSREP_SST_OPT_ADDR_PORT") # Remove the module name part from the string, which ends with "/": remain="${WSREP_SST_OPT_PATH#*/}" # This operation removes the tail after the very first occurrence # of the "/" character, inclusively: readonly WSREP_SST_OPT_MODULE=$(trim_right "${WSREP_SST_OPT_PATH%%/*}") # If there is one more "/" in the string, then everything before # it will be the LSN, otherwise the LSN is empty: if [ "$remain" != "$WSREP_SST_OPT_PATH" ]; then # Extract the part that matches the LSN by removing all # characters starting from the very first "/": readonly WSREP_SST_OPT_LSN=$(trim_right "${remain%%/*}") # Exctract everything after the first occurrence of # the "/" character in the string: source="$remain" remain="${remain#*/}" # If the remainder does not match the original string, # then there is something else (the version number in # our case): if [ "$remain" != "$source" ]; then # Let's extract the version number by removing the tail # after the very first occurence of the "/" character # (inclusively): readonly WSREP_SST_OPT_SST_VER=$(trim_right "${remain%%/*}") else readonly WSREP_SST_OPT_SST_VER="" fi else readonly WSREP_SST_OPT_LSN="" readonly WSREP_SST_OPT_SST_VER="" fi shift ;; '--bypass') readonly WSREP_SST_OPT_BYPASS=1 ;; '--progress') readonly WSREP_SST_OPT_PROGRESS=$(( $2 )) shift ;; '--datadir') # Let's remove the trailing slash: readonly WSREP_SST_OPT_DATA=$(trim_dir "$2") shift ;; '--aria-log-dir-path') # Let's remove the trailing slash: readonly ARIA_LOG_DIR=$(trim_dir "$2") shift ;; '--innodb-data-home-dir') # Let's remove the trailing slash: readonly INNODB_DATA_HOME_DIR=$(trim_dir "$2") shift ;; '--innodb-log-group-home-dir') # Let's remove the trailing slash: readonly INNODB_LOG_GROUP_HOME=$(trim_dir "$2") shift ;; '--innodb-undo-directory') # Let's remove the trailing slash: readonly INNODB_UNDO_DIR=$(trim_dir "$2") shift ;; '--innodb-buffer-pool-filename') readonly INNODB_BUFFER_POOL=$(trim_string "$2") shift ;; '--innodb-buffer-pool-size') readonly INNODB_BUFFER_POOL_SIZE=$(trim_string "$2") shift ;; '--defaults-file') file=$(trim_string "$2") readonly WSREP_SST_OPT_DEFAULT="$1=$file" readonly WSREP_SST_OPT_DEFAULTS="$1='$file'" shift ;; '--defaults-extra-file') file=$(trim_string "$2") readonly WSREP_SST_OPT_EXTRA_DEFAULT="$1=$file" readonly WSREP_SST_OPT_EXTRA_DEFAULTS="$1='$file'" shift ;; '--defaults-group-suffix') suffix=$(trim_string "$2") readonly WSREP_SST_OPT_SUFFIX_DEFAULT="$1=$suffix" readonly WSREP_SST_OPT_SUFFIX_VALUE="$suffix" shift ;; '--host') addr=$(trim_string "$2") case "$addr" in \[*) # IPv6 # Remove the starting and ending square brackets, if present: addr="${addr#\[}" addr=$(trim_right "${addr%%\]*}") # Some utilities and subsequent code require an address # without square brackets: readonly WSREP_SST_OPT_HOST_UNESCAPED="$addr" # Square brackets are needed in most cases: readonly WSREP_SST_OPT_HOST="[$addr]" # Mark this address as IPv6: readonly WSREP_SST_OPT_HOST_IPv6=1 ;; *) readonly WSREP_SST_OPT_HOST="$addr" readonly WSREP_SST_OPT_HOST_UNESCAPED="$addr" readonly WSREP_SST_OPT_HOST_IPv6=0 ;; esac WSREP_SST_OPT_ADDR="$addr" shift ;; '--local-port') readonly WSREP_SST_OPT_LPORT=$(( $2 )) shift ;; '--parent') readonly WSREP_SST_OPT_PARENT=$(( $2 )) shift ;; '--password') WSREP_SST_OPT_PSWD="$2" shift ;; '--port') readonly WSREP_SST_OPT_PORT=$(( $2 )) shift ;; '--role') readonly WSREP_SST_OPT_ROLE=$(trim_string "$2") shift ;; '--socket') readonly WSREP_SST_OPT_SOCKET=$(trim_string "$2") shift ;; '--user') WSREP_SST_OPT_USER="$2" shift ;; '--gtid') readonly WSREP_SST_OPT_GTID=$(trim_string "$2") shift ;; '--binlog'|'--log-bin') readonly WSREP_SST_OPT_BINLOG=$(trim_string "$2") shift ;; '--binlog-index'|'--log-bin-index') WSREP_SST_OPT_BINLOG_INDEX=$(trim_string "$2") shift ;; '--log-basename') readonly WSREP_SST_OPT_LOG_BASENAME=$(trim_string "$2") shift ;; '--gtid-domain-id') readonly WSREP_SST_OPT_GTID_DOMAIN_ID=$(trim_string "$2") shift ;; '--mysqld-args') original_cmd="" shift cmd_tail=0 while [ $# -gt 0 ]; do lname="${1#--}" # "--" is interpreted as the end of the list of options: if [ -z "$lname" ]; then shift if [ $# -gt 0 ]; then # copy "--" to the output string: original_cmd="$original_cmd --" # All other arguments must be copied unchanged: while [ $# -gt 0 ]; do original_cmd="$original_cmd '$1'" shift done fi break fi # Make sure the argument does not start with "--", otherwise it # is a long option, which is processed after this "if": if [ "$lname" = "$1" ]; then # Check if the argument is the short option or the short # options list, starting with "-": options="${1#-}" if [ "$options" != "$1" -a -n "$options" ]; then slist="" while [ -n "$options" ]; do # Let's separate the first character as the current # option name: if [ -n "$BASH_VERSION" ]; then option="${options:0:1}" elif [ $with_printf -ne 0 ]; then option=$(printf '%.1s' "$options") else # If it's not bash and without printf, # then we need to use slow external utilities: option=$(echo "$options" | cut -c1) fi # And the subsequent characters consider option value: value="" if [ ${#options} -gt 0 ]; then value="${options#?}" fi # Check for options without argument: if [ "$option" != '?' -a \ "$option" != 'a' -a \ "$option" != 's' -a \ "$option" != 'v' ] then # If the option value is absent, then check # the following argument: if [ -z "$value" -a $# -gt 1 ]; then # if the next argument does not start with # the "-" character, then next argument is # the current option value: if [ "${2#-}" = "$2" ]; then shift value="$1" elif [ "$2" = '--' ]; then shift if [ $# -gt 1 ]; then cmd_tail=1 shift value="$1" fi fi fi if [ "$option" = 'h' ]; then if [ -z "$WSREP_SST_OPT_DATA" ]; then MYSQLD_OPT_DATADIR=$(trim_dir "$value") fi elif [ "$option" != 'u' -a \ "$option" != 'P' ] then if [ $cmd_tail -ne 0 ]; then option="$option --" fi if [ -z "$value" ]; then slist="$slist$option" elif [ -z "$slist" ]; then slist="$option '$value'" else slist="$slist -$option '$value'" fi break fi if [ $cmd_tail -ne 0 ]; then if [ -n "$slist" ]; then slist="$slist --" else slist='-' fi fi break else slist="$slist$option" fi options="$value" done if [ -n "$slist" ]; then original_cmd="$original_cmd -$slist" fi elif [ -z "$options" ]; then # We found an minus sign without any characters after it: original_cmd="$original_cmd -" else # We found a value that does not start with a minus - # it is a positional argument or the value of previous # option. Copy it to output string (as is): original_cmd="$original_cmd '$1'" fi shift if [ $cmd_tail -ne 0 ]; then # All other arguments must be copied unchanged: while [ $# -gt 0 ]; do original_cmd="$original_cmd '$1'" shift done break fi continue fi # Now we are sure that we are working with an option # that has a "long" name, so remove all characters after # the first equal sign: option="${1%%=*}" # If the option name contains underscores, then replace # them to minuses: if [ "${option#*_}" != "$option" ]; then option=$(to_minuses "$option") fi # The "--loose-" prefix should not affect the recognition # of the option name: if [ "${option#--loose-}" != "$option" ]; then option="--${option#--loose-}" fi # Some options just need to be removed from the list: if [ "$option" != '--defaults-file' -a \ "$option" != '--defaults-extra-file' -a \ "$option" != '--defaults-group-suffix' -a \ "$option" != '--user' -a \ "$option" != '--port' -a \ "$option" != '--socket' ]; then value="${1#*=}" if [ "$value" = "$1" ]; then value="" fi # Let's fill in the variables containing important paths # that might not have been passed through explicit parameters # (+ removing the trailing slash in these paths). Many of these # options are processed internally within scripts or passed # explicitly to other programs, so we need to remove them # from mysqld's argument list: skip_mysqld_arg=0 case "$option" in '--aria-log-dir-path') if [ -z "$ARIA_LOG_DIR" ]; then MYSQLD_OPT_ARIA_LOG_DIR=$(trim_dir "$value") fi skip_mysqld_arg=1 ;; '--innodb-data-home-dir') if [ -z "$INNODB_DATA_HOME_DIR" ]; then MYSQLD_OPT_INNODB_DATA_HOME_DIR=$(trim_dir "$value") fi skip_mysqld_arg=1 ;; '--innodb-log-group-home-dir') if [ -z "$INNODB_LOG_GROUP_HOME" ]; then MYSQLD_OPT_INNODB_LOG_GROUP_HOME=$(trim_dir "$value") fi skip_mysqld_arg=1 ;; '--innodb-undo-directory') if [ -z "$INNODB_UNDO_DIR" ]; then MYSQLD_OPT_INNODB_UNDO_DIR=$(trim_dir "$value") fi skip_mysqld_arg=1 ;; '--innodb-buffer-pool-filename') if [ -z "$INNODB_BUFFER_POOL" ]; then MYSQLD_OPT_INNODB_BUFFER_POOL=$(trim_string "$value") fi skip_mysqld_arg=1 ;; '--innodb-buffer-pool-size') if [ -z "$INNODB_BUFFER_POOL_SIZE" ]; then MYSQLD_OPT_INNODB_BUFFER_POOL_SIZE=$(trim_string "$value") fi skip_mysqld_arg=1 ;; '--innodb-force-recovery') if [ -n "$value" -a "$value" != "0" ]; then INNODB_FORCE_RECOVERY=$(trim_string "$value") fi skip_mysqld_arg=1 ;; '--log-bin') if [ -z "$WSREP_SST_OPT_BINLOG" ]; then MYSQLD_OPT_LOG_BIN=$(trim_string "$value") fi skip_mysqld_arg=1 ;; '--log-bin-index') if [ -z "$WSREP_SST_OPT_BINLOG_INDEX" ]; then MYSQLD_OPT_LOG_BIN_INDEX=$(trim_string "$value") fi skip_mysqld_arg=1 ;; '--log-basename') if [ -z "$WSREP_SST_OPT_LOG_BASENAME" ]; then MYSQLD_OPT_LOG_BASENAME=$(trim_string "$value") fi skip_mysqld_arg=1 ;; '--datadir') if [ -z "$WSREP_SST_OPT_DATA" ]; then MYSQLD_OPT_DATADIR=$(trim_dir "$value") fi skip_mysqld_arg=1 ;; esac if [ $skip_mysqld_arg -eq 0 ]; then original_cmd="$original_cmd '$1'" fi fi shift done WSREP_SST_OPT_MYSQLD="${original_cmd# *}" break ;; *) # Must be command usage # exit 1 ;; esac shift done WSREP_TRANSFER_TYPE='SST' [ $WSREP_SST_OPT_BYPASS -ne 0 ] && readonly WSREP_TRANSFER_TYPE='IST' # Let's take the name of the current script as a base, # removing the directory, extension and "wsrep_sst_" prefix: WSREP_METHOD="${0##*/}" WSREP_METHOD="${WSREP_METHOD%.*}" readonly WSREP_METHOD="${WSREP_METHOD#wsrep_sst_}" if [ -n "${WSREP_SST_OPT_ROLE+x}" ]; then if [ "$WSREP_SST_OPT_ROLE" != 'donor' -a \ "$WSREP_SST_OPT_ROLE" != 'joiner' ] then wsrep_log_error "Unrecognized role: '$WSREP_SST_OPT_ROLE'" exit 22 # EINVAL fi else readonly WSREP_SST_OPT_ROLE='donor' fi readonly WSREP_SST_OPT_PROGRESS # The same argument can be present on the command line several # times, in this case we must take its last value: if [ -n "${MYSQLD_OPT_ARIA_LOG_DIR:-}" -a \ -z "$ARIA_LOG_DIR" ]; then readonly ARIA_LOG_DIR="$MYSQLD_OPT_ARIA_LOG_DIR" fi if [ -n "${MYSQLD_OPT_INNODB_DATA_HOME_DIR:-}" -a \ -z "$INNODB_DATA_HOME_DIR" ]; then readonly INNODB_DATA_HOME_DIR="$MYSQLD_OPT_INNODB_DATA_HOME_DIR" fi if [ -n "${MYSQLD_OPT_INNODB_LOG_GROUP_HOME:-}" -a \ -z "$INNODB_LOG_GROUP_HOME" ]; then readonly INNODB_LOG_GROUP_HOME="$MYSQLD_OPT_INNODB_LOG_GROUP_HOME" fi if [ -n "${MYSQLD_OPT_INNODB_UNDO_DIR:-}" -a \ -z "$INNODB_UNDO_DIR" ]; then readonly INNODB_UNDO_DIR="$MYSQLD_OPT_INNODB_UNDO_DIR" fi if [ -n "${MYSQLD_OPT_INNODB_BUFFER_POOL:-}" -a \ -z "$INNODB_BUFFER_POOL" ]; then readonly INNODB_BUFFER_POOL="$MYSQLD_OPT_INNODB_BUFFER_POOL" fi if [ -n "${MYSQLD_OPT_INNODB_BUFFER_POOL_SIZE:-}" -a \ -z "$INNODB_BUFFER_POOL_SIZE" ]; then readonly INNODB_BUFFER_POOL_SIZE="$MYSQLD_OPT_INNODB_BUFFER_POOL_SIZE" fi if [ -n "${MYSQLD_OPT_LOG_BIN:-}" -a \ -z "$WSREP_SST_OPT_BINLOG" ]; then readonly WSREP_SST_OPT_BINLOG="$MYSQLD_OPT_LOG_BIN" fi if [ -n "${MYSQLD_OPT_LOG_BIN_INDEX:-}" -a \ -z "$WSREP_SST_OPT_BINLOG_INDEX" ]; then WSREP_SST_OPT_BINLOG_INDEX="$MYSQLD_OPT_LOG_BIN_INDEX" fi if [ -n "${MYSQLD_OPT_DATADIR:-}" -a \ -z "$WSREP_SST_OPT_DATA" ]; then readonly WSREP_SST_OPT_DATA="$MYSQLD_OPT_DATADIR" fi if [ -n "${MYSQLD_OPT_LOG_BASENAME:-}" -a \ -z "$WSREP_SST_OPT_LOG_BASENAME" ]; then readonly WSREP_SST_OPT_LOG_BASENAME="$MYSQLD_OPT_LOG_BASENAME" fi # If the --log-bin option is present without a value, then # set WSREP_SST_OPT_BINLOG value using other arguments: if [ -z "$WSREP_SST_OPT_BINLOG" -a -n "${MYSQLD_OPT_LOG_BIN+x}" ]; then if [ -n "$WSREP_SST_OPT_LOG_BASENAME" ]; then # If the WSREP_SST_OPT_BINLOG variable is not set, but # --log-basename is present among the arguments to mysqld, # then set WSREP_SST_OPT_BINLOG equal to the base name # with the "-bin" suffix: readonly WSREP_SST_OPT_BINLOG="$WSREP_SST_OPT_LOG_BASENAME-bin" else # Take the default name: readonly WSREP_SST_OPT_BINLOG='mysql-bin' fi fi # Reconstructing the command line arguments that control the innodb # and binlog options: if [ -n "$WSREP_SST_OPT_LOG_BASENAME" ]; then if [ -n "$WSREP_SST_OPT_MYSQLD" ]; then WSREP_SST_OPT_MYSQLD="--log-basename='$WSREP_SST_OPT_LOG_BASENAME' $WSREP_SST_OPT_MYSQLD" else WSREP_SST_OPT_MYSQLD="--log-basename='$WSREP_SST_OPT_LOG_BASENAME'" fi fi if [ -n "$ARIA_LOG_DIR" ]; then INNOEXTRA="$INNOEXTRA --aria-log-dir-path='$ARIA_LOG_DIR'" fi if [ -n "$INNODB_DATA_HOME_DIR" ]; then INNOEXTRA="$INNOEXTRA --innodb-data-home-dir='$INNODB_DATA_HOME_DIR'" fi if [ -n "$INNODB_LOG_GROUP_HOME" ]; then INNOEXTRA="$INNOEXTRA --innodb-log-group-home-dir='$INNODB_LOG_GROUP_HOME'" fi if [ -n "$INNODB_UNDO_DIR" ]; then INNOEXTRA="$INNOEXTRA --innodb-undo-directory='$INNODB_UNDO_DIR'" fi if [ -n "$INNODB_BUFFER_POOL" ]; then INNOEXTRA="$INNOEXTRA --innodb-buffer-pool-filename='$INNODB_BUFFER_POOL'" fi if [ -n "$INNODB_BUFFER_POOL_SIZE" ]; then INNOEXTRA="$INNOEXTRA --innodb-buffer-pool-size='$INNODB_BUFFER_POOL_SIZE'" fi if [ -n "$WSREP_SST_OPT_BINLOG" ]; then INNOEXTRA="$INNOEXTRA --log-bin='$WSREP_SST_OPT_BINLOG'" if [ -n "$WSREP_SST_OPT_BINLOG_INDEX" ]; then if [ -n "$WSREP_SST_OPT_MYSQLD" ]; then WSREP_SST_OPT_MYSQLD="--log-bin-index='$WSREP_SST_OPT_BINLOG_INDEX' $WSREP_SST_OPT_MYSQLD" else WSREP_SST_OPT_MYSQLD="--log-bin-index='$WSREP_SST_OPT_BINLOG_INDEX'" fi fi fi readonly INNODB_FORCE_RECOVERY readonly WSREP_SST_OPT_MYSQLD get_binlog() { # if no command line argument and WSREP_SST_OPT_BINLOG is not set, # try to get it from my.cnf: if [ -z "$WSREP_SST_OPT_BINLOG" ]; then WSREP_SST_OPT_BINLOG=$(parse_cnf '--mysqld' 'log-bin') fi # if no command line argument and WSREP_SST_OPT_BINLOG_INDEX is not set, # try to get it from my.cnf: if [ -z "$WSREP_SST_OPT_BINLOG_INDEX" ]; then WSREP_SST_OPT_BINLOG_INDEX=$(parse_cnf '--mysqld' 'log-bin-index') fi # if no command line argument and WSREP_SST_OPT_LOG_BASENAME is not set, # then try to get it from my.cnf: if [ -z "$WSREP_SST_OPT_LOG_BASENAME" ]; then WSREP_SST_OPT_LOG_BASENAME=$(parse_cnf '--mysqld' 'log-basename') fi if [ -z "$WSREP_SST_OPT_BINLOG" ]; then # If the log-bin option is specified without a parameter, # then we need to build the name of the index file according # to the rules described in the server documentation: if [ $(in_config '--mysqld' 'log-bin') -ne 0 ]; then if [ -n "$WSREP_SST_OPT_LOG_BASENAME" ]; then # If the WSREP_SST_OPT_BINLOG variable is not set, but # --log-basename is present among the arguments of mysqld, # then set WSREP_SST_OPT_BINLOG equal to the base name # with the "-bin" suffix: readonly WSREP_SST_OPT_BINLOG="$WSREP_SST_OPT_LOG_BASENAME-bin" else # Take the default name: readonly WSREP_SST_OPT_BINLOG='mysql-bin' fi fi fi if [ -n "$WSREP_SST_OPT_BINLOG" ]; then # If the name of the index file is not specified, then we will build # it according to the specifications for the server: if [ -z "$WSREP_SST_OPT_BINLOG_INDEX" ]; then if [ -n "$WSREP_SST_OPT_LOG_BASENAME" ]; then # If the WSREP_SST_OPT_BINLOG_INDEX variable is not set, but # --log-basename is present among the arguments of mysqld, # then set WSREP_SST_OPT_BINLOG_INDEX equal to the base name # with the "-bin" suffix: readonly WSREP_SST_OPT_BINLOG_INDEX="$WSREP_SST_OPT_LOG_BASENAME-bin.index" else # Use the default name (note that base of this name # is already defined above): readonly WSREP_SST_OPT_BINLOG_INDEX="$WSREP_SST_OPT_BINLOG.index" fi else # Remove all directories from the index file path: local filename="${WSREP_SST_OPT_BINLOG_INDEX##*/}" # Check if the index file name contains the extension: if [ "${filename%.*}" = "$filename" ]; then # Let's add the default extension (".index"): readonly WSREP_SST_OPT_BINLOG_INDEX="$WSREP_SST_OPT_BINLOG_INDEX.index" else readonly WSREP_SST_OPT_BINLOG_INDEX fi fi fi } # Check the presence of the port value and, if necessary, transfer # the port number from the address to the WSREP_SST_OPT_PORT variable # or vice versa, and also, if necessary, substitute the missing port # value into the address value: if [ -n "$WSREP_SST_OPT_ADDR_PORT" ]; then if [ -n "$WSREP_SST_OPT_PORT" ]; then if [ "$WSREP_SST_OPT_PORT" != "$WSREP_SST_OPT_ADDR_PORT" ]; then echo "WSREP_SST: [ERROR] port in --port=$WSREP_SST_OPT_PORT" \ "differs from port in --address=$WSREP_SST_OPT_ADDR" >&2 exit 2 fi else # If the address contains a port number, assign it to # the corresponding variable: readonly WSREP_SST_OPT_PORT="$WSREP_SST_OPT_ADDR_PORT" fi else # If the port is missing, take the default port: if [ -z "$WSREP_SST_OPT_PORT" ]; then readonly WSREP_SST_OPT_PORT=4444 fi WSREP_SST_OPT_ADDR_PORT="$WSREP_SST_OPT_PORT" fi # Let's construct a new value for the address with the port: sst_path="${WSREP_SST_OPT_PATH:+/}$WSREP_SST_OPT_PATH" WSREP_SST_OPT_ADDR="$WSREP_SST_OPT_HOST:$WSREP_SST_OPT_PORT$sst_path" readonly WSREP_SST_OPT_ADDR readonly WSREP_SST_OPT_ADDR_PORT # try to use my_print_defaults, mysql and mysqldump that come # with the sources (for MTR suite): script_binary=$(dirname "$0") SCRIPTS_DIR=$(cd "$script_binary"; pwd) EXTRA_DIR="$SCRIPTS_DIR/../extra" if [ -x "$SCRIPTS_DIR/my_print_defaults" ]; then MY_PRINT_DEFAULTS="$SCRIPTS_DIR/my_print_defaults" elif [ -x "$EXTRA_DIR/my_print_defaults" ]; then MY_PRINT_DEFAULTS="$EXTRA_DIR/my_print_defaults" else MY_PRINT_DEFAULTS=$(commandex 'my_print_defaults') if [ -z "$MY_PRINT_DEFAULTS" ]; then wsrep_log_error "my_print_defaults not found in path" exit 2 fi fi readonly MY_PRINT_DEFAULTS wsrep_defaults="$WSREP_SST_OPT_DEFAULTS" wsrep_defaults="$wsrep_defaults${WSREP_SST_OPT_EXTRA_DEFAULTS:+ }$WSREP_SST_OPT_EXTRA_DEFAULTS" wsrep_defaults="$wsrep_defaults${WSREP_SST_OPT_SUFFIX_DEFAULT:+ }$WSREP_SST_OPT_SUFFIX_DEFAULT" readonly WSREP_SST_OPT_CONF="${wsrep_defaults:+ }$wsrep_defaults" wsrep_defaults="$WSREP_SST_OPT_DEFAULT" wsrep_defaults="$wsrep_defaults${WSREP_SST_OPT_EXTRA_DEFAULT:+ }$WSREP_SST_OPT_EXTRA_DEFAULT" wsrep_defaults="$wsrep_defaults${WSREP_SST_OPT_SUFFIX_DEFAULT:+ }$WSREP_SST_OPT_SUFFIX_DEFAULT" readonly WSREP_SST_OPT_CONF_UNQUOTED="${wsrep_defaults:+ }$wsrep_defaults" # # User can specify mariabackup specific settings that will be used during sst # process like encryption, etc. Parse such configuration option. # # 1st parameter: group (config file section like sst) or # my_print_defaults argument (like --mysqld) # 2nd parameter: var : name of the variable in the section, e.g. server-id # 3rd parameter: default value for the parameter # parse_cnf() { local groups="$1" local var="$2" local reval="" # normalize the variable names specified in the .cnf file # (user can use '_' or '-', for example, log-bin or log_bin), # then search for the last instance of the desired variable # and finally get the value of that variable (if the variable # was specified several times - we use only its last instance): local pattern='BEGIN {OFS=FS="="} {sub(/^--loose/,"-",$0); gsub(/_/,"-",$1); if ($1=="--'"$var"'") lastval=substr($0,length($1)+2)} END {print lastval}' while [ -n "$groups" ]; do # Remove the largest suffix starting with the '|' character: local group="${groups%%\|*}" # Remove the remainder (the group name) from the rest # of the groups list (as if it were a prefix): if [ "$group" != "$groups" ]; then groups="${groups#*\|}" else groups="" fi # If the group name is the same as the "mysqld" without "--" prefix, # then try to use it together with the group suffix: if [ "$group" = 'mysqld' -a -n "$WSREP_SST_OPT_SUFFIX_VALUE" ]; then reval=$("$MY_PRINT_DEFAULTS" \ ${WSREP_SST_OPT_DEFAULT:+"$WSREP_SST_OPT_DEFAULT"} \ ${WSREP_SST_OPT_EXTRA_DEFAULT:+"$WSREP_SST_OPT_EXTRA_DEFAULT"} \ ${WSREP_SST_OPT_SUFFIX_DEFAULT:+"$WSREP_SST_OPT_SUFFIX_DEFAULT"} \ "mysqld$WSREP_SST_OPT_SUFFIX_VALUE" | awk "$pattern") if [ -n "$reval" ]; then break fi fi # Let's try to use the group name as it is: reval=$("$MY_PRINT_DEFAULTS" \ ${WSREP_SST_OPT_DEFAULT:+"$WSREP_SST_OPT_DEFAULT"} \ ${WSREP_SST_OPT_EXTRA_DEFAULT:+"$WSREP_SST_OPT_EXTRA_DEFAULT"} \ ${WSREP_SST_OPT_SUFFIX_DEFAULT:+"$WSREP_SST_OPT_SUFFIX_DEFAULT"} \ "$group" | awk "$pattern") if [ -n "$reval" ]; then break fi done # Use default if we haven't found a value: [ -z "$reval" ] && reval="${3:-}" # Truncate spaces: [ -n "$reval" ] && reval=$(trim_string "$reval") echo "$reval" } # # This function simply checks for the presence of the parameter # in the config file, but does not return its value. It returns "1" # (true) even if the parameter is present in the configuration file # without a value: # in_config() { local groups="$1" local var="$2" local found=0 # normalize the variable names specified in the .cnf file # (user can use '_' or '-', for example, log-bin or log_bin), # then search for the last instance(s) of the desired variable: local pattern='BEGIN {OFS=FS="="; found=0} {sub(/^--loose/,"-",$0); gsub(/_/,"-",$1); if ($1=="--'"$var"'") found=1} END {print found}' while [ -n "$groups" ]; do # Remove the largest suffix starting with the '|' character: local group="${groups%%\|*}" # Remove the remainder (the group name) from the rest # of the groups list (as if it were a prefix): if [ "$group" != "$groups" ]; then groups="${groups#*\|}" else groups="" fi # If the group name is the same as the "mysqld" without "--" prefix, # then try to use it together with the group suffix: if [ "$group" = 'mysqld' -a -n "$WSREP_SST_OPT_SUFFIX_VALUE" ]; then found=$("$MY_PRINT_DEFAULTS" \ ${WSREP_SST_OPT_DEFAULT:+"$WSREP_SST_OPT_DEFAULT"} \ ${WSREP_SST_OPT_EXTRA_DEFAULT:+"$WSREP_SST_OPT_EXTRA_DEFAULT"} \ ${WSREP_SST_OPT_SUFFIX_DEFAULT:+"$WSREP_SST_OPT_SUFFIX_DEFAULT"} \ "mysqld$WSREP_SST_OPT_SUFFIX_VALUE" | awk "$pattern") if [ $found -ne 0 ]; then break fi fi # Let's try to use the group name as it is: found=$($MY_PRINT_DEFAULTS \ ${WSREP_SST_OPT_DEFAULT:+"$WSREP_SST_OPT_DEFAULT"} \ ${WSREP_SST_OPT_EXTRA_DEFAULT:+"$WSREP_SST_OPT_EXTRA_DEFAULT"} \ ${WSREP_SST_OPT_SUFFIX_DEFAULT:+"$WSREP_SST_OPT_SUFFIX_DEFAULT"} \ "$group" | awk "$pattern") if [ $found -ne 0 ]; then break fi done echo $found } # Get rid of incorrect values resulting from substitution # in programs external to the script: if [ "$WSREP_SST_OPT_USER" = '(null)' ]; then WSREP_SST_OPT_USER="" fi if [ "$WSREP_SST_OPT_PSWD" = '(null)' ]; then WSREP_SST_OPT_PSWD="" fi if [ "$WSREP_SST_OPT_AUTH" = '(null)' ]; then WSREP_SST_OPT_AUTH="" fi # Let's read the value of the authentication string from the # configuration file so that it does not go to the command line # and does not appear in the ps output: if [ -z "$WSREP_SST_OPT_AUTH" ]; then WSREP_SST_OPT_AUTH=$(parse_cnf 'sst' 'wsrep-sst-auth') fi # Splitting WSREP_SST_OPT_AUTH as "user:password" pair: if [ -n "$WSREP_SST_OPT_AUTH" ]; then # Extract username as shortest prefix up to first ':' character: WSREP_SST_OPT_AUTH_USER="${WSREP_SST_OPT_AUTH%%:*}" if [ -z "$WSREP_SST_OPT_USER" ]; then # if the username is not in the command line arguments, # set the username and password using WSREP_SST_OPT_AUTH # from the environment: WSREP_SST_OPT_USER="$WSREP_SST_OPT_AUTH_USER" WSREP_SST_OPT_PSWD="${WSREP_SST_OPT_AUTH#*:}" elif [ "$WSREP_SST_OPT_USER" = "$WSREP_SST_OPT_AUTH_USER" ]; then # If the username in the command line arguments and in # the environment variable are the same, set the password # if it was not specified in the command line: if [ -z "$WSREP_SST_OPT_PSWD" ]; then WSREP_SST_OPT_PSWD="${WSREP_SST_OPT_AUTH#*:}" fi else # The username is passed through the command line and does # not match the username in the environment variable - ignore # the environment and rebuild the authentication parameters: WSREP_SST_OPT_AUTH="$WSREP_SST_OPT_USER:$WSREP_SST_OPT_PSWD" fi fi WSREP_SST_OPT_REMOTE_AUTH="${WSREP_SST_OPT_REMOTE_AUTH:-}" WSREP_SST_OPT_REMOTE_USER= WSREP_SST_OPT_REMOTE_PSWD= if [ -n "$WSREP_SST_OPT_REMOTE_AUTH" ]; then # Split auth string at the last ':' WSREP_SST_OPT_REMOTE_USER="${WSREP_SST_OPT_REMOTE_AUTH%%:*}" WSREP_SST_OPT_REMOTE_PSWD="${WSREP_SST_OPT_REMOTE_AUTH#*:}" fi readonly WSREP_SST_OPT_USER readonly WSREP_SST_OPT_PSWD readonly WSREP_SST_OPT_AUTH readonly WSREP_SST_OPT_REMOTE_USER readonly WSREP_SST_OPT_REMOTE_PSWD readonly WSREP_SST_OPT_REMOTE_AUTH if [ -n "$WSREP_SST_OPT_DATA" ]; then SST_PROGRESS_FILE="$WSREP_SST_OPT_DATA/sst_in_progress" else SST_PROGRESS_FILE="" fi wsrep_cleanup_progress_file() { if [ -n "$SST_PROGRESS_FILE" -a -f "$SST_PROGRESS_FILE" ]; then rm -f "$SST_PROGRESS_FILE" 2>/dev/null || : fi } wsrep_check_program() { local prog="$1" local cmd=$(commandex "$prog") if [ -z "$cmd" ]; then wsrep_log_error "'$prog' not found in path" return 2 # no such file or directory fi } wsrep_check_programs() { local ret=0 while [ $# -gt 0 ]; do wsrep_check_program "$1" || ret=$? shift done return $ret } wsrep_check_datadir() { if [ -z "$WSREP_SST_OPT_DATA" ]; then wsrep_log_error \ "The '--datadir' parameter must be passed to the SST script" exit 2 fi } get_openssl() { # If the OPENSSL_BINARY variable is already defined, just return: if [ -n "${OPENSSL_BINARY+x}" ]; then return 0 fi # Let's look for openssl: OPENSSL_BINARY=$(commandex 'openssl') if [ -z "$OPENSSL_BINARY" ]; then OPENSSL_BINARY='/usr/bin/openssl' if [ ! -x "$OPENSSL_BINARY" ]; then OPENSSL_BINARY="" fi fi readonly OPENSSL_BINARY } # # Generate a string equivalent to 16 random bytes # wsrep_gen_secret() { get_openssl if [ -n "$OPENSSL_BINARY" ]; then "$OPENSSL_BINARY" rand -hex 16 elif [ -n "$BASH_VERSION" ]; then printf '%04x%04x%04x%04x%04x%04x%04x%04x' \ $RANDOM $RANDOM $RANDOM $RANDOM \ $RANDOM $RANDOM $RANDOM $RANDOM elif [ $with_printf -ne 0 -a -n "$(commandex cksum)" ]; then printf '%08x%08x%08x%08x' \ $(head -8 /dev/urandom | cksum | cut -d ' ' -f1) \ $(head -8 /dev/urandom | cksum | cut -d ' ' -f1) \ $(head -8 /dev/urandom | cksum | cut -d ' ' -f1) \ $(head -8 /dev/urandom | cksum | cut -d ' ' -f1) else wsrep_log_error "Unable to generate 16-byte secret" exit 22 fi } # # Checking if the address passed to us is local. # If the second parameter is nonzero, then this function # does not check for matches with local domain names: # is_local_ip() { # Rapid recognition of the most common cases: [ "$1" = '127.0.0.1' -o \ "$1" = '127.0.0.2' -o \ "$1" = 'localhost' -o \ "$1" = '::1' ] && return 0 # If the address starts with "127." this is probably a local # address, but we need to clarify what follows this prefix: if [ "${1#127.}" != "$1" ]; then # All 127.0.0.0/8 addresses are local: if echo "$1" | grep -q -E '^127\.[0-9]+\.[0-9]+\.[0-9]+$'; then return 0 fi fi # If the second parameter is nonzero, then we will skip # the domain name check: if [ "${2:-0}" -eq 0 ]; then # We consider all the names of a given host to be local addresses: [ "$1" = "$(hostname -s 2>/dev/null)" -o \ "$1" = "$(hostname -f 2>/dev/null)" -o \ "$1" = "$(hostname -d 2>/dev/null)" ] && return 0 fi # If the address contains anything other than digits # and separators, it is not a local address: [ "${1#*[!0-9.]}" != "$1" ] && \ [ "${1#*[!0-9A-Fa-f:\[\]]}" != "$1" ] && return 1 # Now let's check if the given address is assigned to # one of the network cards: local ip_util=$(commandex 'ip') if [ -n "$ip_util" ]; then # ip address show ouput format is " inet[6] <address>/<mask>": "$ip_util" address show \ | grep -o -E '^[[:space:]]*inet.?[[:space:]]+[^[:space:]]+/' \ | grep -qw -F -- "$1/" && return 0 else local ifconfig_util=$(commandex 'ifconfig') if [ -n "$ifconfig_util" ]; then # ifconfig output format is " inet[6] <address> ...": "$ifconfig_util" \ | grep -o -E '^[[:space:]]*inet.?[[:space:]]+[^[:space:]]+' \ | grep -qw -F -- "$1" && return 0 fi fi return 1 } check_sockets_utils() { # The presence of any of these utilities is enough for us: lsof_available=0 sockstat_available=0 ss_available=0 socket_utility="$(commandex ss)" if [ -n "$socket_utility" ]; then socket_uname='ss' ss_available=1 ss_opts='-nlp' # Let's check that ss has an option to skip headers: if $socket_utility -h 2>&1 | grep -qw -F -- '-H'; then ss_available=2 ss_opts="${ss_opts}H" fi else socket_utility="$(commandex sockstat)" if [ -n "$socket_utility" ]; then socket_uname='sockstat' sockstat_available=1 sockstat_opts='-p' if [ "$OS" = 'FreeBSD' ]; then # sockstat in FreeBSD is different from other systems, # let's denote it with a different value: sockstat_available=2 sockstat_opts='-46lq -P tcp -p' fi else socket_utility="$(commandex lsof)" if [ -n "$socket_utility" ]; then socket_uname='lsof' lsof_available=1 lsof_opts='-Pnl' # Let's check that lsof has an option to bypass blocking: if $socket_utility -h 2>&1 | grep -qw -F -- '-b'; then lsof_available=2 lsof_opts="$lsof_opts -b -w" else lsof_opts="$lsof_opts -S 10" fi else wsrep_log_error "Neither lsof, nor sockstat, nor ss tool" \ "were found in the path. Make sure you have" \ "at least one of them installed." exit 2 # ENOENT fi fi fi wsrep_log_info "'$socket_uname' is selected as a socket" \ "information utility." } # # Check if the port is in the "listen" state. # The first parameter is the PID of the process that should # listen on the port - if it is not known, you can specify # an empty string or zero. # The second parameter is the port number. # The third parameter is a list of the names of utilities # (via "|") that can listen on this port during the state # transfer. # check_port() { local pid="${1:-0}" local port="$2" local utils="$3" [ $pid -le 0 ] && pid='[0-9]+' local rc=2 # ENOENT if [ $ss_available -ne 0 ]; then $socket_utility $ss_opts -t "( sport = :$port )" 2>/dev/null | \ grep -q -E "[[:space:]]users:[[:space:]]?\\(.*\\(\"($utils)[^[:space:]]*\"[^)]*,pid=$pid(,[^)]*)?\\)" && rc=0 elif [ $sockstat_available -ne 0 ]; then if [ $sockstat_available -gt 1 ]; then # The sockstat command on FreeBSD does not return # the connection state without special option, but # it supports filtering by connection state: local out out=$($socket_utility $sockstat_opts "$port" 2>/dev/null) || rc=16 # EBUSY # On FreeBSD, the sockstat utility may exit without # any output due to locking issues in certain versions; # let's return a special exit code in such cases: if [ $rc -eq 16 -o -z "$out" ]; then return 16 # EBUSY fi echo "$out" | \ grep -q -E "^[^[:space:]]+[[:space:]]+($utils)[^[:space:]]*[[:space:]]+$pid([[:space:]]|\$)" && rc=0 else $socket_utility $sockstat_opts "$port" 2>/dev/null | \ grep -q -E "^[^[:space:]]+[[:space:]]+($utils)[^[:space:]]*[[:space:]]+$pid([[:space:]].+)?[[:space:]]LISTEN([[:space:]]|\$)" && rc=0 fi elif [ $lsof_available -ne 0 ]; then $socket_utility $lsof_opts -i ":$port" 2>/dev/null | \ grep -q -E "^($utils)[^[:space:]]*[[:space:]]+$pid([[:space:]].+)?[[:space:]]\\(LISTEN\\)([[:space:]]|\$)" && rc=0 else wsrep_log_error "Unknown sockets utility" exit 2 # ENOENT fi return $rc } # # If the ssl_dhparams variable is already set, uses that as a source # of dh parameters for OpenSSL. Otherwise, looks for dhparams.pem in # the datadir, and creates it there if it can't find the file. # check_for_dhparams() { ssl_dhparams="$DATA/dhparams.pem" get_openssl if [ -n "$OPENSSL_BINARY" ]; then wsrep_log_info \ "Could not find dhparams file, creating $ssl_dhparams" local bug=0 local errmsg errmsg=$("$OPENSSL_BINARY" \ dhparam -out "$ssl_dhparams" -dsaparam 2048 2>&1) || bug=1 if [ $bug -ne 0 ]; then wsrep_log_info "run: \"$OPENSSL_BINARY\" dhparam"\ "-out \"$ssl_dhparams\" -dsaparam 2048" wsrep_log_info "output: $errmsg" wsrep_log_error "******** ERROR *****************************************" wsrep_log_error "* Could not create the dhparams.pem file with OpenSSL. *" wsrep_log_error "********************************************************" ssl_dhparams="" fi else # Rollback: if openssl is not installed, then use # the default parameters: ssl_dhparams="" fi } # # Verifies that the CA file verifies the certificate. # Doing this here lets us generate better error messages. # # 1st param: path to the CA file. # 2nd param: path to the certificate. # verify_ca_matches_cert() { local cert="$1" local ca="$2" local cap="$3" local readable=1; [ ! -r "$cert" ] && readable=0 [ -n "$ca" -a ! -r "$ca" ] && readable=0 [ -n "$cap" -a ! -r "$cap" ] && readable=0 if [ $readable -eq 0 ]; then wsrep_log_error \ "Both PEM file and CA file (or path) must be readable" exit 22 fi # If the openssl utility is not installed, then # we will not do this certificate check: get_openssl if [ -z "$OPENSSL_BINARY" ]; then wsrep_log_info "openssl utility not found" return fi local not_match=0 local errmsg errmsg=$("$OPENSSL_BINARY" verify -verbose \ ${ca:+ -CAfile} ${ca:+ "$ca"} \ ${cap:+ -CApath} ${cap:+ "$cap"} \ "$cert" 2>&1) || not_match=1 if [ $not_match -eq 1 ]; then wsrep_log_info "run: \"$OPENSSL_BINARY\" verify -verbose${ca:+ -CAfile \"$ca\"}${cap:+ -CApath \"$cap\"} \"$cert\"" wsrep_log_info "output: $errmsg" wsrep_log_error "******** FATAL ERROR ********************************************" wsrep_log_error "* The certifcate and CA (certificate authority) do not match. *" wsrep_log_error "* It does not appear that the certificate was issued by the CA. *" wsrep_log_error "* Please check your certificate and CA files. *" wsrep_log_error "*****************************************************************" exit 22 fi } # # Verifies that the certificate matches the private key. # Doing this will save us having to wait for a timeout that would # otherwise occur. # # 1st param: path to the certificate. # 2nd param: path to the private key. # verify_cert_matches_key() { local cert="$1" local key="$2" if [ ! -r "$key" -o ! -r "$cert" ]; then wsrep_log_error "Both the certificate file and the key file" \ "must be readable" exit 22 fi # If the openssl utility is not installed, then # we will not do this certificate check: get_openssl if [ -z "$OPENSSL_BINARY" ]; then wsrep_log_info "openssl utility not found" return fi # Generate the public key from the cert and the key. # They should match (otherwise we can't create an SSL connection). local pk1=$("$OPENSSL_BINARY" x509 -in "$cert" -pubkey -noout 2>/dev/null || :) local pk2=$("$OPENSSL_BINARY" pkey -in "$key" -pubout 2>/dev/null || :) if [ "$pk1" != "$pk2" ]; then wsrep_log_error "******************* FATAL ERROR *****************" wsrep_log_error "* The certificate and private key do not match. *" wsrep_log_error "* Please check your certificate and key files. *" wsrep_log_error "*************************************************" exit 22 fi } # # Compares two version strings. # The first parameter is the version to be checked; # The second parameter is the minimum version required; # Returns 1 (failure) if $1 >= $2, 0 (success) otherwise. # check_for_version() { local y1="${1#*.}" [ "$y1" = "$1" ] && y1="" local z1="${y1#*.}" [ "$z1" = "$y1" ] && z1="" local w1="${z1#*.}" [ "$w1" = "$z1" ] && w1="" local x1="${1%%.*}" y1="${y1%%.*}" z1="${z1%%.*}" w1="${w1%%.*}" [ -z "$y1" ] && y1=0 [ -z "$z1" ] && z1=0 [ -z "$w1" ] && w1=0 local y2="${2#*.}" [ "$y2" = "$2" ] && y2="" local z2="${y2#*.}" [ "$z2" = "$y2" ] && z2="" local w2="${z2#*.}" [ "$w2" = "$z2" ] && w2="" local x2="${2%%.*}" y2="${y2%%.*}" z2="${z2%%.*}" w2="${w2%%.*}" [ -z "$y2" ] && y2=0 [ -z "$z2" ] && z2=0 [ -z "$w2" ] && w2=0 [ $x1 -lt $x2 ] && return 1 [ $x1 -gt $x2 ] && return 0 [ $y1 -lt $y2 ] && return 1 [ $y1 -gt $y2 ] && return 0 [ $z1 -lt $z2 ] && return 1 [ $z1 -gt $z2 ] && return 0 [ $w1 -lt $w2 ] && return 1 return 0 } # # Check whether process is still running. # The first parameter contains the name of the PID file. # The second parameter is the flag of the need to delete # the PID file. # If the second parameter is not zero and not empty, # then if the process terminates, the corresponding # PID file will be deleted. # This function also sets the CHECK_PID variable to zero # if the process has already exited, or writes the PID # of the process there if it is still running. # check_pid() { local pid_file="$1" if [ -r "$pid_file" ]; then local pid=$(cat "$pid_file" 2>/dev/null || :) if [ -n "$pid" ]; then if [ $pid -gt 0 ]; then if ps -p $pid >/dev/null 2>&1; then CHECK_PID=$pid return 0 fi fi fi local remove=${2:-0} if [ $remove -ne 0 ]; then rm -f "$pid_file" || : fi fi local config="${3:-}" if [ -n "$config" -a -f "$config" ]; then rm -f "$config" || : fi CHECK_PID=0 return 1 } # # Checking that the process with the specified PID is still # running and killing it in this case by sending SIGTERM # (using the "kill" operation). # The first parameter contains PID of the process. # The second and third parameters (both optional) are the names # of the PID and the configuration files, which should be removed # after the process ends. # If the first parameter (PID of the process) is zero, then # the function immediately deletes the PID and the configuration # files (if specified), without any additional checks. # cleanup_pid() { local pid=$1 local pid_file="${2:-}" local config="${3:-}" if [ $pid -gt 0 ]; then if ps -p $pid >/dev/null 2>&1; then if kill $pid >/dev/null 2>&1; then sleep 0.5 local round=0 local force=0 while ps -p $pid >/dev/null 2>&1; do sleep 1 round=$(( round+1 )) if [ $round -eq 16 ]; then if [ $force -eq 0 ]; then round=8 force=1 kill -9 $pid >/dev/null 2>&1 || : sleep 0.5 else return 1 fi fi done elif ps -p $pid >/dev/null 2>&1; then wsrep_log_warning "Unable to kill PID=$pid${pid_file:+ ($pid_file)}" return 1 fi fi fi [ -n "$pid_file" -a -f "$pid_file" ] && rm -f "$pid_file" || : [ -n "$config" -a -f "$config" ] && rm -f "$config" || : return 0 } nproc="" get_proc() { if [ -z "$nproc" ]; then set +e if [ "$OS" = 'Linux' ]; then nproc=$(grep -cw -E '^processor' /proc/cpuinfo 2>/dev/null || :) elif [ "$OS" = 'Darwin' -o "$OS" = 'FreeBSD' ]; then nproc=$(sysctl -n hw.ncpu) fi set -e if [ -z "$nproc" ] || [ $nproc -eq 0 ]; then nproc=1 fi fi } check_server_ssl_config() { # backward-compatible behavior: tcert=$(parse_cnf 'sst' 'tca') tcap=$(parse_cnf 'sst' 'tcapath') tpem=$(parse_cnf 'sst' 'tcert') tkey=$(parse_cnf 'sst' 'tkey') # reading new ssl configuration options: local tcert2=$(parse_cnf "$encgroups" 'ssl-ca') local tcap2=$(parse_cnf "$encgroups" 'ssl-capath') local tpem2=$(parse_cnf "$encgroups" 'ssl-cert') local tkey2=$(parse_cnf "$encgroups" 'ssl-key') # if there are no old options, then we take new ones: if [ -z "$tcert" -a -z "$tcap" -a -z "$tpem" -a -z "$tkey" ]; then tcert="$tcert2" tcap="$tcap2" tpem="$tpem2" tkey="$tkey2" # checking for presence of the new-style SSL configuration: elif [ -n "$tcert2" -o -n "$tcap2" -o -n "$tpem2" -o -n "$tkey2" ]; then if [ "$tcert" != "$tcert2" -o \ "$tcap" != "$tcap2" -o \ "$tpem" != "$tpem2" -o \ "$tkey" != "$tkey2" ] then wsrep_log_info \ "new ssl configuration options (ssl-ca[path], ssl-cert" \ "and ssl-key) are ignored by SST due to presence" \ "of the tca[path], tcert and/or tkey in the [sst] section" fi fi if [ -n "$tcert" ]; then if [ "${tcert%/}" != "$tcert" -o -d "$tcert" ]; then tcap="$tcert" tcert="" fi fi } # Get Common Name (CN) from the certificate: openssl_getCN() { get_openssl if [ -z "$OPENSSL_BINARY" ]; then wsrep_log_error \ 'openssl not found but it is required for authentication' exit 42 fi local bug=0 local CN=$("$OPENSSL_BINARY" x509 -noout -subject -in "$1" 2>&1) || bug=1 if [ $bug -ne 0 ]; then wsrep_log_info "run: \"$OPENSSL_BINARY\" x509 -noout -subject -in \"$1\"" wsrep_log_info "output: $CN" wsrep_log_error "******** FATAL ERROR **********************************************" wsrep_log_error "* Unable to parse the certificate file to obtain the common name. *" wsrep_log_error "*******************************************************************" exit 22 fi CN=$(trim_string "$CN") if [ -n "$CN" ]; then # If the string begins with the "subject" prefix # then we need to remove it: local saved="$CN" local remain="${CN#subject}" if [ "$remain" != "$saved" ]; then remain=$(trim_left "$remain") # Now let's check for the presence of "=" character # after the "subject": saved="$remain" remain="${remain#=}" if [ "$remain" != "$saved" ]; then remain=$(trim_left "$remain") else remain="" bug=1 fi fi while [ -n "$remain" ]; do local value="" # Let's extract the option name - all characters # up to the first '=' or ',' character (if present): local option="${remain%%[=,]*}" if [ "$option" != "$remain" ]; then option=$(trim_right "$option") # These variables will be needed to determine # which separator comes first: local x="${remain#*=}" local y="${remain#*,}" local z=${#remain} x=${#x}; [ $x -eq $z ] && x=0 y=${#y}; [ $y -eq $z ] && y=0 # The remaining string is everything that follows # the separator character: remain=$(trim_left "${remain#*[=,]}") # Let's check what we are dealing with - an equal # sign or a comma? if [ $x -gt $y ]; then # If the remainder begins with a double quote, # then there is a string containing commas and # we need to parse it: saved="$remain" remain="${remain#\"}" if [ "$remain" != "$saved" ]; then while :; do # We need to find the closing quote: local prefix="$remain" remain="${remain#*\"}" # Let's check if there is a closing quote? if [ "$remain" = "$prefix" ]; then bug=1 break fi # Everything up to the closing quote is # the next part of the value: value="$value${prefix%%\"*}" # But if the last character of the value # is a backslash, then it is a quoted quotation # mark and we need to add it to the value: if [ "${value%\\}" != "$value" ]; then value="$value\"" else break fi done [ $bug -ne 0 ] && break # Now we have to remove "," if it is present # in the string after the value: saved=$(trim_left "$remain") remain="${saved#,}" if [ "$remain" != "$saved" ]; then remain=$(trim_left "$remain") elif [ -n "$remain" ]; then bug=1 break fi else # We are dealing with a simple unquoted string value, # therefore we need to take everything up to the end # of the string, or up to the next comma character: value="${remain%%,*}" if [ "$value" != "$remain" ]; then remain=$(trim_left "${remain#*,}") else remain="" fi value=$(trim_right "$value") fi if [ "$option" = 'CN' -a -n "$value" ]; then echo "$value" return fi fi else remain="" fi done fi if [ $bug -ne 0 ]; then wsrep_log_error "******** FATAL ERROR **********************************************" wsrep_log_error "* Unable to parse the certificate options: '$CN'" wsrep_log_error "*******************************************************************" exit 22 fi echo '' } simple_cleanup() { # Since this is invoked just after exit NNN local estatus=$? if [ $estatus -ne 0 ]; then wsrep_log_error "Cleanup after exit with status: $estatus" fi if [ -n "$SST_PID" ]; then [ "$(pwd)" != "$OLD_PWD" ] && cd "$OLD_PWD" [ -f "$SST_PID" ] && rm -f "$SST_PID" || : fi exit $estatus } create_data() { OLD_PWD="$(pwd)" DATA_DIR="$OLD_PWD" if [ -n "$DATA" -a "$DATA" != '.' ]; then [ ! -d "$DATA" ] && mkdir -p "$DATA" cd "$DATA" DATA_DIR="$(pwd)" cd "$OLD_PWD" fi } create_dirs() { local simplify=${1:-0} # if no command line argument and INNODB_DATA_HOME_DIR environment # variable is not set, try to get it from the my.cnf: if [ -z "$INNODB_DATA_HOME_DIR" ]; then INNODB_DATA_HOME_DIR=$(parse_cnf '--mysqld' 'innodb-data-home-dir') INNODB_DATA_HOME_DIR=$(trim_dir "$INNODB_DATA_HOME_DIR") fi if [ -n "$INNODB_DATA_HOME_DIR" -a "$INNODB_DATA_HOME_DIR" != '.' -a \ "$INNODB_DATA_HOME_DIR" != "$DATA_DIR" ] then # handle both relative and absolute paths: cd "$DATA" [ ! -d "$INNODB_DATA_HOME_DIR" ] && mkdir -p "$INNODB_DATA_HOME_DIR" cd "$INNODB_DATA_HOME_DIR" ib_home_dir="$(pwd)" cd "$OLD_PWD" [ $simplify -ne 0 -a "$ib_home_dir" = "$DATA_DIR" ] && ib_home_dir="" fi # if no command line argument and INNODB_LOG_GROUP_HOME is not set, # then try to get it from the my.cnf: if [ -z "$INNODB_LOG_GROUP_HOME" ]; then INNODB_LOG_GROUP_HOME=$(parse_cnf '--mysqld' 'innodb-log-group-home-dir') INNODB_LOG_GROUP_HOME=$(trim_dir "$INNODB_LOG_GROUP_HOME") fi if [ -n "$INNODB_LOG_GROUP_HOME" -a "$INNODB_LOG_GROUP_HOME" != '.' -a \ "$INNODB_LOG_GROUP_HOME" != "$DATA_DIR" ] then # handle both relative and absolute paths: cd "$DATA" [ ! -d "$INNODB_LOG_GROUP_HOME" ] && mkdir -p "$INNODB_LOG_GROUP_HOME" cd "$INNODB_LOG_GROUP_HOME" ib_log_dir="$(pwd)" cd "$OLD_PWD" [ $simplify -ne 0 -a "$ib_log_dir" = "$DATA_DIR" ] && ib_log_dir="" fi # if no command line argument and INNODB_UNDO_DIR is not set, # then try to get it from the my.cnf: if [ -z "$INNODB_UNDO_DIR" ]; then INNODB_UNDO_DIR=$(parse_cnf '--mysqld' 'innodb-undo-directory') INNODB_UNDO_DIR=$(trim_dir "$INNODB_UNDO_DIR") fi if [ -n "$INNODB_UNDO_DIR" -a "$INNODB_UNDO_DIR" != '.' -a \ "$INNODB_UNDO_DIR" != "$DATA_DIR" ] then # handle both relative and absolute paths: cd "$DATA" [ ! -d "$INNODB_UNDO_DIR" ] && mkdir -p "$INNODB_UNDO_DIR" cd "$INNODB_UNDO_DIR" ib_undo_dir="$(pwd)" cd "$OLD_PWD" [ $simplify -ne 0 -a "$ib_undo_dir" = "$DATA_DIR" ] && ib_undo_dir="" fi # if no command line argument then try to get it from the my.cnf: if [ -z "$ARIA_LOG_DIR" ]; then ARIA_LOG_DIR=$(parse_cnf '--mysqld' 'aria-log-dir-path') ARIA_LOG_DIR=$(trim_dir "$ARIA_LOG_DIR") fi if [ -n "$ARIA_LOG_DIR" -a "$ARIA_LOG_DIR" != '.' -a \ "$ARIA_LOG_DIR" != "$DATA_DIR" ] then # handle both relative and absolute paths: cd "$DATA" [ ! -d "$ARIA_LOG_DIR" ] && mkdir -p "$ARIA_LOG_DIR" cd "$ARIA_LOG_DIR" ar_log_dir="$(pwd)" cd "$OLD_PWD" [ $simplify -ne 0 -a "$ar_log_dir" = "$DATA_DIR" ] && ar_log_dir="" fi return 0 } wait_previous_sst() { # give some time for previous SST to complete: check_round=0 while check_pid "$SST_PID" 1; do wsrep_log_info "Previous SST is not completed, waiting for it to exit" check_round=$(( check_round+1 )) if [ $check_round -eq 30 ]; then wsrep_log_error "previous SST script still running..." exit 114 # EALREADY fi sleep 1 done trap simple_cleanup EXIT echo $$ > "$SST_PID" } DATA="$WSREP_SST_OPT_DATA" wsrep_check_datadir create_data SST_PID="$DATA/wsrep_sst.pid" wsrep_log_info "$WSREP_METHOD $WSREP_TRANSFER_TYPE started on $WSREP_SST_OPT_ROLE"