byghis

resources from a AMI type t1.micro

Sep 6th, 2011
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. Previous
  2. ec2-run-instances ami-8e1fece7 -n 1 -t t1.micro -k mykey.pem
  3. ssh -i mykey.pem -v ec2-user@<dns-public>
  4. ----
  5.  
  6. [ec2-user@ip-10-87-43-239 ~]$ uname -a
  7. 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
  8.  
  9. [ec2-user@ip-10-87-43-239 ~]$ ls -lsh /boot/
  10. total 4.9M
  11. 60K -rw-r--r-- 1 root root 57K Feb 19 2011 config-2.6.35.11-83.9.amzn1.x86_64
  12. 4.0K drwxr-xr-x 2 root root 4.0K Feb 24 2011 grub
  13. 1.2M -rw------- 1 root root 1.2M Feb 24 2011 initrd-2.6.35.11-83.9.amzn1.x86_64.img
  14. 1.3M -rw-r--r-- 1 root root 1.3M Feb 19 2011 System.map-2.6.35.11-83.9.amzn1.x86_64
  15. 2.4M -rwxr-xr-x 1 root root 2.4M Feb 19 2011 vmlinuz-2.6.35.11-83.9.amzn1.x86_64
  16.  
  17. [ec2-user@ip-10-87-43-239 ~]$ cat /proc/cpuinfo
  18. processor : 0
  19. vendor_id : GenuineIntel
  20. cpu family : 6
  21. model : 26
  22. model name : Intel(R) Xeon(R) CPU E5507 @ 2.27GHz
  23. stepping : 5
  24. cpu MHz : 2266.746
  25. cache size : 4096 KB
  26. fpu : yes
  27. fpu_exception : yes
  28. cpuid level : 11
  29. wp : yes
  30. 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
  31. bogomips : 4533.49
  32. clflush size : 64
  33. cache_alignment : 64
  34. address sizes : 40 bits physical, 48 bits virtual
  35. power management:
  36.  
  37.  
  38. [ec2-user@ip-10-87-43-239 ~]$ cat /proc/meminfo
  39. MemTotal: 611212 kB
  40. MemFree: 488964 kB
  41. Buffers: 6328 kB
  42. Cached: 75460 kB
  43. SwapCached: 0 kB
  44. Active: 70856 kB
  45. Inactive: 32804 kB
  46. Active(anon): 21872 kB
  47. Inactive(anon): 40 kB
  48. Active(file): 48984 kB
  49. Inactive(file): 32764 kB
  50. Unevictable: 0 kB
  51. Mlocked: 0 kB
  52. SwapTotal: 0 kB
  53. SwapFree: 0 kB
  54. Dirty: 4 kB
  55. Writeback: 0 kB
  56. AnonPages: 21920 kB
  57. Mapped: 6804 kB
  58. Shmem: 44 kB
  59. Slab: 8332 kB
  60. SReclaimable: 5096 kB
  61. SUnreclaim: 3236 kB
  62. KernelStack: 440 kB
  63. PageTables: 2100 kB
  64. NFS_Unstable: 0 kB
  65. Bounce: 0 kB
  66. WritebackTmp: 0 kB
  67. CommitLimit: 305604 kB
  68. Committed_AS: 58876 kB
  69. VmallocTotal: 34359738367 kB
  70. VmallocUsed: 5176 kB
  71. VmallocChunk: 34359732976 kB
  72. HugePages_Total: 0
  73. HugePages_Free: 0
  74. HugePages_Rsvd: 0
  75. HugePages_Surp: 0
  76. Hugepagesize: 2048 kB
  77. DirectMap4k: 629760 kB
  78. DirectMap2M: 0 kB
  79.  
  80.  
  81. [ec2-user@ip-10-87-43-239 ~]$ df -h
  82. Filesystem Size Used Avail Use% Mounted on
  83. /dev/xvda1 7.9G 888M 7.0G 12% /
  84. tmpfs 299M 40K 299M 1% /dev/shm
  85.  
  86. [ec2-user@ip-10-87-43-239 ~]$ sudo fdisk -l
  87.  
  88. Disk /dev/xvda1: 8589 MB, 8589934592 bytes
  89. 255 heads, 63 sectors/track, 1044 cylinders
  90. Units = cylinders of 16065 * 512 = 8225280 bytes
  91. Sector size (logical/physical): 512 bytes / 512 bytes
  92. I/O size (minimum/optimal): 512 bytes / 512 bytes
  93. Disk identifier: 0x00000000
  94.  
  95. Disk /dev/xvda1 doesn't contain a valid partition table
  96.  
  97.  
  98. [ec2-user@ip-10-87-43-239 ~]$ sudo fdisk -l|grep Disk
  99. Disk /dev/xvda1 doesn't contain a valid partition table
  100. Disk /dev/xvda1: 8589 MB, 8589934592 bytes
  101. Disk identifier: 0x00000000
  102.  
  103.  
  104. [ec2-user@ip-10-87-43-239 network-scripts]$ pwd
  105. /etc/sysconfig/network-scripts
  106.  
  107. [ec2-user@ip-10-87-43-239 network-scripts]$ cat ifcfg-eth0
  108. DEVICE=eth0
  109. BOOTPROTO=dhcp
  110. ONBOOT=yes
  111. TYPE=Ethernet
  112. USERCTL=yes
  113. PEERDNS=yes
  114. IPV6INIT=no
  115. [ec2-user@ip-10-87-43-239 network-scripts]$
  116.  
  117. [ec2-user@ip-10-87-43-239 network-scripts]$ date
  118. Tue Sep 6 22:48:09 UTC 2011
Advertisement
Add Comment
Please, Sign In to add comment