jablonka.czprosek.czf

crusader

Subversion Repositories:
[/] [trunk/] [statistiky/] [opt/] [statistiky/] [ip_mac/] [collect_ip_mac.sh] - Blame information for rev 2

 

Line No. Rev Author Line
11simandl#!/bin/bash
2 
3date_now=`date +"%Y%m%d-%H%M%S"`
4 
5DIR="/opt/statistiky/ip_mac/collected_data"
6 
7#arp -n | awk '{ print $1 " " $3; }' | sort -t . -k 1 -k 2 -k 3 -k 4 -n | gzip >$DIR/ip_mac_${date_now}.gz
8arp -n | sort -t . -k 1 -k 2 -k 3 -k 4 -n | gzip >$DIR/ip_mac_${date_now}.gz
9 

Powered by WebSVN 2.2.1