VPSではなく専用サーバにかなり近いその仕様にドキドキ。
まずは、top(とっぷ)コマンドぽちっとな。
top - 19:11:55 up 2:29, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 75 total, 1 running, 74 sleeping, 0 stopped, 0 zombie Cpu(s): 0.2%us, 0.7%sy, 0.8%ni, 97.2%id, 1.1%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 1048752k total, 399812k used, 648940k free, 37620k buffers Swap: 2129912k total, 0k used, 2129912k free, 278204k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 15 0 2176 624 540 S 0.0 0.1 0:00.20 init 2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0 3 root 38 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 events/0 6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper 7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread 9 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 xenwatch 10 root 13 -5 0 0 0 S 0.0 0.0 0:00.00 xenbus 15 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kblockd/0 16 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0 20 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 khubd 22 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kseriod 83 root 22 0 0 0 0 S 0.0 0.0 0:00.00 khungtaskd 84 root 25 0 0 0 0 S 0.0 0.0 0:00.00 pdflush 85 root 15 0 0 0 0 S 0.0 0.0 0:00.01 pdflush 86 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 kswapd0 87 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0 228 root 11 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused 245 root 17 -5 0 0 0 S 0.0 0.0 0:00.00 kstriped 254 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ksnapd 265 root 10 -5 0 0 0 S 0.0 0.0 0:00.05 kjournald 292 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kauditd 320 root 21 -4 3024 1396 512 S 0.0 0.1 0:00.12 udevd 637 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 kmpathd/0 638 root 14 -5 0 0 0 S 0.0 0.0 0:00.00 kmpath_handlerd 702 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kjournald 815 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 iscsi_eh 862 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 ib_addr 869 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ib_mcast 870 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ib_inform 871 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 local_sa 874 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 iw_cm_wq 877 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ib_cm/0 880 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 rdma_cm 895 root 21 0 22472 536 432 S 0.0 0.1 0:00.00 brcm_iscsiuio 900 root 18 0 3712 568 396 S 0.0 0.1 0:00.00 iscsid 901 root 5 -10 4168 4164 3152 S 0.0 0.4 0:00.00 iscsid 914 root 18 0 2280 516 396 S 0.0 0.0 0:00.11 mcstransd 1184 root 15 -4 12644 764 568 S 0.0 0.1 0:00.00 auditd 1186 root 7 -8 12180 692 592 S 0.0 0.1 0:00.00 audispd 1202 root 18 0 12356 10m 324 S 0.0 1.0 0:00.00 restorecond 1210 root 18 0 1932 700 592 S 0.0 0.1 0:00.02 syslogd 1214 root 15 0 1776 420 348 S 0.0 0.0 0:00.00 klogd 1256 rpc 23 0 1924 560 468 S 0.0 0.1 0:00.00 portmap 1281 root 12 -5 0 0 0 S 0.0 0.0 0:00.00 rpciod/0 1287 root 25 0 2084 840 700 S 0.0 0.1 0:00.00 rpc.statd 1309 root 25 0 5952 644 308 S 0.0 0.1 0:00.00 rpc.idmapd 1322 dbus 15 0 13108 1088 852 S 0.0 0.1 0:00.00 dbus-daemon 1331 root 25 0 2272 772 664 S 0.0 0.1 0:00.00 hcid 1342 root 25 0 1844 516 444 S 0.0 0.0 0:00.00 sdpd 1354 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 krfcommd 1389 root 25 0 12844 1348 640 S 0.0 0.1 0:00.13 pcscd 1405 haldaemo 15 0 5584 3620 1660 S 0.0 0.3 0:00.05 hald 1406 root 25 0 3280 1084 940 S 0.0 0.1 0:00.00 hald-runner 1425 root 23 0 2024 460 380 S 0.0 0.0 0:00.00 hidd 1448 root 18 0 4640 1256 1112 S 0.0 0.1 0:00.05 xe-daemon 1535 root 21 0 27384 1408 1096 S 0.0 0.1 0:00.00 automount 1554 root 18 0 7224 1072 668 S 0.0 0.1 0:00.00 sshd 1574 root 15 0 9380 1892 804 S 0.0 0.2 0:00.00 sendmail 1583 smmsp 15 0 8300 1528 640 S 0.0 0.1 0:00.00 sendmail 1600 root 25 0 2008 484 404 S 0.0 0.0 0:00.00 gpm 1624 root 18 0 5396 1204 664 S 0.0 0.1 0:00.10 crond 1639 root 18 0 2376 448 320 S 0.0 0.0 0:00.00 atd 1664 root 15 0 3620 440 288 S 0.0 0.0 0:00.00 smartd 1667 root 18 0 1772 512 452 S 0.0 0.0 0:00.00 agetty 1668 root 34 19 26196 10m 2188 S 0.0 1.0 0:00.03 yum-updatesd 1670 root 34 19 2676 1184 1000 S 0.0 0.1 0:00.00 gam_server 7751 root 17 0 10080 2944 2348 S 0.0 0.3 0:00.10 sshd 7753 trippy 15 0 10236 1736 1120 S 0.0 0.2 0:00.29 sshd 7754 trippy 15 0 4648 1428 1208 S 0.0 0.1 0:00.02 bash 7776 root 15 0 4648 1452 1212 S 0.0 0.1 0:00.40 bash 8706 root 18 0 1764 392 336 S 0.0 0.0 0:00.00 sleep 8709 root 15 0 2308 908 724 R 0.0 0.1 0:00.00 top 8710 root 15 0 3812 516 456 S 0.0 0.0 0:00.00 tee
んでもってps(ぴーえす)コマンドでプロセス確認
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 2176 624 ? Ss 16:42 0:00 init [3] root 2 0.0 0.0 0 0 ? S< 16:42 0:00 [migration/0] root 3 0.0 0.0 0 0 ? SN 16:42 0:00 [ksoftirqd/0] root 4 0.0 0.0 0 0 ? S< 16:42 0:00 [watchdog/0] root 5 0.0 0.0 0 0 ? S< 16:42 0:00 [events/0] root 6 0.0 0.0 0 0 ? S< 16:42 0:00 [khelper] root 7 0.0 0.0 0 0 ? S< 16:42 0:00 [kthread] root 9 0.0 0.0 0 0 ? S< 16:42 0:00 [xenwatch] root 10 0.0 0.0 0 0 ? S< 16:42 0:00 [xenbus] root 15 0.0 0.0 0 0 ? S< 16:42 0:00 [kblockd/0] root 16 0.0 0.0 0 0 ? S< 16:42 0:00 [cqueue/0] root 20 0.0 0.0 0 0 ? S< 16:42 0:00 [khubd] root 22 0.0 0.0 0 0 ? S< 16:42 0:00 [kseriod] root 83 0.0 0.0 0 0 ? S 16:42 0:00 [khungtaskd] root 84 0.0 0.0 0 0 ? S 16:42 0:00 [pdflush] root 85 0.0 0.0 0 0 ? S 16:42 0:00 [pdflush] root 86 0.0 0.0 0 0 ? S< 16:42 0:00 [kswapd0] root 87 0.0 0.0 0 0 ? S< 16:42 0:00 [aio/0] root 228 0.0 0.0 0 0 ? S< 16:42 0:00 [kpsmoused] root 245 0.0 0.0 0 0 ? S< 16:42 0:00 [kstriped] root 254 0.0 0.0 0 0 ? S< 16:42 0:00 [ksnapd] root 265 0.0 0.0 0 0 ? S< 16:42 0:00 [kjournald] root 292 0.0 0.0 0 0 ? S< 16:42 0:00 [kauditd] root 320 0.0 0.1 3024 1396 ? S<s 16:42 0:00 /sbin/udevd -d root 637 0.0 0.0 0 0 ? S< 16:43 0:00 [kmpathd/0] root 638 0.0 0.0 0 0 ? S< 16:43 0:00 [kmpath_handlerd] root 702 0.0 0.0 0 0 ? S< 16:43 0:00 [kjournald] root 815 0.0 0.0 0 0 ? S< 16:43 0:00 [iscsi_eh] root 862 0.0 0.0 0 0 ? S< 16:43 0:00 [ib_addr] root 869 0.0 0.0 0 0 ? S< 16:43 0:00 [ib_mcast] root 870 0.0 0.0 0 0 ? S< 16:43 0:00 [ib_inform] root 871 0.0 0.0 0 0 ? S< 16:43 0:00 [local_sa] root 874 0.0 0.0 0 0 ? S< 16:43 0:00 [iw_cm_wq] root 877 0.0 0.0 0 0 ? S< 16:43 0:00 [ib_cm/0] root 880 0.0 0.0 0 0 ? S< 16:43 0:00 [rdma_cm] root 895 0.0 0.0 22472 536 ? Ssl 16:43 0:00 brcm_iscsiuio root 900 0.0 0.0 3712 568 ? Ss 16:43 0:00 iscsid root 901 0.0 0.3 4168 4164 ? S<Ls 16:43 0:00 iscsid root 914 0.0 0.0 2280 516 ? Ss 16:43 0:00 mcstransd root 1184 0.0 0.0 12644 764 ? S<sl 16:43 0:00 auditd root 1186 0.0 0.0 12180 692 ? S<sl 16:43 0:00 /sbin/audispd root 1202 0.0 1.0 12356 10652 ? Ss 16:43 0:00 /usr/sbin/restorecond root 1210 0.0 0.0 1932 700 ? Ss 16:43 0:00 syslogd -m 0 root 1214 0.0 0.0 1776 420 ? Ss 16:43 0:00 klogd -x rpc 1256 0.0 0.0 1924 560 ? Ss 16:43 0:00 portmap root 1281 0.0 0.0 0 0 ? S< 16:43 0:00 [rpciod/0] root 1287 0.0 0.0 2084 840 ? Ss 16:43 0:00 rpc.statd root 1309 0.0 0.0 5952 644 ? Ss 16:43 0:00 rpc.idmapd dbus 1322 0.0 0.1 13108 1088 ? Ssl 16:43 0:00 dbus-daemon --system root 1331 0.0 0.0 2272 772 ? Ss 16:43 0:00 /usr/sbin/hcid root 1342 0.0 0.0 1844 516 ? Ss 16:43 0:00 /usr/sbin/sdpd root 1354 0.0 0.0 0 0 ? S< 16:43 0:00 [krfcommd] root 1389 0.0 0.1 12844 1348 ? Ssl 16:43 0:00 pcscd 68 1405 0.0 0.3 5584 3620 ? Ss 16:43 0:00 hald root 1406 0.0 0.1 3280 1084 ? S 16:43 0:00 hald-runner root 1425 0.0 0.0 2024 460 ? Ss 16:43 0:00 /usr/bin/hidd --server root 1448 0.0 0.1 4640 1256 ? S 16:43 0:00 /bin/bash /usr/sbin/xe-daemon -p /var/run/xe-daemon.pid root 1535 0.0 0.1 27384 1408 ? Ssl 16:43 0:00 automount root 1554 0.0 0.1 7224 1072 ? Ss 16:43 0:00 /usr/sbin/sshd root 1574 0.0 0.1 9380 1892 ? Ss 16:43 0:00 sendmail: accepting connections smmsp 1583 0.0 0.1 8300 1528 ? Ss 16:43 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue root 1600 0.0 0.0 2008 484 ? Ss 16:43 0:00 gpm -m /dev/input/mice -t exps2 root 1624 0.0 0.1 5396 1204 ? Ss 16:43 0:00 crond root 1639 0.0 0.0 2376 448 ? Ss 16:43 0:00 /usr/sbin/atd root 1664 0.0 0.0 3620 440 ? S 16:43 0:00 /usr/sbin/smartd -q never root 1667 0.0 0.0 1772 512 xvc0 Ss+ 16:43 0:00 /sbin/agetty xvc0 9600 vt100-nav root 1668 0.0 1.0 26196 10620 ? SN 16:43 0:00 /usr/bin/python -tt /usr/sbin/yum-updatesd root 1670 0.0 0.1 2676 1184 ? SN 16:43 0:00 /usr/libexec/gam_server root 7751 0.0 0.2 10080 2944 ? Ss 18:47 0:00 sshd: trippy [priv] trippy 7753 0.0 0.1 10236 1736 ? S 18:47 0:00 sshd: trippy@pts/0 trippy 7754 0.0 0.1 4648 1428 pts/0 Ss 18:47 0:00 -bash root 7776 0.0 0.1 4648 1452 pts/0 S 18:47 0:00 /bin/bash root 8659 0.0 0.0 1764 392 ? S 19:10 0:00 sleep 60 root 8661 0.0 0.0 4368 972 pts/0 R+ 19:10 0:00 ps auxww root 8662 0.0 0.0 3812 520 pts/0 R+ 19:10 0:00 tee ps
/proc/meminfoも覗きましょう
MemTotal: 1048752 kB MemFree: 649124 kB Buffers: 37588 kB Cached: 278188 kB SwapCached: 0 kB Active: 129864 kB Inactive: 216800 kB HighTotal: 303112 kB HighFree: 680 kB LowTotal: 745640 kB LowFree: 648444 kB SwapTotal: 2129912 kB SwapFree: 2129912 kB Dirty: 136 kB Writeback: 0 kB AnonPages: 30908 kB Mapped: 11292 kB Slab: 28656 kB PageTables: 1552 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 2654288 kB Committed_AS: 128616 kB VmallocTotal: 114680 kB VmallocUsed: 4128 kB VmallocChunk: 110368 kB
freeコマンドで見るとswapが‼
total used free shared buffers cached Mem: 1024 390 633 0 36 271 -/+ buffers/cache: 81 942 Swap: 2079 0 2079
/proc/cpuinfoも見ちゃってください
processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 44 model name : Intel(R) Xeon(R) CPU L5640 @ 2.27GHz stepping : 2 cpu MHz : 2260.998 cache size : 12288 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu de tsc msr pae cx8 apic cmov pat clflush acpi mmx fxsr sse sse2 ss ht nx constant_tsc up nonstop_tsc pni ssse3 sse4_1 sse4_2 popcnt [8] bogomips : 5654.56
netstat(ねっとすたっと)でListenポート確認
Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:621 0.0.0.0:* LISTEN 1287/rpc.statd tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1256/portmap tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1574/sendmail: acce tcp 0 0 :::3843 :::* LISTEN 1554/sshd tcp 0 0 ::ffff:10.250.10.30:3843 ::ffff:183.181.164.12:38491 ESTABLISHED 7751/sshd: trippy [ udp 0 0 0.0.0.0:615 0.0.0.0:* 1287/rpc.statd udp 0 0 0.0.0.0:618 0.0.0.0:* 1287/rpc.statd udp 0 0 0.0.0.0:111 0.0.0.0:* 1256/portmap
んでこんなもんだ。
[root@centos5-32 ~]# ls /etc/rc3.d/S* /etc/rc3.d/S00microcode_ctl /etc/rc3.d/S11auditd /etc/rc3.d/S14nfslock /etc/rc3.d/S25pcscd /etc/rc3.d/S28autofs /etc/rc3.d/S95atd /etc/rc3.d/S04readahead_early /etc/rc3.d/S12restorecond /etc/rc3.d/S15mdmonitor /etc/rc3.d/S26acpid /etc/rc3.d/S55sshd /etc/rc3.d/S97yum-updatesd /etc/rc3.d/S05kudzu /etc/rc3.d/S12syslog /etc/rc3.d/S18rpcidmapd /etc/rc3.d/S26apmd /etc/rc3.d/S56rawdevices /etc/rc3.d/S99firstboot /etc/rc3.d/S07iscsid /etc/rc3.d/S13cpuspeed /etc/rc3.d/S19rpcgssd /etc/rc3.d/S26haldaemon /etc/rc3.d/S80sendmail /etc/rc3.d/S99local /etc/rc3.d/S08mcstrans /etc/rc3.d/S13irqbalance /etc/rc3.d/S22messagebus /etc/rc3.d/S26hidd /etc/rc3.d/S85gpm /etc/rc3.d/S99smartd /etc/rc3.d/S09isdn /etc/rc3.d/S13iscsi /etc/rc3.d/S25bluetooth /etc/rc3.d/S26lvm2-monitor /etc/rc3.d/S90crond /etc/rc3.d/S10network /etc/rc3.d/S13portmap /etc/rc3.d/S25netfs /etc/rc3.d/S26xe-linux-distribution /etc/rc3.d/S95anacron [root@centos5-32 ~]# [root@centos5-32 ~]# ls /etc/rc3.d/K* /etc/rc3.d/K01dnsmasq /etc/rc3.d/K10psacct /etc/rc3.d/K50netconsole /etc/rc3.d/K87multipathd /etc/rc3.d/K89rdisc /etc/rc3.d/K02NetworkManager /etc/rc3.d/K10tcsd /etc/rc3.d/K69rpcsvcgssd /etc/rc3.d/K88wpa_supplicant /etc/rc3.d/K91capi /etc/rc3.d/K02oddjobd /etc/rc3.d/K20nfs /etc/rc3.d/K73ypbind /etc/rc3.d/K89dund /etc/rc3.d/K92ip6tables /etc/rc3.d/K05conman /etc/rc3.d/K24irda /etc/rc3.d/K74nscd /etc/rc3.d/K89netplugd /etc/rc3.d/K92iptables /etc/rc3.d/K05saslauthd /etc/rc3.d/K50ibmasm /etc/rc3.d/K85mdmpd /etc/rc3.d/K89pand /etc/rc3.d/K99readahead_later [root@centos5-32 ~]#
コメント