浪费别人的时间等于是谋财害命,浪费自己的时间等于是慢性自杀。 —— 列宁

FastDFS常见命令

1: 启动FastDFS

      tracker: /usr/local/bin/fdfs_trackered /etc/fdfs/tracker.conf

      storage: /usr/local/bin/fdfs_storaged /etc/fdfs/storage.conf

2:关闭FastDFS

      tracker:/usr/local/bin/stop.sh /usr/local/bin/fdfs_tracker

      storage:/usr/local/bin/stop.sh /usr/local/bin/fdfs_storage

    或者 killall fdfs_trackered(storaged)  -------注意,千万不要使用-9强行杀死进程。

3:重启FastDFS

      tracker:/usr/local/bin/restart.sh /usr/local/bin/fdfs_trackered

      storage:/usr/local/bin/restart.sh /usr/local/bin/fdfs_storaged

4:查看集群情况

      在任意一台storage(tracker也可以) /usr/local/bin/fdfs_monitor /etc/fdfs/storage.conf

5:删除一个storage:

       在任意一台storage(tracker也可以) /usr/local/bin/fdfs_monitor /etc/fdfs/storage.conf delete group2 20.12.1.73
posted @ 2017-02-14 14:27  一谦的视界  阅读(276)  评论(0编辑  收藏  举报