CentOS

2006/1/17 07:30 PM 更新

初期状態(CentOS 3)

CentOSをインストールした時点でのサーバの状態。

$ uname -a
Linux bolice 2.4.21-27.0.2.EL #1 Wed Jan 19 02:20:34 GMT 2005 i686 i686 i386
GNU/Linux

$ ps -axu
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.9  0.2  1516  512 ?        S    00:53   0:04 init
root         2  0.0  0.0     0    0 ?        SW   00:53   0:00 [keventd]
root         3  0.0  0.0     0    0 ?        SW   00:53   0:00 [kapmd]
root         4  0.0  0.0     0    0 ?        SWN  00:53   0:00 [ksoftirqd/0]
root         7  0.0  0.0     0    0 ?        SW   00:53   0:00 [bdflush]
root         5  0.0  0.0     0    0 ?        SW   00:53   0:00 [kswapd]
root         6  0.0  0.0     0    0 ?        SW   00:53   0:00 [kscand]
root         8  0.0  0.0     0    0 ?        SW   00:53   0:00 [kupdated]
root         9  0.0  0.0     0    0 ?        SW   00:53   0:00 [mdrecoveryd]
root        13  0.0  0.0     0    0 ?        SW   00:53   0:00 [kjournald]
root        66  0.0  0.0     0    0 ?        SW   00:53   0:00 [khubd]
root       646  0.0  0.0     0    0 ?        SW   00:53   0:00 [kjournald]
root       652  0.0  0.0     0    0 ?        SW   00:53   0:00 [kjournald]
root       661  0.0  0.0     0    0 ?        SW   00:53   0:00 [kjournald]
root       671  0.0  0.0     0    0 ?        SW   00:53   0:00 [kjournald]
root      1047  0.0  0.0     0    0 ?        SW   00:54   0:00 [eth0]
root      1101  0.0  0.2  1596  612 ?        S    00:54   0:00 syslogd -m 0
root      1105  0.0  0.1  1532  468 ?        S    00:54   0:00 klogd -x
rpc       1122  0.0  0.2  1668  564 ?        S    00:54   0:00 portmap
rpcuser 1141  0.0  0.2  1672  724 ?        S    00:54   0:00 rpc.statd
root      1153  0.0  0.1  1580  404 ?        S    00:54   0:00 mdadm --monitor --scan -f
root      1168  0.0  0.2 83560  604 ?        S    00:54   0:00 /sbin/auditd
root      1219  0.0  0.2  1512  520 ?        S    00:54   0:00 /usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmscript
root      1256  0.0  0.7  8672 1920 ?        S    00:54   0:00 cupsd
root      1277  0.0  0.6  3664 1572 ?        S    00:54   0:00 /usr/sbin/sshd
root      1291  0.0  0.3  2144  848 ?        S    00:54   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root      1311  0.0  1.0  6104 2548 ?        S    00:54   0:00 sendmail: accepting connections
smmsp  1320  0.0  0.9  5980 2292 ?        S    00:54   0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root      1330  0.2  0.1  1564  472 ?        S    00:54   0:01 gpm -t imps2 -m /dev/mouse
root      1339  0.0  0.2  1608  640 ?        S    00:54   0:00 crond
daemon 1348  0.0  0.2  1584  580 ?        S    00:54   0:00 /usr/sbin/atd
root      1357  0.0  0.1  1516  432 tty1     S    00:54   0:00 /sbin/mingetty tty1
root      1358  0.0  0.1  1508  432 tty2     S    00:54   0:00 /sbin/mingetty tty2
root      1359  0.0  0.1  1524  432 tty3     S    00:54   0:00 /sbin/mingetty tty3
root      1360  0.0  0.1  1512  432 tty4     S    00:54   0:00 /sbin/mingetty tty4
root      1361  0.0  0.1  1520  432 tty5     S    00:54   0:00 /sbin/mingetty tty5
root      1362  0.0  0.1  1520  432 tty6     S    00:54   0:00 /sbin/mingetty tty6

$ netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address             State
tcp        0      0 0.0.0.0:32768           0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:111             0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:113             0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:23              0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:631             0.0.0.0:*                   LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*                   LISTEN
udp        0      0 0.0.0.0:32768           0.0.0.0:*
udp        0      0 0.0.0.0:111             0.0.0.0:*
udp        0      0 0.0.0.0:631             0.0.0.0:*
udp        0      0 0.0.0.0:893             0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  9      [ ]         DGRAM                    1286   /dev/log
unix  2      [ ACC ]     STREAM     LISTENING     1836   /dev/gpmctl
unix  2      [ ]         DGRAM                    1832
unix  2      [ ]         DGRAM                    1807
unix  2      [ ]         DGRAM                    1793
unix  2      [ ]         DGRAM                    1751
unix  2      [ ]         DGRAM                    1462
unix  2      [ ]         DGRAM                    1339
unix  2      [ ]         DGRAM                    1294

$ /sbin/chkconfig --list
microcode_ctl   0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
gpm             0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
kudzu           0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
syslog          0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
netfs           0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
network         0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
random          0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
rawdevices      0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
saslauthd       0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
yum             0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
atd             0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
audit           0:オフ  1:オフ  2:オン  3:オン  4:オフ  5:オン  6:オフ
irda            0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
psacct          0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
apmd            0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
diskdump        0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
isdn            0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
iptables        0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
ip6tables       0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
iscsi           0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
pcmcia          0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
irqbalance      0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
sendmail        0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
smartd          0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
autofs          0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
netdump         0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
sshd            0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
portmap         0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
nfs             0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
nfslock         0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
mdmonitor       0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
mdmpd           0:オフ  1:オフ  2:オフ  3:オフ  4:オフ  5:オフ  6:オフ
crond           0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
xinetd          0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
cups            0:オフ  1:オフ  2:オン  3:オン  4:オン  5:オン  6:オフ
rhnsd           0:オフ  1:オフ  2:オフ  3:オン  4:オン  5:オン  6:オフ
xinetd ベースのサービス:
        krb5-telnet:    オフ
        rsync:  オフ
        eklogin:        オフ
        gssftp: オフ
        klogin: オフ
        chargen-udp:    オフ
        kshell: オフ
        auth:   オン
        chargen:        オフ
        daytime-udp:    オフ
        daytime:        オフ
        echo-udp:       オフ
        echo:   オフ
        services:       オフ
        time:   オフ
        time-udp:       オフ
        cups-lpd:       オフ
        telnet: オン

