Skip to content

Instantly share code, notes, and snippets.

@b

b/riak https Secret

Created September 3, 2010 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save b/4413fafc14fc18696643 to your computer and use it in GitHub Desktop.
Save b/4413fafc14fc18696643 to your computer and use it in GitHub Desktop.
$ curl -k --verbose https://localhost:8443/stats
* About to connect() to localhost port 8443 (#0)
* Trying ::1... Connection refused
* Trying fe80::1... Connection refused
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8443 (#0)
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using DES-CBC3-SHA
* Server certificate:
* subject: CN=localhost
* start date: 2010-03-18 19:39:18 GMT
* expire date: 2020-03-15 19:39:18 GMT
* common name: localhost (matched)
* issuer: CN=localhost
* SSL certificate verify result: self signed certificate (18), continuing anyway.
> GET /stats HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: localhost:8443
> Accept: */*
>
< HTTP/1.1 200 OK
< Vary: Accept, Accept-Encoding
< Server: MochiWeb/1.1 WebMachine/1.7.1 (participate in the frantic)
< Date: Fri, 03 Sep 2010 08:10:10 GMT
< Content-Type: application/json
< Content-Length: 1733
<
* Connection #0 to host localhost left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
{"vnode_gets":0,"vnode_puts":0,"read_repairs":0,"vnode_gets_total":0,"vnode_puts_total":0,"node_gets":0,"node_gets_total":0,"node_get_fsm_time_mean":"undefined","node_get_fsm_time_median":"undefined","node_get_fsm_time_95":"undefined","node_get_fsm_time_99":"undefined","node_get_fsm_time_100":"undefined","node_puts":0,"node_puts_total":0,"node_put_fsm_time_mean":"undefined","node_put_fsm_time_median":"undefined","node_put_fsm_time_95":"undefined","node_put_fsm_time_99":"undefined","node_put_fsm_time_100":"undefined","read_repairs_total":0,"cpu_nprocs":190,"cpu_avg1":159,"cpu_avg5":177,"cpu_avg15":159,"mem_total":3924060000.0,"mem_allocated":3916228000.0,"nodename":"riak@127.0.0.1","connected_nodes":[],"sys_driver_version":"1.5","sys_global_heaps_size":0,"sys_heap_type":"private","sys_logical_processors":2,"sys_otp_release":"R13B04","sys_process_count":213,"sys_smp_support":true,"sys_system_version":"Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:5] [hipe] [kernel-poll:true]","sys_system_architecture":"i386-apple-darwin10.3.0","sys_threads_enabled":true,"sys_thread_pool_size":5,"sys_wordsize":8,"ring_members":["riak@127.0.0.1"],"ring_num_partitions":64,"ring_ownership":"[{'riak@127.0.0.1',64}]","ring_creation_size":64,"storage_backend":"riak_kv_bitcask_backend","pbc_connects_total":0,"pbc_connects":0,"pbc_active":0,"riak_kv_version":"0.12.1","riak_core_version":"0.12.1","ssl_version":"3.10.8","bitcask_version":"1.0.3","luke_version":"0.2.0","webmachine_version":"1.7.1","mochiweb_version":"1.7.1","erlang_js_version":"0.4","runtime_tools_version":"1.8.3","crypto_version":"1.6.4","os_mon_version":"2.2.5","sasl_version":"2.1.9","stdlib_version":"1.16.5","kernel_version":"2.13.5"}
$ curl -k --verbose http://localhost:8098/stats
* About to connect() to localhost port 8098 (#0)
* Trying ::1... Connection refused
* Trying fe80::1... Connection refused
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8098 (#0)
> GET /stats HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: localhost:8098
> Accept: */*
>
< HTTP/1.1 200 OK
< Vary: Accept, Accept-Encoding
< Server: MochiWeb/1.1 WebMachine/1.7.1 (participate in the frantic)
< Date: Fri, 03 Sep 2010 08:10:12 GMT
< Content-Type: application/json
< Content-Length: 1733
<
* Connection #0 to host localhost left intact
* Closing connection #0
{"vnode_gets":0,"vnode_puts":0,"read_repairs":0,"vnode_gets_total":0,"vnode_puts_total":0,"node_gets":0,"node_gets_total":0,"node_get_fsm_time_mean":"undefined","node_get_fsm_time_median":"undefined","node_get_fsm_time_95":"undefined","node_get_fsm_time_99":"undefined","node_get_fsm_time_100":"undefined","node_puts":0,"node_puts_total":0,"node_put_fsm_time_mean":"undefined","node_put_fsm_time_median":"undefined","node_put_fsm_time_95":"undefined","node_put_fsm_time_99":"undefined","node_put_fsm_time_100":"undefined","read_repairs_total":0,"cpu_nprocs":190,"cpu_avg1":159,"cpu_avg5":177,"cpu_avg15":159,"mem_total":3924060000.0,"mem_allocated":3916228000.0,"nodename":"riak@127.0.0.1","connected_nodes":[],"sys_driver_version":"1.5","sys_global_heaps_size":0,"sys_heap_type":"private","sys_logical_processors":2,"sys_otp_release":"R13B04","sys_process_count":212,"sys_smp_support":true,"sys_system_version":"Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:5] [hipe] [kernel-poll:true]","sys_system_architecture":"i386-apple-darwin10.3.0","sys_threads_enabled":true,"sys_thread_pool_size":5,"sys_wordsize":8,"ring_members":["riak@127.0.0.1"],"ring_num_partitions":64,"ring_ownership":"[{'riak@127.0.0.1',64}]","ring_creation_size":64,"storage_backend":"riak_kv_bitcask_backend","pbc_connects_total":0,"pbc_connects":0,"pbc_active":0,"riak_kv_version":"0.12.1","riak_core_version":"0.12.1","ssl_version":"3.10.8","bitcask_version":"1.0.3","luke_version":"0.2.0","webmachine_version":"1.7.1","mochiweb_version":"1.7.1","erlang_js_version":"0.4","runtime_tools_version":"1.8.3","crypto_version":"1.6.4","os_mon_version":"2.2.5","sasl_version":"2.1.9","stdlib_version":"1.16.5","kernel_version":"2.13.5"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment