[add] function to check process status
[add] html output option