+ add purge feature support

Signed-off-by: tesseract2048 <hty0807@gmail.com>
+ add timer for command log

Signed-off-by: tesseract2048 <hty0807@gmail.com>