Log profiler: implemented command server and ondemand heapshot.