Friday, September 30, 2011

watch command example

suppose we have given the following command


dd if=/dev/zero of=/home/celsius/swapfile count=1G


we can use watch command to see the swapfile grow as follows

watch ls -ltrh swapfile


see also:-

http://aarklonlinuxinfo.blogspot.com/2009/09/watch-live-interrupts.html

No comments:

Post a Comment