watch -d -n 1 "cat /proc/uptime" 定时执行一个命令,然后输出到console 转载于:https://my.oschina.net/rinehart/blog/141870