每隔一段时间监控
Usage: watch [-dhntv] [–differences[=cumulative]] [–help] [–interval=] [–no-title] [–version]
-d, --differences[=cumulative] highlight changes between updates
(cumulative means highlighting is cumulative)
-h, --help print a summary of the options
-n, --interval= seconds to wait between updates
-v, --version print the version number
-t, --no-title turns off showing the header
每隔0.5秒监控时间
watch -n 0.5 date +%s