watching commands
watch
watch filesystem space every 10 seconds with watch and df
$ watch -d -n10 "df --block-size=1M"
monitor the size of a file grow whilst simultaneously saving progress to a file using tee
$ while date | tee -a x.x ; ls -l myfile.dat | tee -a x.x ; do sleep 1 ; done
PING a server whilst simultaneous saving results to a file using tee
$ ping -i 5 10.10.10.10 | tee x.x
REFERRERS
SysAdmin
There are no comments on this page. [Add comment]