add resource monitor
add resource monitor