add interval param in stat command