webbj74/mcstat — Issue #8: exit if a connection can't be made
Author: webbj74
Created: 2012-02-10 13:15:23+00:00
State: open

# ./mcstat 111211

Creating new instance.
Warning: fsockopen(): unable to connect to 111211:11211 (Invalid argument) in /mnt/tmp/mcstat on line 113
Warning: fwrite(): supplied argument is not a valid stream resource in /mnt/tmp/mcstat on line 129
Warning: fgets(): supplied argument is not a valid stream resource in /mnt/tmp/mcstat on line 130
Notice: Undefined index: time in /mnt/tmp/mcstat on line 188
Notice: Undefined index: cmd_get in /mnt/tmp/mcstat on line 189
Notice: Undefined index: get_hits in /mnt/tmp/mcstat on line 190
Notice: Undefined index: get_misses in /mnt/tmp/mcstat on line 191
Notice: Undefined index: bytes_read in /mnt/tmp/mcstat on line 194
Notice: Undefined index: bytes_written in /mnt/tmp/mcstat on line 195
Notice: Undefined index: curr_connections in /mnt/tmp/mcstat on line 200
Notice: Undefined index: bytes in /mnt/tmp/mcstat on line 201
Notice: Undefined index: version in /mnt/tmp/mcstat on line 212
Notice: Undefined index: limit_maxbytes in /mnt/tmp/mcstat on line 213
Notice: Undefined index: pointer_size in /mnt/tmp/mcstat on line 213

Memcache version
Max Memory Size: Pointer size: 0 bit
time cnct used gets hits miss hit% miss% in out
00:00:00 0 0 0 0 0.00 0.00 0 0