-
- dotclud のコマンドにはsshログインがあるので覗いてみた
- quotaかけてあるんだろうけど面白い。
- タダで使わせてもらってるのでベンチマークは遠慮
// sshでコンソールログインできたりするw
$ dotcloud ssh ymko.node
dotcloud@ymko-node:~$ df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 1008G 28G 930G 3% /
none 1008G 28G 930G 3% /
varrun 4.0M 24K 4.0M 1% /var/run
varlock 1.0M 0 1.0M 0% /var/lock
shm 64M 0 64M 0% /dev/shm
(1TBのディスク)
$ free -m
total used free shared buffers cached
Mem: 34210 29852 4357 0 1184 20195
-/+ buffers/cache: 8472 25738
Swap: 1023 0 1023
(35GBのメモリ)
$ ps awx
PID TTY STAT TIME COMMAND
139 ? Ss 0:00 /usr/bin/python /usr/bin/supervisord.real
187 ? S 0:00 node server.js
229 ? S 0:00 sshd: dotcloud@pts/0
230 pts/0 Ss 0:00 /bin/bash
261 pts/0 R+ 0:00 ps awx
(他ユーザーのプロセスは見えない)
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU X5550 @ 2.67GHz
stepping : 5
cpu MHz : 2666.760
cache size : 8192 KB
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall n
x lm constant_tsc rep_good nopl nonstop_tsc aperfmperf pni ssse3 cx16 sse4_1 sse4_2 popcnt hype
rvisor lahf_lm dts
bogomips : 5333.52
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
(省略 processor 0〜3 クアッドコア X5550?)
$ uname -a
Linux ymko-node 2.6.38.2-grsec-dotcloud-ec2 #1 SMP Tue Mar 29 03:13:41 CEST 2011 x86_64 GNU/Linux
(2.6.38.2 アップデートはけっこうしている様子)
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"
(ubuntuでしたか)
$ dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.38.2-grsec-dotcloud-ec2 (root@ebichu) (gcc version 4.3.2 (Debi
an 4.3.2-1.1) ) #1 SMP Tue Mar 29 03:13:41 CEST 2011
[ 0.000000] Command line: root=LABEL=uec-rootfs ro xencons=hvc0 console=hvc0 spinlock=tickle
ss
[ 0.000000] ACPI in unprivileged domain disabled
[ 0.000000] released 0 pages of unused memory
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable)
[ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved)
[ 0.000000] Xen: 0000000000100000 - 000000088c000000 (usable)
[ 0.000000] NX (Execute Disable) protection: active
( Xen上の様で。)
[3794031.021915] EXT3-fs (sda1): mounted filesystem with writeback data mode
[3794034.811524] EXT3-fs (sda1): using internal journal
( ファイルシステムはext3? パーティションの中身はよくわからない。sda1, sdh1とかある。sdh1はext4?)
[3907220.821382] vethY24z1Z: no IPv6 routers present
[3907289.556226] br0: port 107(vethY24z1Z) entering forwarding state
[3907289.613620] br0: port 107(vethY24z1Z) entering disabled state
( 3 907 289 / (60 * 60 * 24) =45.2232523 45日稼働中)
$ ifconfig
Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
$ route
/proc/net/route: No such file or directory
INET (IPv4) not configured in this system.
$ cat /etc/resolv.conf
nameserver 172.16.0.23
$ cat /etc/networks
# symbolic names for networks, see networks(5) for more information
link-local 169.254.0.0
(ネットワーク系はなかなか不明)
$ cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.xxx.xxx
netmask 255.255.xxx.xxx
gateway 192.168.xxx.xxx
$ node -v
v0.4.5