Last Update: 2010-05-28 (金) 18:48:15 (2527d)
FrontPage / Linux / CPI_スケーラブルプラン / VP / 契約時の状態

契約時の状態

version/arch

# cat /etc/redhat-release
CentOS release 5.2 (Final)
# cat /proc/version
 Linux version 2.6.18-028stab069.5 (root@rhel5-build-x64) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Tue May 18 17:26:16 MSD 2010
# uname -a
Linux vpsXXXX 2.6.18-028stab069.5 #1 SMP Tue May 18 17:26:16 MSD 2010 i686 i686 i386 GNU/Linux

limit/resouce

# cat /proc/self/limits
Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            10485760             unlimited            bytes
Max core file size        0                    unlimited            bytes
Max resident set          unlimited            unlimited            bytes
Max processes             286720               286720               processes
Max open files            1024                 1024                 files
Max locked memory         32768                32768                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       286720               286720               signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
# cat /proc/user_beancounters
Version: 2.5
 uid  resource            held     maxheld              barrier                limit  failcnt
149:  kmemsize         1103428     1118884             22020096             22020096     0
      lockedpages            0           0  9223372036854775807  9223372036854775807     0
      privvmpages         2913        2920               120000               125000     0
      shmpages             671         671  9223372036854775807  9223372036854775807     0
      dummy                  0           0  9223372036854775807  9223372036854775807     0
      numproc               10          10                  240                  240     0
      physpages           1239        1241                    0  9223372036854775807     0
      vmguarpages            0           0                33792  9223372036854775807     0
      oomguarpages        1239        1241  9223372036854775807  9223372036854775807     0
      numtcpsock             4           4  9223372036854775807  9223372036854775807     0
      numflock               1           1                  100                  100     0
      numpty                 1           1                  255                  255     0
      numsiginfo             0           0  9223372036854775807  9223372036854775807     0
      tcpsndbuf          70016       70016  9223372036854775807  9223372036854775807     0
      tcprcvbuf          65536       65536  9223372036854775807  9223372036854775807     0
      othersockbuf        4656        4656  9223372036854775807  9223372036854775807     0
      dgramrcvbuf            0           0  9223372036854775807  9223372036854775807     0
      numothersock           2           2  9223372036854775807  9223372036854775807     0
      dcachesize             0           0  9223372036854775807  9223372036854775807     0
      numfile              593         593                 9000                 9000     0
      dummy                  0           0                    0                    0     0
      dummy                  0           0                    0                    0     0
      dummy                  0           0                    0                    0     0
      numiptent             10          10                   64                   64     0

プロセス一覧

# ps auxwww
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1   2056   648 ?        Ss   14:01   0:00 init [3]
root     17773  0.0  0.6   9824  3104 ?        Rs   18:33   0:00 sshd: root@pts/0
root     17780  0.0  0.3   3532  1520 pts/0    Ss   18:34   0:00 -bash
root     24484  0.0  0.1   2140   528 ?        S<s  14:01   0:00 /sbin/udevd -d
root     25820  0.0  0.2   6980  1048 ?        Ss   14:01   0:00 /usr/sbin/sshd
root     25831  0.0  0.1   2712   836 ?        Ss   14:01   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
root     25843  0.0  0.5  10260  2740 ?        Ss   14:01   0:00 /usr/sbin/httpd
apache   25845  0.0  0.4  10396  2048 ?        S    14:01   0:00 /usr/sbin/httpd
root     25854  0.0  0.2   4368  1100 ?        Ss   14:01   0:00 crond

ifconfig -a

# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b)  TX bytes:100 (100.0 b)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:426 errors:0 dropped:0 overruns:0 frame:0
          TX packets:273 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:34808 (33.9 KiB)  TX bytes:41582 (40.6 KiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:115.146.31.XX  P-t-P:115.146.31.97  Bcast:115.146.31.XX  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

venet0:1  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:115.146.31.XX  P-t-P:115.146.31.98  Bcast:115.146.31.XX  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1

netstat -rn

# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
191.255.255.0   0.0.0.0         255.255.255.0   U         0 0          0 venet0
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 venet0
0.0.0.0         191.255.255.1   0.0.0.0         UG        0 0          0 venet0

df -k

Filesystem           1K-ブロック    使用   使用可 使用% マウント位置
/dev/vzfs              9728000     35768   9692232   1% /
none                    163840         4    163836   1% /dev

free

             total       used       free     shared    buffers     cached
Mem:        480000      11604     468396          0          0          0
-/+ buffers/cache:      11604     468396
Swap:       696320          0     696320

/proc/cpuinfo (8CPUに見えます)

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
stepping        : 5
cpu MHz         : 199.230
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
                  sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3
                  cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 4000.23
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
stepping        : 5
cpu MHz         : 199.230
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
                  sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3
                  cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 4000.06
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
stepping        : 5
cpu MHz         : 199.230
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
apicid          : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
                  sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3
                  cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 4000.07
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
stepping        : 5
cpu MHz         : 199.230
cache size      : 4096 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
                  sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3
                  cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 4000.06
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

processor       : 4
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
stepping        : 5
cpu MHz         : 199.230
cache size      : 4096 KB
physical id     : 1
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 16
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
                  sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3
                  cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 4000.14
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

processor       : 5
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
stepping        : 5
cpu MHz         : 199.230
cache size      : 4096 KB
physical id     : 1
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 18
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
                  sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3
                  cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 4000.10
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

processor       : 6
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
stepping        : 5
cpu MHz         : 199.230
cache size      : 4096 KB
physical id     : 1
siblings        : 4
core id         : 2
cpu cores       : 4
apicid          : 20
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
                  sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3
                  cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 4000.09
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]

processor       : 7
vendor_id       : GenuineIntel
cpu family      : 6
model           : 26
model name      : Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
stepping        : 5
cpu MHz         : 199.230
cache size      : 4096 KB
physical id     : 1
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 22
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
                  sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3
                  cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 4000.10
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: [8]
TOPページへ戻るページの更新   ページの編集新しいページの作成新しい下位ページの作成そのページを引用して新規作成そのページにファイルの添付ページの削除ページ名の変更前回の編集内容の表示ページの凍結バックアップページの参照ページへのリンク元を表示   サイトのページ一覧サイト内単語検索編集したページの履歴削除したページの履歴   別ウィンドウでマニュアルページへ