码迷,mamicode.com
首页 > 其他好文 > 详细

FastDFS使用指南:启动monitor

时间:2015-04-21 10:01:47      阅读:1357      评论:0      收藏:0      [点我收藏+]

标签:

假设我们在机器101上

mv /etc/fdfs/client.conf.sample /etc/fdfs/client.conf

修改tracker配置项

tracker_server=192.168.56.1:22122

执行

/usr/bin/fdfs_monitor /etc/fdfs/client.conf

-------------------------------------------------打印如下:

 

[2015-04-20 19:18:42] DEBUG - base_path=/home/yuqing/fastdfs, connect_timeout=30, network_timeout=60, tracker_server_count=1, anti_steal_token=0, anti_steal_secret_key length=0, use_connection_pool=0, g_connection_pool_max_idle_time=3600s, use_storage_id=0, storage server id count: 0

server_count=1, server_index=0

tracker server is 192.168.56.101:22122

group count: 1

Group 1:
group name = group1
disk total space = 7430 MB
disk free space = 3089 MB
trunk free space = 0 MB
storage server count = 2
active server count = 2
storage server port = 23000
storage HTTP port = 8888
store path count = 1
subdir count per path = 256
current write server index = 0
current trunk file id = 0

 Storage 1:
  id = 192.168.56.102
  ip_addr = 192.168.56.102 (qiangzigege-VirtualBox.local)  ACTIVE
  http domain =
  version = 5.05
  join time = 2015-04-20 18:19:34
  up time = 2015-04-20 18:20:50
  total storage = 7430 MB
  free storage = 3089 MB
  upload priority = 10
  store_path_count = 1
  subdir_count_per_path = 256
  storage_port = 23000
  storage_http_port = 8888
  current_write_path = 0
  source storage id =
  if_trunk_server = 0
  connection.alloc_count = 256
  connection.current_count = 1
  connection.max_count = 1
  total_upload_count = 0
  success_upload_count = 0
  total_append_count = 0
  success_append_count = 0
  total_modify_count = 0
  success_modify_count = 0
  total_truncate_count = 0
  success_truncate_count = 0
  total_set_meta_count = 0
  success_set_meta_count = 0
  total_delete_count = 0
  success_delete_count = 0
  total_download_count = 0
  success_download_count = 0
  total_get_meta_count = 0
  success_get_meta_count = 0
  total_create_link_count = 0
  success_create_link_count = 0
  total_delete_link_count = 0
  success_delete_link_count = 0
  total_upload_bytes = 0
  success_upload_bytes = 0
  total_append_bytes = 0
  success_append_bytes = 0
  total_modify_bytes = 0
  success_modify_bytes = 0
  stotal_download_bytes = 0
  success_download_bytes = 0
  total_sync_in_bytes = 0
  success_sync_in_bytes = 0
  total_sync_out_bytes = 0
  success_sync_out_bytes = 0
  total_file_open_count = 0
  success_file_open_count = 0
  total_file_read_count = 0
  success_file_read_count = 0
  total_file_write_count = 0
  success_file_write_count = 0
  last_heart_beat_time = 2015-04-20 19:18:40
  last_source_update = 1970-01-01 08:00:00
  last_sync_update = 1970-01-01 08:00:00
  last_synced_timestamp = 1970-01-01 08:00:00
 Storage 2:
  id = 192.168.56.103
  ip_addr = 192.168.56.103 (qiangzigege-VirtualBox-3.local)  ACTIVE
  http domain =
  version = 5.05
  join time = 2015-04-20 18:51:28
  up time = 2015-04-20 18:52:42
  total storage = 7430 MB
  free storage = 3947 MB
  upload priority = 10
  store_path_count = 1
  subdir_count_per_path = 256
  storage_port = 23000
  storage_http_port = 8888
  current_write_path = 0
  source storage id = 192.168.56.102
  if_trunk_server = 0
  connection.alloc_count = 256
  connection.current_count = 1
  connection.max_count = 1
  total_upload_count = 0
  success_upload_count = 0
  total_append_count = 0
  success_append_count = 0
  total_modify_count = 0
  success_modify_count = 0
  total_truncate_count = 0
  success_truncate_count = 0
  total_set_meta_count = 0
  success_set_meta_count = 0
  total_delete_count = 0
  success_delete_count = 0
  total_download_count = 0
  success_download_count = 0
  total_get_meta_count = 0
  success_get_meta_count = 0
  total_create_link_count = 0
  success_create_link_count = 0
  total_delete_link_count = 0
  success_delete_link_count = 0
  total_upload_bytes = 0
  success_upload_bytes = 0
  total_append_bytes = 0
  success_append_bytes = 0
  total_modify_bytes = 0
  success_modify_bytes = 0
  stotal_download_bytes = 0
  success_download_bytes = 0
  total_sync_in_bytes = 0
  success_sync_in_bytes = 0
  total_sync_out_bytes = 0
  success_sync_out_bytes = 0
  total_file_open_count = 0
  success_file_open_count = 0
  total_file_read_count = 0
  success_file_read_count = 0
  total_file_write_count = 0
  success_file_write_count = 0
  last_heart_beat_time = 2015-04-20 19:18:14
  last_source_update = 1970-01-01 08:00:00
  last_sync_update = 1970-01-01 08:00:00
  last_synced_timestamp = 1970-01-01 08:00:00

 

FastDFS使用指南:启动monitor

标签:

原文地址:http://my.oschina.net/qiangzigege/blog/404043

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!