Linux Problem adjusting the output

Compiler

Disciple
Hi i m running a command
Code:
watch -n 1 -d netstat -i
to see the packet drops every 1 second.
but the problem is the output is so long(Due to large number of virtual interfaces) it doesn't fit into the putty prompt.

I dont need to monitor each and every network interface I m more interested in monitoring the interfaces starting from vif but whenever i run following command it doesnt display anything.
Code:
watch -n 3 -d netstat -i | grep vif*

What should i do?
 
You can try saving the content to the file

Code:
watch -n 3 -d netstat -i | grep vif* >> filename.txt

Or try less command

Code:
watch -n 3 -d netstat -i | grep vif* | less
 
Back
Top