Linux sv3046.xserver.jp 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
Apache
Server IP : 202.254.234.47 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : kinomori
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
/
usr /
sbin /
Delete
Unzip
Name
Size
Permission
Date
Action
accessdb
12.58
KB
-rwxr-xr-x
2021-10-13 17:25
addgnupghome
3
KB
-rwxr-xr-x
2018-12-11 16:44
addpart
24.86
KB
-rwxr-xr-x
2024-02-09 01:27
adduser
148.16
KB
-rwxr-xr-x
2023-11-21 18:06
agetty
62.38
KB
-rwxr-xr-x
2024-02-09 01:27
alternatives
36.66
KB
-rwxr-xr-x
2023-05-16 01:01
anacron
40.99
KB
-rwxr-xr-x
2023-12-01 00:58
apachectl
4.19
KB
-rwxr-xr-x
2025-07-23 17:44
applygnupgdefaults
2.17
KB
-rwxr-xr-x
2017-12-18 21:28
arp
64.65
KB
-rwxr-xr-x
2021-04-07 12:41
arpd
109.52
KB
-rwxr-xr-x
2024-05-23 13:29
arping
28.75
KB
-rwxr-xr-x
2023-06-13 00:50
atd
32.63
KB
-rwxr-xr-x
2022-09-29 16:47
atrun
67
B
-rwxr-xr-x
2022-09-29 16:47
authdaemond
379
B
-rwxr-xr-x
2022-11-01 13:44
authenumerate
12.26
KB
-rwxr-xr-x
2022-11-01 13:44
authpasswd
12.34
KB
-rwxr-xr-x
2022-11-01 13:44
authtest
16.4
KB
-rwxr-xr-x
2022-11-01 13:44
avcstat
16.39
KB
-rwxr-xr-x
2022-12-13 15:58
biosdecode
21.45
KB
-rwxr-xr-x
2024-05-23 12:42
blkdeactivate
15.97
KB
-r-xr-xr-x
2024-02-03 15:05
blkdiscard
29.05
KB
-rwxr-xr-x
2024-02-09 01:27
blkid
98.66
KB
-rwxr-xr-x
2024-02-09 01:27
blkzone
49.74
KB
-rwxr-xr-x
2024-02-09 01:27
blockdev
41.3
KB
-rwxr-xr-x
2024-02-09 01:27
bridge
158.26
KB
-rwxr-xr-x
2024-05-23 13:29
build-locale-archive
841.02
KB
-rwx------
2024-09-24 18:39
capsh
32.44
KB
-rwxr-xr-x
2024-01-11 03:13
cfdisk
98.4
KB
-rwxr-xr-x
2024-02-09 01:27
chcpu
28.84
KB
-rwxr-xr-x
2024-02-09 01:27
chgpasswd
69.68
KB
-rwxr-xr-x
2023-11-21 18:06
chkconfig
45.05
KB
-rwxr-xr-x
2023-05-16 01:01
chpasswd
61.42
KB
-rwxr-xr-x
2023-11-21 18:06
chroot
41.49
KB
-rwxr-xr-x
2023-01-18 23:52
clamonacc
198.14
KB
-rwxr-xr-x
2023-10-30 01:01
clock
65.22
KB
-rwxr-xr-x
2024-02-09 01:27
clockdiff
20.44
KB
-rwxr-xr-x
2023-06-13 00:50
consoletype
11.85
KB
-rwxr-xr-x
2022-10-02 08:11
courierlogger
25.04
KB
-rwxr-xr-x
2022-11-01 13:44
cracklib-check
12.03
KB
-rwxr-xr-x
2021-04-12 09:53
cracklib-format
251
B
-rwxr-xr-x
2021-04-12 09:53
cracklib-packer
12.04
KB
-rwxr-xr-x
2021-04-12 09:53
cracklib-unpacker
8.03
KB
-rwxr-xr-x
2021-04-12 09:53
create-cracklib-dict
990
B
-rwxr-xr-x
2021-04-12 09:53
crond
73.94
KB
-rwxr-xr-x
2023-12-01 00:58
ctrlaltdel
24.79
KB
-rwxr-xr-x
2024-02-09 01:27
ctstat
25.33
KB
-rwxr-xr-x
2024-05-23 13:29
dcb
155.04
KB
-rwxr-xr-x
2024-05-23 13:29
ddns-confgen
20.46
KB
-rwxr-xr-x
2024-08-19 17:37
delpart
24.86
KB
-rwxr-xr-x
2024-02-09 01:27
depmod
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
devlink
215.86
KB
-rwxr-xr-x
2024-05-23 13:29
dmfilemapd
24.54
KB
-r-xr-xr-x
2024-02-03 15:05
dmidecode
141.81
KB
-rwxr-xr-x
2024-05-23 12:42
dmsetup
158.63
KB
-r-xr-xr-x
2024-02-03 15:05
dmstats
158.63
KB
-r-xr-xr-x
2024-02-03 15:05
dnssec-checkds
936
B
-rwxr-xr-x
2024-08-19 17:37
dnssec-coverage
938
B
-rwxr-xr-x
2024-08-19 17:37
dnssec-dsfromkey
60.84
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-importkey
60.84
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-keyfromlabel
64.76
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-keygen
72.84
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-keymgr
934
B
-rwxr-xr-x
2024-08-19 17:37
dnssec-revoke
56.74
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-settime
60.84
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-signzone
117.2
KB
-rwxr-xr-x
2024-08-19 17:37
dnssec-verify
52.84
KB
-rwxr-xr-x
2024-08-19 17:37
ether-wake
73.94
KB
-rwxr-xr-x
2021-04-07 12:41
ethtool
557.79
KB
-rwxr-xr-x
2022-10-01 01:54
faillock
20.52
KB
-rwxr-xr-x
2024-07-03 05:47
fcgistarter
12.51
KB
-rwxr-xr-x
2025-07-23 17:45
fdformat
33.17
KB
-rwxr-xr-x
2024-02-09 01:27
fdisk
130.92
KB
-rwxr-xr-x
2024-02-09 01:27
findfs
12.37
KB
-rwxr-xr-x
2024-02-09 01:27
fix-info-dir
7.84
KB
-rwxr-xr-x
2022-04-21 00:48
fixfiles
10.48
KB
-rwxr-xr-x
2024-04-17 00:43
fsck
53.47
KB
-rwxr-xr-x
2024-02-09 01:27
fsck.cramfs
41.4
KB
-rwxr-xr-x
2024-02-09 01:27
fsck.minix
98.74
KB
-rwxr-xr-x
2024-02-09 01:27
fsfreeze
16.38
KB
-rwxr-xr-x
2024-02-09 01:27
fstrim
49.6
KB
-rwxr-xr-x
2024-02-09 01:27
ftpscrub
21.87
KB
-rwxr-xr-x
2023-12-15 00:15
ftpshut
12.37
KB
-rwxr-xr-x
2023-12-15 00:15
fuser
38.01
KB
-rwxr-xr-x
2021-04-12 15:57
g13-syshelp
189.71
KB
-rwxr-xr-x
2022-09-13 16:58
genhomedircon
29.27
KB
-rwxr-xr-x
2024-04-17 00:43
genhostid
11.85
KB
-rwxr-xr-x
2022-10-02 08:11
genl
121.41
KB
-rwxr-xr-x
2024-05-23 13:29
genrandom
12.38
KB
-rwxr-xr-x
2024-08-19 17:37
getcap
12.34
KB
-rwxr-xr-x
2024-01-11 03:13
getenforce
7.9
KB
-rwxr-xr-x
2022-12-13 15:58
getpcaps
12.27
KB
-rwxr-xr-x
2024-01-11 03:13
getsebool
11.93
KB
-rwxr-xr-x
2022-12-13 15:58
groupadd
95.34
KB
-rwxr-xr-x
2023-11-21 18:06
groupdel
91.09
KB
-rwxr-xr-x
2023-11-21 18:06
groupmems
61.49
KB
-rwxr-xr-x
2023-11-21 18:06
groupmod
99.37
KB
-rwxr-xr-x
2023-11-21 18:06
grpck
61.48
KB
-rwxr-xr-x
2023-11-21 18:06
grpconv
57.27
KB
-rwxr-xr-x
2023-11-21 18:06
grpunconv
57.25
KB
-rwxr-xr-x
2023-11-21 18:06
halt
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
htcacheclean
32.64
KB
-rwxr-xr-x
2025-07-23 17:45
httpd
570.41
KB
-rwxr-xr-x
2025-07-23 17:45
hwclock
65.22
KB
-rwxr-xr-x
2024-02-09 01:27
iconvconfig
33.05
KB
-rwxr-xr-x
2024-09-24 18:39
ifconfig
80.79
KB
-rwxr-xr-x
2021-04-07 12:41
ifdown
2.07
KB
-rwxr-xr-x
2022-08-10 22:03
ifenslave
24.95
KB
-rwxr-xr-x
2023-06-13 00:50
ifstat
117.68
KB
-rwxr-xr-x
2024-05-23 13:29
ifup
5.33
KB
-rwxr-xr-x
2022-08-10 22:03
in.proftpd
1.17
MB
-rwxr-xr-x
2023-12-15 00:15
init
1.53
MB
-rwxr-xr-x
2024-09-24 18:26
insmod
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
install-info
50.1
KB
-rwxr-xr-x
2022-04-21 00:48
iotop
511
B
-rwxr-xr-x
2024-01-17 01:58
ip
693.3
KB
-rwxr-xr-x
2024-05-23 13:29
ip6tables
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
ip6tables-restore
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
ip6tables-save
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
ipmaddr
20.95
KB
-rwxr-xr-x
2021-04-07 12:41
ipset
8.01
KB
-rwxr-xr-x
2021-04-12 11:54
iptables
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
iptables-apply
3.43
KB
-rwxr-xr-x
2023-07-08 02:04
iptables-restore
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
iptables-save
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
iptunnel
24.94
KB
-rwxr-xr-x
2021-04-07 12:41
isc-hmac-fixup
11.86
KB
-rwxr-xr-x
2024-08-19 17:37
lchage
16.41
KB
-rwxr-xr-x
2024-09-24 18:27
ldattach
32.99
KB
-rwxr-xr-x
2024-02-09 01:27
ldconfig
986.02
KB
-rwxr-xr-x
2024-09-24 18:39
lgroupadd
11.88
KB
-rwxr-xr-x
2024-09-24 18:27
lgroupdel
11.88
KB
-rwxr-xr-x
2024-09-24 18:27
lgroupmod
19.88
KB
-rwxr-xr-x
2024-09-24 18:27
lid
16.27
KB
-rwxr-xr-x
2024-09-24 18:27
lnewusers
19.87
KB
-rwxr-xr-x
2024-09-24 18:27
lnstat
25.33
KB
-rwxr-xr-x
2024-05-23 13:29
load_policy
12.28
KB
-rwxr-xr-x
2024-04-17 00:43
logrotate
92.99
KB
-rwxr-xr-x
2023-02-07 17:19
losetup
90.59
KB
-rwxr-xr-x
2024-02-09 01:27
lpasswd
20.35
KB
-rwxr-xr-x
2024-09-24 18:27
lsmod
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
luseradd
19.88
KB
-rwxr-xr-x
2024-09-24 18:27
luserdel
15.88
KB
-rwxr-xr-x
2024-09-24 18:27
lusermod
19.88
KB
-rwxr-xr-x
2024-09-24 18:27
mariadbd
23.75
MB
-rwxr-xr-x
2023-10-13 00:33
matchpathcon
12.36
KB
-rwxr-xr-x
2022-12-13 15:58
mii-diag
25.4
KB
-rwxr-xr-x
2021-04-07 12:41
mii-tool
21.04
KB
-rwxr-xr-x
2021-04-07 12:41
mkdict
251
B
-rwxr-xr-x
2021-04-12 09:53
mkfs
16.47
KB
-rwxr-xr-x
2024-02-09 01:27
mkfs.cramfs
41.26
KB
-rwxr-xr-x
2024-02-09 01:27
mkfs.minix
86.55
KB
-rwxr-xr-x
2024-02-09 01:27
mkhomedir_helper
24.44
KB
-rwxr-xr-x
2024-07-03 05:47
mkswap
86.47
KB
-rwxr-xr-x
2024-02-09 01:27
modinfo
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
modprobe
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
mysqld
23.75
MB
-rwxr-xr-x
2023-10-13 00:33
named-checkzone
36.63
KB
-rwxr-xr-x
2024-08-19 17:37
named-compilezone
36.63
KB
-rwxr-xr-x
2024-08-19 17:37
nameif
16.92
KB
-rwxr-xr-x
2021-04-07 12:41
newusers
107.23
KB
-rwxr-xr-x
2023-11-21 18:06
nft
24.41
KB
-rwxr-xr-x
2023-11-16 02:58
nginx
1.42
MB
-rwxr-xr-x
2024-11-11 15:25
nginx-debug
1.58
MB
-rwxr-xr-x
2024-11-11 15:25
nologin
11.87
KB
-rwxr-xr-x
2024-02-09 01:27
nsec3hash
12.29
KB
-rwxr-xr-x
2024-08-19 17:37
nstat
113.57
KB
-rwxr-xr-x
2024-05-23 13:29
opendkim
222.48
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-default-keygen
1.4
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-genkey
6.29
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-genzone
83.31
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-reportstats
14.16
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-testkey
83.47
KB
-rwxr-xr-x
2023-04-17 04:11
opendkim-testmsg
16.37
KB
-rwxr-xr-x
2023-04-17 04:11
ownership
12.4
KB
-rwxr-xr-x
2024-05-23 12:42
packer
12.04
KB
-rwxr-xr-x
2021-04-12 09:53
pam_console_apply
45.2
KB
-rwxr-xr-x
2024-07-03 05:47
pam_timestamp_check
11.87
KB
-rwsr-xr-x
2024-07-03 05:47
paperconfig
4.07
KB
-rwxr-xr-x
2021-04-12 12:58
partx
94.5
KB
-rwxr-xr-x
2024-02-09 01:27
pflogsumm
58.47
KB
-rwxr-xr-x
2022-10-28 18:40
pidof
16.56
KB
-rwxr-xr-x
2023-08-16 00:10
ping
66.08
KB
-rwxr-xr-x
2023-06-13 00:50
ping6
66.08
KB
-rwxr-xr-x
2023-06-13 00:50
pivot_root
12.38
KB
-rwxr-xr-x
2024-02-09 01:27
plipconfig
12.66
KB
-rwxr-xr-x
2021-04-07 12:41
pluginviewer
20.57
KB
-rwxr-xr-x
2022-02-24 02:20
postalias
20.41
KB
-rwxr-xr-x
2022-10-28 18:40
postcat
19.94
KB
-rwxr-xr-x
2022-10-28 18:40
postconf
190.95
KB
-rwxr-xr-x
2022-10-28 18:40
postdrop
20.44
KB
-rwxr-sr-x
2022-10-28 18:40
postfix
16.27
KB
-rwxr-xr-x
2022-10-28 18:40
postkick
11.84
KB
-rwxr-xr-x
2022-10-28 18:40
postlock
12.27
KB
-rwxr-xr-x
2022-10-28 18:40
postlog
12.02
KB
-rwxr-xr-x
2022-10-28 18:40
postmap
24.41
KB
-rwxr-xr-x
2022-10-28 18:40
postmulti
28.91
KB
-rwxr-xr-x
2022-10-28 18:40
postqueue
24.47
KB
-rwxr-sr-x
2022-10-28 18:40
postsuper
28.83
KB
-rwxr-xr-x
2022-10-28 18:40
posttls-finger
44.66
KB
-rwxr-xr-x
2022-10-28 18:40
poweroff
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
proftpd
1.17
MB
-rwxr-xr-x
2023-12-15 00:15
pwck
57.27
KB
-rwxr-xr-x
2023-11-21 18:06
pwconv
53.1
KB
-rwxr-xr-x
2023-11-21 18:06
pwhistory_helper
20.43
KB
-rwxr-xr-x
2024-07-03 05:47
pwunconv
53.13
KB
-rwxr-xr-x
2023-11-21 18:06
qshape
12.55
KB
-rwxr-xr-x
2022-10-28 18:40
rdisc
24.55
KB
-rwxr-xr-x
2023-06-13 00:50
rdma
187.38
KB
-rwxr-xr-x
2024-05-23 13:29
readprofile
20.55
KB
-rwxr-xr-x
2024-02-09 01:27
reboot
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
resizepart
41.56
KB
-rwxr-xr-x
2024-02-09 01:27
resolvconf
195.75
KB
-rwxr-xr-x
2024-09-24 18:26
restorecon
20.53
KB
-rwxr-xr-x
2024-04-17 00:43
restorecon_xattr
16.41
KB
-rwxr-xr-x
2024-04-17 00:43
rfkill
53.46
KB
-rwxr-xr-x
2024-02-09 01:27
rmmod
159.95
KB
-rwxr-xr-x
2023-10-25 03:23
rotatelogs
24.56
KB
-rwxr-xr-x
2025-07-23 17:45
route
67.57
KB
-rwxr-xr-x
2021-04-07 12:41
rsyslogd
724.77
KB
-rwxr-xr-x
2023-06-08 07:16
rtacct
46.94
KB
-rwxr-xr-x
2024-05-23 13:29
rtcwake
49.31
KB
-rwxr-xr-x
2024-02-09 01:27
rtmon
117.27
KB
-rwxr-xr-x
2024-05-23 13:29
rtstat
25.33
KB
-rwxr-xr-x
2024-05-23 13:29
runlevel
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
runuser
48.99
KB
-rwxr-xr-x
2024-02-09 01:27
saslauthd
94.42
KB
-rwxr-xr-x
2022-02-24 02:20
sasldblistusers2
20.77
KB
-rwxr-xr-x
2022-02-24 02:20
saslpasswd2
16.42
KB
-rwxr-xr-x
2022-02-24 02:20
sefcontext_compile
65.41
KB
-rwxr-xr-x
2022-12-13 15:58
selabel_digest
12.27
KB
-rwxr-xr-x
2022-12-13 15:58
selabel_lookup
12.27
KB
-rwxr-xr-x
2022-12-13 15:58
selabel_lookup_best_match
11.95
KB
-rwxr-xr-x
2022-12-13 15:58
selabel_partial_match
11.94
KB
-rwxr-xr-x
2022-12-13 15:58
selinux_check_access
12.35
KB
-rwxr-xr-x
2022-12-13 15:58
selinuxconlist
11.93
KB
-rwxr-xr-x
2022-12-13 15:58
selinuxdefcon
11.93
KB
-rwxr-xr-x
2022-12-13 15:58
selinuxenabled
7.89
KB
-rwxr-xr-x
2022-12-13 15:58
selinuxexeccon
11.92
KB
-rwxr-xr-x
2022-12-13 15:58
semodule
29.27
KB
-rwxr-xr-x
2024-04-17 00:43
sendmail
28.47
KB
-rwxr-xr-x
2022-10-28 18:40
sendmail.postfix
28.47
KB
-rwxr-xr-x
2022-10-28 18:40
service
3.64
KB
-rwxr-xr-x
2022-08-10 22:03
sestatus
20.41
KB
-rwxr-xr-x
2024-04-17 00:43
setcap
16.27
KB
-rwx------
2024-01-11 03:13
setenforce
12.26
KB
-rwxr-xr-x
2022-12-13 15:58
setfiles
20.53
KB
-rwxr-xr-x
2024-04-17 00:43
setsebool
16.38
KB
-rwxr-xr-x
2024-04-17 00:43
sfdisk
118.5
KB
-rwxr-xr-x
2024-02-09 01:27
shutdown
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
slattach
43.7
KB
-rwxr-xr-x
2021-04-07 12:41
smtp-sink
33.71
KB
-rwxr-xr-x
2022-10-28 18:40
smtp-source
28.62
KB
-rwxr-xr-x
2022-10-28 18:40
ss
191.3
KB
-rwxr-xr-x
2024-05-23 13:29
sshd
869.66
KB
-rwxr-xr-x
2024-08-14 05:36
sshd-public
869.66
KB
-rwxr-xr-x
2024-08-14 05:36
suexec
20.38
KB
-r-s--s---
2025-07-23 17:45
sulogin
49.24
KB
-rwxr-xr-x
2024-02-09 01:27
swaplabel
16.5
KB
-rwxr-xr-x
2024-02-09 01:27
swapoff
20.74
KB
-rwxr-xr-x
2024-02-09 01:27
swapon
49.4
KB
-rwxr-xr-x
2024-02-09 01:27
switch_root
16.49
KB
-rwxr-xr-x
2024-02-09 01:27
sysctl
28.74
KB
-rwxr-xr-x
2023-08-16 00:10
t1libconfig
3.83
KB
-rwxr-xr-x
2007-12-24 00:49
tc
587.34
KB
-rwxr-xr-x
2024-05-23 13:29
tcsd
309.75
KB
-rwxr-xr-x
2023-11-27 10:38
telinit
218.45
KB
-rwxr-xr-x
2024-09-24 18:26
testsaslauthd
16.66
KB
-rwxr-xr-x
2022-02-24 02:20
tipc
163.07
KB
-rwxr-xr-x
2024-05-23 13:29
tracepath
20.45
KB
-rwxr-xr-x
2023-06-13 00:50
tracepath6
20.45
KB
-rwxr-xr-x
2023-06-13 00:50
tsig-keygen
20.46
KB
-rwxr-xr-x
2024-08-19 17:37
udevadm
424.58
KB
-rwxr-xr-x
2024-09-24 18:26
unbound-anchor
57.33
KB
-rwxr-xr-x
2024-04-12 01:50
unix_chkpwd
36.86
KB
-rwsr-xr-x
2024-07-03 05:47
unix_update
36.85
KB
-rwx------
2024-07-03 05:47
update-alternatives
36.66
KB
-rwxr-xr-x
2023-05-16 01:01
useradd
148.16
KB
-rwxr-xr-x
2023-11-21 18:06
userdel
107.3
KB
-rwxr-xr-x
2023-11-21 18:06
usermod
144.08
KB
-rwxr-xr-x
2023-11-21 18:06
usernetctl
12.4
KB
-rwxr-xr-x
2022-10-02 08:11
vdpa
118.04
KB
-rwxr-xr-x
2024-05-23 13:29
vigr
68.05
KB
-rwxr-xr-x
2023-11-21 18:06
vipw
68.05
KB
-rwxr-xr-x
2023-11-21 18:06
visudo
239.22
KB
-rwxr-xr-x
2025-07-02 03:55
vpddecode
16.47
KB
-rwxr-xr-x
2024-05-23 12:42
weak-modules
33.6
KB
-rwxr-xr-x
2023-10-25 03:23
wipefs
41.11
KB
-rwxr-xr-x
2024-02-09 01:27
xtables-legacy-multi
96.07
KB
-rwxr-xr-x
2023-07-08 02:05
zdump
20.56
KB
-rwxr-xr-x
2024-09-24 18:39
zic
52.82
KB
-rwxr-xr-x
2024-09-24 18:39
zramctl
99.09
KB
-rwxr-xr-x
2024-02-09 01:27
Save
Rename
#! /usr/bin/perl -w # To view the formatted manual page of this file, type: # POSTFIXSOURCE/mantools/srctoman - qshape | nroff -man #++ # NAME # qshape 1 # SUMMARY # Print Postfix queue domain and age distribution # SYNOPSIS # .fi # \fBqshape\fR [\fB-s\fR] [\fB-p\fR] [\fB-m \fImin_subdomains\fR] # [\fB-b \fIbucket_count\fR] [\fB-t \fIbucket_time\fR] # [\fB-l\fR] [\fB-w \fIterminal_width\fR] # [\fB-N \fIbatch_msg_count\fR] [\fB-n \fIbatch_top_domains\fR] # [\fB-c \fIconfig_directory\fR] [\fIqueue_name\fR ...] # DESCRIPTION # The \fBqshape\fR program helps the administrator understand the # Postfix queue message distribution in time and by sender domain # or recipient domain. The program needs read access to the queue # directories and queue files, so it must run as the superuser or # the \fBmail_owner\fR specified in \fBmain.cf\fR (typically # \fBpostfix\fR). # # Options: # .IP \fB-s\fR # Display the sender domain distribution instead of the recipient # domain distribution. By default the recipient distribution is # displayed. There can be more recipients than messages, but as # each message has only one sender, the sender distribution is a # message distribution. # .IP \fB-p\fR # Generate aggregate statistics for parent domains. Top level domains # are not shown, nor are domains with fewer than \fImin_subdomains\fR # subdomains. The names of parent domains are shown with a leading dot, # (e.g. \fI.example.com\fR). # .IP "\fB-m \fImin_subdomains\fR" # When used with the \fB-p\fR option, sets the minimum subdomain count # needed to show a separate line for a parent domain. The default is 5. # .IP "\fB-b \fIbucket_count\fR" # The age distribution is broken up into a sequence of geometrically # increasing intervals. This option sets the number of intervals # or "buckets". Each bucket has a maximum queue age that is twice # as large as that of the previous bucket. The last bucket has no # age limit. # .IP "\fB-t \fIbucket_time\fR" # The age limit in minutes for the first time bucket. The default # value is 5, meaning that the first bucket counts messages between # 0 and 5 minutes old. # .IP "\fB-l\fR" # Instead of using a geometric age sequence, use a linear age sequence, # in other words simple multiples of \fBbucket_time\fR. # # This feature is available in Postfix 2.2 and later. # .IP "\fB-w \fIterminal_width\fR" # The output is right justified, with the counts for the last # bucket shown on the 80th column, the \fIterminal_width\fR can be # adjusted for wider screens allowing more buckets to be displayed # without truncating the domain names on the left. When a row for a # full domain name and its counters does not fit in the specified # number of columns, only the last 17 bytes of the domain name # are shown with the prefix replaced by a '+' character. Truncated # parent domain rows are shown as '.+' followed by the last 16 bytes # of the domain name. If this is still too narrow to show the domain # name and all the counters, the terminal_width limit is violated. # .IP "\fB-N \fIbatch_msg_count\fR" # When the output device is a terminal, intermediate results are # shown each "batch_msg_count" messages. This produces usable results # in a reasonable time even when the deferred queue is large. The # default is to show intermediate results every 1000 messages. # .IP "\fB-n \fIbatch_top_domains\fR" # When reporting intermediate or final results to a termainal, report # only the top "batch_top_domains" domains. The default limit is 20 # domains. # .IP "\fB-c \fIconfig_directory\fR" # The \fBmain.cf\fR configuration file is in the named directory # instead of the default configuration directory. # .PP # Arguments: # .IP \fIqueue_name\fR # By default \fBqshape\fR displays the combined distribution of # the incoming and active queues. To display a different set of # queues, just list their directory names on the command line. # Absolute paths are used as is, other paths are taken relative # to the \fBmain.cf\fR \fBqueue_directory\fR parameter setting. # While \fBmain.cf\fR supports the use of \fI$variable\fR expansion # in the definition of the \fBqueue_directory\fR parameter, the # \fBqshape\fR program does not. If you must use variable expansions # in the \fBqueue_directory\fR setting, you must specify an explicit # absolute path for each queue subdirectory even if you want the # default incoming and active queue distribution. # SEE ALSO # mailq(1), List all messages in the queue. # QSHAPE_README Examples and background material. # FILES # $config_directory/main.cf, Postfix installation parameters. # $queue_directory/maildrop/, local submission directory. # $queue_directory/incoming/, new message queue. # $queue_directory/hold/, messages waiting for tech support. # $queue_directory/active/, messages scheduled for delivery. # $queue_directory/deferred/, messages postponed for later delivery. # LICENSE # .ad # .fi # The Secure Mailer license must be distributed with this software. # AUTHOR(S) # Victor Duchovni # Morgan Stanley #-- use strict; use IO::File; use File::Find; use Getopt::Std; my $cls; # Clear screen escape sequence my $batch_msg_count; # Interim result frequency my $batch_top_domains; # Interim result count my %opts; # Command line switches my %q; # domain counts for queues and buckets my %sub; # subdomain counts for parent domains my $now = time; # reference time my $bnum = 10; # deferred queue bucket count my $width = 80; # screen char width my $dwidth = 18; # min width of domain field my $tick = 5; # minutes my $minsub = 5; # Show parent domains with at least $minsub subdomains my @qlist = qw(incoming active); do { local $SIG{__WARN__} = sub { warn "$0: $_[0]" unless exists($opts{"h"}); die "Usage: $0 [ -s ] [ -p ] [ -m <min_subdomains> ] [ -l ]\n". "\t[ -b <bucket_count> ] [ -t <bucket_time> ] [ -w <terminal_width> ]\n". "\t[ -N <batch_msg_count> ] [ -n <batch_top_domains> ]\n". "\t[ -c <config_directory> ] [ <queue_name> ... ]\n". "The 's' option shows sender domain counts.\n". "The 'p' option shows address counts by for parent domains.\n". "Parent domains are shown with a leading '.' before the domain name.\n". "Parent domains are only shown if the the domain is not a TLD, and at\n". "least <min_subdomains> (default 5) subdomains are shown in the output.\n\n". "The bucket age ranges in units of <bucket_time> minutes are\n". "[0,1), [1,2), [2,4), [4,8), [8, 16), ... i.e.:\n". "\tthe first bucket is [0, bucket_time) minutes\n". "\tthe second bucket is [bucket_time, 2*bucket_time) minutes\n". "\tthe third bucket is [2*bucket_time, 4*bucket_time) minutes...\n". "'-l' makes the ages linear, the number of buckets shown is <bucket_count>\n\n". "The default summary is for the incoming and active queues. An explicit\n". "list of queue names can be given on the command line. Non-absolute queue\n". "names are interpreted relative to the Postfix queue directory. Use\n". "<config_directory> to specify a non-default Postfix instance. Values of\n". "the main.cf queue_directory parameter that use variable expansions are\n". "not supported. If necessary, use explicit absolute paths for all queues.\n"; }; getopts("lhc:psw:b:t:m:n:N:", \%opts); warn "Help message" if (exists $opts{"h"}); @qlist = @ARGV if (@ARGV > 0); # The -c option specifies the configuration directory, # it is not used if all queue names are absolute. # foreach (@qlist) { next if (m{^/}); $ENV{q{MAIL_CONFIG}} = $opts{"c"} if (exists $opts{"c"}); chomp(my $qdir = qx{postconf -h queue_directory}); die "$0: postconf failed\n" if ($? != 0); warn "'queue_directory' variable expansion not supported: $qdir\n" if ($qdir =~ /\$/); chdir($qdir) or die "$0: chdir($qdir): $!\n"; last; } }; $width = $opts{"w"} if (exists $opts{"w"} && $opts{"w"} > 80); $bnum = $opts{"b"} if (exists $opts{"b"} && $opts{"b"} > 0); $tick = $opts{"t"} if (exists $opts{"t"} && $opts{"t"} > 0); $minsub = $opts{"m"} if (exists $opts{"m"} && $opts{"m"} > 0); if ( -t STDOUT ) { $batch_msg_count = 1000 unless defined($batch_msg_count = $opts{"N"}); $batch_top_domains = 20 unless defined ($batch_top_domains = $opts{"n"}); $cls = `clear`; } else { $batch_msg_count = 0; $batch_top_domains = 0; $cls = ""; } sub rec_get { my ($h) = @_; my $r = getc($h) || return; my $l = 0; my $shift = 0; while (defined(my $lb = getc($h))) { my $o = ord($lb); $l |= ($o & 0x7f) << $shift ; last if (($o & 0x80) == 0); $shift += 7; return if ($shift > 14); # XXX: max rec len of 2097151 } my $d = ""; return unless ($l == 0 || read($h,$d,$l) == $l); ($r, $l, $d); } sub qenv { my ($qfile) = @_; return unless $qfile =~ m{(^|/)[A-Za-z0-9]{6,}$}; my @st = lstat($qfile); return unless (@st > 0 && -f _ && (($st[2] & 0733) == 0700)); my $h = new IO::File($qfile, "r") || return; my ($t, $s, @r, $dlen); my ($r, $l, $d) = rec_get($h); if ($r eq "C") { # XXX: Sanity check, the first record type is REC_TYPE_SIZE (C) # if the file is proper queue file written by "cleanup", in # this case the second record is always REC_TYPE_TIME. # $dlen = $1 if ($d =~ /^\s*(\d+)\s+\d+\s+\d+/); ($r, $l, $d) = rec_get($h); return unless (defined $r && $r eq "T"); ($t) = split(/\s+/, $d); } elsif ($r eq "S" || $r eq "F") { # For embryonic queue files in the "maildrop" directory the first # record is either a REC_TYPE_FULL (F) followed by REC_TYPE_FROM # or an immediate REC_TYPE_FROM (S). In either case there is no # REC_TYPE_TIME and we get the timestamp via lstat(). # $t = $st[9]; if ($r ne "S") { ($r, $l, $d) = rec_get($h); return unless (defined $r && $r eq "S"); } $s = $d; } else { # XXX: Not a valid queue file! # return undef; } while (my ($r, $l, $d) = rec_get($h)) { if ($r eq "p" && $d > 0) { seek($h, $d, 0) or return (); # follow pointer } if ($r eq "R") { push(@r, $d); } elsif ($r eq "S") { $s = $d; } elsif ($r eq "M") { last unless (defined($s)); if (defined($dlen)) { seek($h, $dlen, 1) or return (); # skip content ($r, $l, $d) = rec_get($h); } else { while ((($r, $l, $d) = rec_get($h)) && ($r =~ /^[NLp]$/)) { if ($r eq "p" && $d > 0) { seek($h, $d, 0) or return (); # follow pointer } } } return unless (defined($r) && $r eq "X"); } elsif ($r eq "E") { last unless (defined($t) && defined($s) && @r); return ($t, $s, @r); } } return (); } # bucket 0 is the total over all the buckets. # buckets 1 to $bnum contain the age breakdown. # sub bucket { my ($qt, $now) = @_; my $m = ($now - $qt) / (60 * $tick); return 1 if ($m < 1); my $b = $opts{"l"} ? int($m+1) : 2 + int(log($m) / log(2)); $b < $bnum ? $b : $bnum; } # Collate by age of message in the selected queues. # my $msgs; sub wanted { if (my ($t, $s, @r) = qenv($_)) { my $b = bucket($t, $now); foreach my $a (map {lc($_)} ($opts{"s"} ? ($s) : @r)) { ++$q{"TOTAL"}->[0]; ++$q{"TOTAL"}->[$b]; $a = "MAILER-DAEMON" if ($a eq ""); $a =~ s/.*\@//; $a =~ s/\.\././g; $a =~ s/\.?(.+?)\.?$/$1/; my $new = 0; do { my $old = (++$q{$a}->[0] > 1); ++$q{$a}->[$b]; ++$sub{$a} if ($new); $new = ! $old; } while ($opts{"p"} && $a =~ s/^(?:\.)?[^.]+\.(.*\.)/.$1/); } if ($batch_msg_count > 0 && ++$msgs % $batch_msg_count == 0) { results(); } } } my @heads; my $fmt; my $dw; sub pdomain { my ($d, @count) = @_; foreach ((0 .. $bnum)) { $count[$_] ||= 0; } my $len = length($d); if ($len > $dw) { if (substr($d, 0, 1) eq ".") { print ".+",substr($d, $len-$dw+2, $dw-2); } else { print "+",substr($d, $len-$dw+1, $dw-1); } } else { print (" " x ($dw - $len), $d); } printf "$fmt\n", @count; } sub results { @heads = (); $dw = $width; $fmt = ""; for (my $i = 0, my $t = 0; $i <= $bnum; ) { $q{"TOTAL"}->[$i] ||= 0; my $l = length($q{"TOTAL"}->[$i]); my $h = ($i == 0) ? "T" : $t; $l = length($h) if (length($h) >= $l); $l = ($l > 2) ? $l + 1 : 3; push(@heads, $h); $fmt .= sprintf "%%%ds", $l; $dw -= $l; if (++$i < $bnum) { $t += ($t && !$opts{"l"}) ? $t : $tick; } else { $t = "$t+"; } } $dw = $dwidth if ($dw < $dwidth); print $cls if ($batch_msg_count > 0); # Print headings # pdomain("", @heads); my $n = 0; # Show per-domain totals # foreach my $d (sort { $q{$b}->[0] <=> $q{$a}->[0] || length($a) <=> length($b) } keys %q) { # Skip parent domains with < $minsub subdomains. # next if ($d =~ /^\./ && $sub{$d} < $minsub); last if ($batch_top_domains > 0 && ++$n > $batch_top_domains); pdomain($d, @{$q{$d}}); } } find(\&wanted, @qlist); results();