sudo check, args parse, monitor mode