$ rpm -qa
acl-2.2.3-1
apmd-3.0.2-18
ash-0.3.8-16
aspell-0.33.7.1-25.3
aspell-config-0.33.7.1-25.3
at-3.1.8-60_EL3
attr-2.2.0-1
authconfig-4.3.7-1
authd-1.4.1-1.rhel3
autofs-4.1.3-47
basesystem-8.0-2.centos.0
bash-2.05b-29.0.3.centos.0
bc-1.06-15
beecrypt-3.0.1-0.20030630
bind-libs-9.2.4-5_EL3
bind-utils-9.2.4-5_EL3
binutils-2.14.90.0.4-35
bzip2-1.0.2-11
bzip2-libs-1.0.2-11
centos-release-3-4.2
centos-yumcache-3.1-0.20050105.3
centos-yumconf-1-11
chkconfig-1.3.11-0.3
comps-3.4centos.0-0.20050105
coreutils-4.5.3-26
cpio-2.5-3
cracklib-2.7-22
cracklib-dicts-2.7-22
crontabs-1.10-5
cups-1.1.17-13.3.16
cups-libs-1.1.17-13.3.16
cyrus-sasl-2.1.15-10
cyrus-sasl-gssapi-2.1.15-10
cyrus-sasl-md5-2.1.15-10
cyrus-sasl-plain-2.1.15-10
db4-4.1.25-8
dev-3.3.12.3-1.centos.0
devlabel-0.48.03-6
dhclient-3.0.1-10_EL3
diffutils-2.8.1-8
diskdumputils-0.4.0-1
dos2unix-3.1-15
dosfstools-2.8-10
dump-0.4b28-7
e2fsprogs-1.32-15.1
eal3-certification-1.1-2
eal3-certification-doc-1.1-2
ed-0.2-33
eject-2.0.13-2
elfutils-0.94-1
elfutils-libelf-0.94-1
ethtool-1.8-3.3
expat-1.95.5-6
fbset-2.1-13
file-3.39-9
filesystem-2.2.1-3.centos.1
findutils-4.1.7-9
finger-0.17-18
fontconfig-2.2.1-13
freetype-2.1.4-4.0
ftp-0.17-17
gawk-3.1.1-9
gdbm-1.8.0-20
gettext-0.11.4-7
glib-1.2.10-11.1
glib2-2.2.3-2.0
glibc-2.3.2-95.30
glibc-common-2.3.2-95.30
gmp-4.1.2-5
gnupg-1.2.1-10
gpm-1.19.3-27.2
grep-2.5.1-24.1
groff-1.18.1-27
grub-0.93-4.3
gzip-1.3.3-9.centos.0
hdparm-5.4-1
hesiod-3.0.2-28.1
hotplug-2002_04_01-20.2
htmlview-2.0.0-10
hwdata-0.101.14-1
info-4.5-3
initscripts-7.31.18.EL-1.centos.1
iproute-2.4.7-11.30E.1
ipsec-tools-0.2.5-0.6
iptables-1.2.8-12.3
iptables-ipv6-1.2.8-12.3
iputils-20020927-11.30.1
irda-utils-0.9.15-1
iscsi-initiator-utils-3.6.2-4
isdn4k-utils-3.1-76
jfsutils-1.1.2-2
jpackage-utils-1.5.38-1jpp_4rh
jwhois-3.2.2-1
kbd-1.08-10.2
kernel-2.4.21-27.0.2.EL
kernel-pcmcia-cs-3.1.31-13
kernel-utils-2.4-8.37.7
krb5-libs-1.2.7-38
krb5-workstation-1.2.7-38
krbafs-1.1.1-11
krbafs-utils-1.1.1-11
kudzu-1.1.22.9-1.c0
laus-0.1-66RHEL3
laus-libs-0.1-66RHEL3
less-378-11
lftp-2.6.3-5
lha-1.14i-10.4
libacl-2.2.3-1
libattr-2.2.0-1
libgcc-3.2.3-49
libgcj-3.2.3-49
libjpeg-6b-30
libpng-1.2.2-25
libstdc++-3.2.3-49
libtermcap-2.0.8-35
libtiff-3.5.7-20.1
libtool-libs-1.4.3-6
libuser-0.51.7-1.EL3.3
libwvstreams-3.70-10
libxml2-2.5.10-7
libxml2-python-2.5.10-7
lockdev-1.0.1-1.2
logrotate-3.6.9-1
logwatch-4.3.2-2
losetup-2.11y-31.2
lslk-1.29-8
lsof-4.63-4
lvm-1.0.8-9
m4-1.4.1-13
mailcap-2.1.14-1
mailx-8.1.1-31
make-3.79.1-17
MAKEDEV-3.3.12.3-1.centos.0
man-1.5k-10
man-pages-1.60-4.2
mdadm-1.5.0-9
mgetty-1.1.30-3
mingetty-1.06-1
minicom-2.00.0-17.1
mkbootdisk-1.5.1-1
mkinitrd-3.5.13-1
mktemp-1.5-18
modutils-2.4.25-14.EL
mount-2.11y-31.2
mtools-3.9.8-8
mtr-0.52-2
mt-st-0.7-11
nano-1.2.1-4
nc-1.10-18
ncompress-4.2.4-38
ncurses-5.3-9.3
netconfig-0.8.19-1.1
netdump-0.6.11-3
net-tools-1.60-20E.1
newt-0.51.5-1
nfs-utils-1.0.6-33EL
nscd-2.3.2-95.30
nss_db-2.2-20.4
nss_ldap-207-11
ntsysv-1.3.11-0.3
openldap-2.0.27-17
openssh-3.6.1p2-33.30.3
openssh-clients-3.6.1p2-33.30.3
openssh-server-3.6.1p2-33.30.3
openssl-0.9.7a-33.12
pam_krb5-1.73-1
pam_passwdqc-0.7.5-1
pam_smb-1.1.7-1
pam-0.75-62
parted-1.6.3-29.3
passwd-0.68-3.1
patch-2.5.4-16
pax-3.0-6
pciutils-2.1.10-7
pcre-3.9-10.1
pdksh-5.2.14-21
perl-5.8.0-88.9
perl-Filter-1.29-3
pinfo-0.6.6-4
popt-1.8.2-10
portmap-4.0-56
ppp-2.4.1-14.1
prelink-0.3.2-2.EL
procmail-3.22-9.centos.0
procps-2.0.17-13
psacct-6.3.2-28.rhel3
psmisc-21.3-1.RHEL.0
pspell-0.12.2-16.1
pyOpenSSL-0.5.1-8
python-2.2.3-6
python-optik-1.4.1-2
pyxf86config-0.3.5-1
quota-3.10-4
raidtools-1.00.3-7
rdate-1.3-2
rdist-6.1.5-35.30.1
readline-4.3-5.2
redhat-config-mouse-1.0.13-1
redhat-config-network-tui-1.2.63-1.centos.0
redhat-config-securitylevel-tui-1.2.9-2
redhat-logos-1.1.14.3-1.centos.4
redhat-lsb-1.3-3.1.EL3.centos.0
redhat-menus-0.39-1
rhnlib-1.8-6.p22
rhpl-0.110.6-1.centos.0
rmt-0.4b28-7
rootfiles-7.2-6
rpm-4.2.3-10
rpmdb-redhat-3.4-0.20050105
rpm-libs-4.2.3-10
rpm-python-4.2.3-10
rp-pppoe-3.5-4.1
rsh-0.17-17
rsync-2.5.7-5.3E
schedutils-1.3.0-5
sed-4.0.7-3
sendmail-8.12.11-4.RHEL3.1
setarch-1.3-1
setserial-2.17-12
setup-2.5.27-1
setuptool-1.13-1.centos.0
shadow-utils-4.0.3-22.02
sharutils-4.2.1-16
slang-1.4.5-18
slocate-2.7-3
specspo-3EL-1.centos.1
star-1.5a08-4
stunnel-4.04-4
sudo-1.6.7p5-1
symlinks-1.2-18
sysklogd-1.4.1-12.3
syslinux-2.06-0.3E
sysreport-1.3.7.2-2
SysVinit-2.85-4.2
talk-0.17-20
tar-1.13.25-13
tcp_wrappers-7.6-34.1
tcpdump-3.7.2-7.E3.2
tcsh-6.12-11.EL3
telnet-0.17-26
telnet-server-0.17-26
termcap-11.0.1-17.1
tftp-0.39-0.EL3.1.c0
time-1.7-23
tmpwatch-2.8.4-5
traceroute-1.4a12-20
tzdata-2004e-1.EL
unix2dos-2.2-19
unzip-5.50-34
up2date-4.2.57-2.centos.3.4.3
up2date-update-4.2.57-2.centos.3.4.3
usbutils-0.11-1
usermode-1.68-5E.2
utempter-0.5.5-1.3EL.0
util-linux-2.11y-31.2
vconfig-1.6-2
vim-common-6.3.046-0.30E.1
vim-minimal-6.3.046-0.30E.1
vixie-cron-3.0.1-75.1
wget-1.8.2-15
which-2.14-7
wireless-tools-26-2
words-2-21
wvdial-1.53-11
XFree86-libs-4.3.0-78.EL
XFree86-libs-data-4.3.0-78.EL
XFree86-Mesa-libGL-4.3.0-78.EL
xinetd-2.3.12-6.3E
ypbind-1.12-5.21.1
yp-tools-2.8-6
yum-2.0.8-1.centos.7
zip-2.3-16.1
zlib-1.1.4-8.1