/usr/sbin
NameSizeModeActions
accessdb148080755editdlrm
add-shell10530755editdlrm
addgroup434320755editdlrm
adduser434320755editdlrm
agetty1101520755editdlrm
aspell-autobuildhash137080755editdlrm
badblocks434320755editdlrm
blkdiscard352080755editdlrm
blkid434320755editdlrm
blkzone925520755editdlrm
blockdev434320755editdlrm
bootlogd434320755editdlrm
cfdisk434320755editdlrm
chcpu474960755editdlrm
check_forensic9520755editdlrm
chgpasswd680160755editdlrm
chmem720720755editdlrm
chpasswd973680755editdlrm
chroot516240755editdlrm
convertquota806880755editdlrm
cron600640755editdlrm
ctrlaltdel434320755editdlrm
cytune434320755editdlrm
debugfs434320755editdlrm
delgroup212090755editdlrm
deluser212090755editdlrm
depmod434320755editdlrm
dpkg-preconfigure45630755editdlrm
dpkg-reconfigure45360755editdlrm
dumpe2fs434320755editdlrm
e2fsck434320755editdlrm
e2image434320755editdlrm
e2label434320755editdlrm
e2undo434320755editdlrm
edquota893600755editdlrm
faillock227760755editdlrm
fdformat434320755editdlrm
fdisk434320755editdlrm
findfs434320755editdlrm
fsck434320755editdlrm
fsck.cramfs434320755editdlrm
fsck.ext2434320755editdlrm
fsck.ext3434320755editdlrm
fsck.ext4434320755editdlrm
fsck.ext4dev434320755editdlrm
fsck.minix434320755editdlrm
fsck.nfs434320755editdlrm
fsfreeze147280755editdlrm
fstab-decode145760755editdlrm
fstrim884560755editdlrm
getty434320755editdlrm
groupadd434320755editdlrm
groupdel434320755editdlrm
groupmod434320755editdlrm
grpck639280755editdlrm
grpconv596720755editdlrm
grpunconv596720755editdlrm
halt434320755editdlrm
httxt2dbm145760755editdlrm
hwclock434320755editdlrm
iconvconfig311280755editdlrm
ifconfig434320755editdlrm
ifdown434320755editdlrm
ifup434320755editdlrm
init434320755editdlrm
insmod434320755editdlrm
insserv434320755editdlrm
installkernel434320755editdlrm
invoke-rc.d434320755editdlrm
ipmaddr434320755editdlrm
iptunnel434320755editdlrm
isosize434320755editdlrm
ispell-autobuildhash158950755editdlrm
killall5434320755editdlrm
ldattach352080755editdlrm
ldconfig9881680755editdlrm
logrotate923280755editdlrm
losetup434320755editdlrm
MAKEDEV434320755editdlrm
mii-tool434320755editdlrm
mke2fs434320755editdlrm
mkfs434320755editdlrm
mkfs.bfs434320755editdlrm
mkfs.cramfs434320755editdlrm
mkfs.ext2434320755editdlrm
mkfs.ext3434320755editdlrm
mkfs.ext4434320755editdlrm
mkfs.ext4dev434320755editdlrm
mkfs.minix434320755editdlrm
mkhomedir_helper146000755editdlrm
mkswap434320755editdlrm
modinfo434320755editdlrm
modprobe434320755editdlrm
nameif434320755editdlrm
newusers1095360755editdlrm
nologin229120755editdlrm
pam-auth-update214410755editdlrm
pam_getenv28900755editdlrm
pam_namespace_helper4670755editdlrm
pam_timestamp_check145840755editdlrm
pivot_root434320755editdlrm
plipconfig434320755editdlrm
policy-rc.d210755editdlrm
poweroff434320755editdlrm
pwck597840755editdlrm
pwconv555600755editdlrm
pwhistory_helper227760755editdlrm
pwunconv555760755editdlrm
quotacheck1141280755editdlrm
quotaoff852000755editdlrm
quotaon852000755editdlrm
quotastats144160755editdlrm
quota_nld848480755editdlrm
rarp434320755editdlrm
raw434320755editdlrm
rdev434320755editdlrm
readprofile434320755editdlrm
reboot434320755editdlrm
remove-default-ispell29320755editdlrm
remove-default-wordlist29310755editdlrm
remove-shell11110755editdlrm
repquota853600755editdlrm
resize2fs434320755editdlrm
rmmod434320755editdlrm
rmt647040755editdlrm
rmt-tar647040755editdlrm
route434320755editdlrm
rpc.rquotad891680755editdlrm
rtcwake556880755editdlrm
runlevel434320755editdlrm
runuser843600755editdlrm
select-default-ispell33030755editdlrm
select-default-wordlist32840755editdlrm
sendmail19630755editdlrm
service92150755editdlrm
setquota976160755editdlrm
sfdisk434320755editdlrm
shadowconfig434320755editdlrm
shutdown434320755editdlrm
slattach434320755editdlrm
split-logfile24150755editdlrm
start-stop-daemon444640755editdlrm
startpar434320755editdlrm
sulogin434320755editdlrm
swaplabel188240755editdlrm
swapoff515840755editdlrm
swapon434320755editdlrm
switch_root434320755editdlrm
sysctl434320755editdlrm
tarcat9360755editdlrm
tune2fs434320755editdlrm
tunelp434320755editdlrm
unix_chkpwd432562755editdlrm
unix_update432560755editdlrm
update-ca-certificates56720755editdlrm
update-default-aspell10280755editdlrm
update-default-ispell99100755editdlrm
update-default-wordlist76800755editdlrm
update-dictcommon-aspell10280755editdlrm
update-dictcommon-hunspell7820755editdlrm
update-fonts-alias58520755editdlrm
update-fonts-dir40760755editdlrm
update-fonts-scale62440755editdlrm
update-gsfontmap3900755editdlrm
update-info-dir17000755editdlrm
update-passwd434320755editdlrm
update-rc.d434320755editdlrm
update-shells40660755editdlrm
useradd434320755editdlrm
userdel434320755editdlrm
usermod434320755editdlrm
vigr745200755editdlrm
vipw745200755editdlrm
warnquota975200755editdlrm
wipefs515920755editdlrm
xqmstats144160755editdlrm
zic638160755editdlrm
zramctl1377360755editdlrm
Edit: /usr/sbin/split-logfile (2415B)
#!/usr/bin/perl # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # # This script will take a combined Web server access # log file and break its contents into separate files. # It assumes that the first field of each line is the # virtual host identity (put there by "%v"), and that # the logfiles should be named that+".log" in the current # directory. # # The combined log file is read from stdin. Records read # will be appended to any existing log files. # use strict; use warnings; my %log_file = (); while (my $log_line = ) { # # Get the first token from the log record; it's the # identity of the virtual host to which the record # applies. # my ($vhost) = split (/\s/, $log_line); # # Normalize the virtual host name to all lowercase. # If it's blank, the request was handled by the default # server, so supply a default name. This shouldn't # happen, but caution rocks. # $vhost = lc ($vhost) || "access"; # # if the vhost contains a "/" or "\", it is illegal so just use # the default log to avoid any security issues due if it is interprted # as a directory separator. if ($vhost =~ m#[/\\]#) { $vhost = "access" } # # If the log file for this virtual host isn't opened # yet, do it now. # if (! $log_file{$vhost}) { open $log_file{$vhost}, ">>${vhost}.log" or die ("Can't open ${vhost}.log"); } # # Strip off the first token (which may be null in the # case of the default server), and write the edited # record to the current log file. # $log_line =~ s/^\S*\s+//; print {$log_file{$vhost}} $log_line; } exit 0;