Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Previous
- ec2-run-instances ami-8e1fece7 -n 1 -t t1.micro -k mykey.pem
- ssh -i mykey.pem -v ec2-user@<dns-public>
- ----
- [ec2-user@ip-10-87-43-239 ~]$ uname -a
- Linux ip-10-87-43-239 2.6.35.11-83.9.amzn1.x86_64 #1 SMP Sat Feb 19 23:42:04 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
- [ec2-user@ip-10-87-43-239 ~]$ ls -lsh /boot/
- total 4.9M
- 60K -rw-r--r-- 1 root root 57K Feb 19 2011 config-2.6.35.11-83.9.amzn1.x86_64
- 4.0K drwxr-xr-x 2 root root 4.0K Feb 24 2011 grub
- 1.2M -rw------- 1 root root 1.2M Feb 24 2011 initrd-2.6.35.11-83.9.amzn1.x86_64.img
- 1.3M -rw-r--r-- 1 root root 1.3M Feb 19 2011 System.map-2.6.35.11-83.9.amzn1.x86_64
- 2.4M -rwxr-xr-x 1 root root 2.4M Feb 19 2011 vmlinuz-2.6.35.11-83.9.amzn1.x86_64
- [ec2-user@ip-10-87-43-239 ~]$ cat /proc/cpuinfo
- processor : 0
- vendor_id : GenuineIntel
- cpu family : 6
- model : 26
- model name : Intel(R) Xeon(R) CPU E5507 @ 2.27GHz
- stepping : 5
- cpu MHz : 2266.746
- cache size : 4096 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 nx lm constant_tsc up rep_good nonstop_tsc pni ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm
- bogomips : 4533.49
- clflush size : 64
- cache_alignment : 64
- address sizes : 40 bits physical, 48 bits virtual
- power management:
- [ec2-user@ip-10-87-43-239 ~]$ cat /proc/meminfo
- MemTotal: 611212 kB
- MemFree: 488964 kB
- Buffers: 6328 kB
- Cached: 75460 kB
- SwapCached: 0 kB
- Active: 70856 kB
- Inactive: 32804 kB
- Active(anon): 21872 kB
- Inactive(anon): 40 kB
- Active(file): 48984 kB
- Inactive(file): 32764 kB
- Unevictable: 0 kB
- Mlocked: 0 kB
- SwapTotal: 0 kB
- SwapFree: 0 kB
- Dirty: 4 kB
- Writeback: 0 kB
- AnonPages: 21920 kB
- Mapped: 6804 kB
- Shmem: 44 kB
- Slab: 8332 kB
- SReclaimable: 5096 kB
- SUnreclaim: 3236 kB
- KernelStack: 440 kB
- PageTables: 2100 kB
- NFS_Unstable: 0 kB
- Bounce: 0 kB
- WritebackTmp: 0 kB
- CommitLimit: 305604 kB
- Committed_AS: 58876 kB
- VmallocTotal: 34359738367 kB
- VmallocUsed: 5176 kB
- VmallocChunk: 34359732976 kB
- HugePages_Total: 0
- HugePages_Free: 0
- HugePages_Rsvd: 0
- HugePages_Surp: 0
- Hugepagesize: 2048 kB
- DirectMap4k: 629760 kB
- DirectMap2M: 0 kB
- [ec2-user@ip-10-87-43-239 ~]$ df -h
- Filesystem Size Used Avail Use% Mounted on
- /dev/xvda1 7.9G 888M 7.0G 12% /
- tmpfs 299M 40K 299M 1% /dev/shm
- [ec2-user@ip-10-87-43-239 ~]$ sudo fdisk -l
- Disk /dev/xvda1: 8589 MB, 8589934592 bytes
- 255 heads, 63 sectors/track, 1044 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
- Sector size (logical/physical): 512 bytes / 512 bytes
- I/O size (minimum/optimal): 512 bytes / 512 bytes
- Disk identifier: 0x00000000
- Disk /dev/xvda1 doesn't contain a valid partition table
- [ec2-user@ip-10-87-43-239 ~]$ sudo fdisk -l|grep Disk
- Disk /dev/xvda1 doesn't contain a valid partition table
- Disk /dev/xvda1: 8589 MB, 8589934592 bytes
- Disk identifier: 0x00000000
- [ec2-user@ip-10-87-43-239 network-scripts]$ pwd
- /etc/sysconfig/network-scripts
- [ec2-user@ip-10-87-43-239 network-scripts]$ cat ifcfg-eth0
- DEVICE=eth0
- BOOTPROTO=dhcp
- ONBOOT=yes
- TYPE=Ethernet
- USERCTL=yes
- PEERDNS=yes
- IPV6INIT=no
- [ec2-user@ip-10-87-43-239 network-scripts]$
- [ec2-user@ip-10-87-43-239 network-scripts]$ date
- Tue Sep 6 22:48:09 UTC 2011
Advertisement
Add Comment
Please, Sign In to add comment