Example :
# ./deltizer --cmd 'ifconfig eth0'
eth0 Link encap:Ethernet HWaddr 00:11:11:49:05:74
inet addr:10.0.0.5 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::0:0ff:fe49:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:0 Metric:0
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4066 (0 MiB) TX bytes:59662 (0 GiB)
eth0 Link encap:Ethernet HWaddr 00:11:11:49:05:74
inet addr:10.0.0.5 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::0:0ff:fe49:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:0 Metric:0
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1974 (0 MiB) TX bytes:57274 (0 GiB)
eth0 Link encap:Ethernet HWaddr 00:11:11:49:05:74
inet addr:10.0.0.5 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::0:0ff:fe49:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:0 Metric:0
RX packets:43 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4118 (0 MiB) TX bytes:54992 (0 GiB)
< ... >
Every 5 seconds or so another block modified copy of 'ifconfig eth0', will
come out. RX packets for example is nolonger an absolute counter, it's a delta.. of this value
from the previous value. By appending '--dt' each delta will be divide by time.
Another example :
Show me the file /proc/interupts every 3.2 seconds or so and tell me the rates of interupts we are watching.
# /tmp/deltizer --file '/proc/interrupts' --dt --looptime 3.2
CPU0
0: 1000.24646461449 XT-PIC timer
0: 0 XT-PIC cascade
0: 0 XT-PIC Intel 0DB-ICH4
0: 0 XT-PIC uhci_hcd:usb3
0: 0 XT-PIC floppy
0: 0 XT-PIC parport0
0: 0 XT-PIC rtc
0: 0 XT-PIC acpi, uhci_hcd:usb4
0: 0 XT-PIC ehci_hcd:usb1
0: 13.4660607321299 XT-PIC eth2, eth0, uhci_hcd:usb2
0: 3.75797043687346 XT-PIC ide0
0: 11.2739113106204 XT-PIC ide1
NMI: 0
ERR: 0
CPU0
0: 1000.16750161976 XT-PIC timer
0: 0 XT-PIC cascade
0: 0 XT-PIC Intel 0DB-ICH4
0: 0 XT-PIC uhci_hcd:usb3
0: 0 XT-PIC floppy
0: 0 XT-PIC parport0
0: 0 XT-PIC rtc
0: 0 XT-PIC acpi, uhci_hcd:usb4
0: 0 XT-PIC ehci_hcd:usb1
0: 11.8955759191083 XT-PIC eth2, eth0, uhci_hcd:usb2
0: 5.32170501644319 XT-PIC ide0
0: 5.63474648799867 XT-PIC ide1
NMI: 0
ERR: 0
CPU0
0: 1000.16712838288 XT-PIC timer
0: 0 XT-PIC cascade
0: 0 XT-PIC Intel 0DB-ICH4
0: 0 XT-PIC uhci_hcd:usb3
0: 0 XT-PIC floppy
0: 0 XT-PIC parport0
0: 0 XT-PIC rtc
0: 0 XT-PIC acpi, uhci_hcd:usb4
0: 0 XT-PIC ehci_hcd:usb1
0: 15.3390263820849 XT-PIC eth2, eth0, uhci_hcd:usb2
0: 3.13041354736426 XT-PIC ide0
0: 11.2694887705113 XT-PIC ide1
NMI: 0
ERR: 0
< ... >