kyototycoon ulog削除の管理

更新ログの削除作業

http://fallabs.com/blog-ja/promenade.cgi?id=116

master masterでもあまり変わらないのかな


$ ktremotemgr slave -uf -host 192.168.0.99 -port 33333
master/ulog.001/0000000052.ulog 24397417 1391329555421000000

$ ktremotemgr slave -uf -host 127.0.0.1 -port 33333
master/ulog.002/0000000052.ulog 24396302 1391328292340000000

master masterにしているので同じくらい同じ物を書き込んでいるけどログは違う。

とりあえず時間指定して
$ ktremotemgr slave -ur -ts 1390090118966000000 -host 127.0.0.1 -port 33333

で指定時間より前の物は消えた。

すべてのサーバーのulogの一つ前の時間をチェックして、一番古いものより古い時間を設定したいと思います。
かなりの勢いでログが貯まるのが怖いのでここは自動化が必要ですね。

This entry was posted on 日曜日, 2月 2nd, 2014 at 10:36 AM and is filed under Kyototycoon/cabinet. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。