Guest User

Untitled

a guest
Dec 13th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. root@host:~# vzlist --all
  2. CTID NPROC STATUS IP_ADDR HOSTNAME
  3. 1 25 running - test-2011-09-09-102224131280
  4. root@host:~# vzctl enter 1
  5. entered into CT 1
  6. root@test-2011-09-09-102224131280:/# hostname
  7. test-2011-09-09-102224131280
  8.  
  9. root@host:~# mysql nova -pnova
  10. Reading table information for completion of table and column names
  11. You can turn off this feature to get a quicker startup with -A
  12.  
  13. Welcome to the MySQL monitor. Commands end with ; or \g.
  14. Your MySQL connection id is 252
  15. Server version: 5.1.41-3ubuntu12.10 (Ubuntu)
  16.  
  17. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
  18.  
  19. mysql> select * from instances\G
  20. *************************** 1. row ***************************
  21. created_at: 2011-09-09 15:22:30
  22. updated_at: 2011-09-09 15:23:51
  23. deleted_at: NULL
  24. deleted: 0
  25. id: 1
  26. internal_id: NULL
  27. user_id: admin
  28. project_id: dbaas
  29. image_ref: 1
  30. kernel_id:
  31. ramdisk_id:
  32. server_name: NULL
  33. launch_index: 0
  34. key_name: NULL
  35. key_data: NULL
  36. state: 1
  37. state_description: running
  38. memory_mb: 1024
  39. vcpus: 1
  40. local_gb: 3
  41. hostname: test-2011-09-09-102224131280
  42. host: host
  43. user_data:
  44. reservation_id: r-0oofb2pf
  45. scheduled_at: 2011-09-09 15:22:32
  46. launched_at: 2011-09-09 15:23:51
  47. terminated_at: NULL
  48. display_name: TEST_2011-09-09 10:22:24.131280
  49. display_description: TEST_2011-09-09 10:22:24.131280
  50. availability_zone: NULL
  51. locked: 0
  52. os_type: NULL
  53. launched_on: host
  54. instance_type_id: 7
  55. vm_mode: NULL
  56. uuid: 95bc2546-5cdf-431a-b781-90ecde6af4e3
  57. architecture: NULL
  58. root_device_name: NULL
  59. access_ip_v4: NULL
  60. access_ip_v6: NULL
  61. config_drive:
  62. 1 row in set (0.06 sec)
Add Comment
Please, Sign In to add comment