complete argv part.
support sending duration, close #2; support log source, close #3; support sending frequency, close #5