|
|
ru.unix- RU.UNIX ---------------------------------------------------------------------- From : Alexander Titaev 2:5070/66 28 Jan 2008 20:56:37 To : All Subject : flow-cat --------------------------------------------------------------------------------
Парни, пытаюсь заюзать параметры -t/-T у flow-cat. И что-то все в пустую.
Может кто подскажет что я делаю не так
net2# /disk/flow-tools/bin/flow-cat -g -p -t "1/28/2008 19:05:00" -T "1/28/2008
19:06:00" /disk/flow-tools/work/tyl/2008-01-28/ft-v05.2008-01-28.190501+0800 |
/disk/flow-tools/bin/flow-print -f 5 | tail -1
0128.19:09:54.647 0128.19:09:58.015 7 195.206.46.135 39798 6
81.222.128.11 80 6 3 7 1048
net2# /disk/flow-tools/bin/flow-cat -g -p -t "2008-01-28 19:05:00" -T
"2008-01-28 19:06:00"
/disk/flow-tools/work/tyl/2008-01-28/ft-v05.2008-01-28.190501+0800 |
/disk/flow-tools/bin/flow-print -f 5 | tail -1
0128.19:09:54.647 0128.19:09:58.015 7 195.206.46.135 39798 6
81.222.128.11 80 6 3 7 1048
если без указания конкрентного файла, то вообще стреляется
net2# /disk/flow-tools/bin/flow-cat -t "2008-01-28 19:06:00" -T "2008-01-28
19:07:00" /disk/flow-tools/work/tyl/2008-01-28/* |
/disk/flow-tools/bin/flow-print -f 5 | tail -1
flow-print: ftiheader_read(): Warning, short read while loading header top.
flow-print: ftiheader_read(): failed
flow-print: ftio_init(): failed
хотя так работает, но опять мимо кассы
net2# /disk/flow-tools/bin/flow-cat -t "2008-01-28 19:35:00"
/disk/flow-tools/work/tyl/2008-01-28/* | /disk/flow-tools/bin/flow-print -f 5 |
head -3
Start End Sif SrcIPaddress SrcP DIf
DstIPaddress DstP P Fl Pkts Octets
0127.23:59:44.923 0127.23:59:44.923 25 10.2.1.37 1024 0
192.112.36.4 53 17 0 1 45
указание TZ ситуацию не улучщает
net2# date
понедельник, 28 января 2008 г. 19:45:37 (IRKT)
net2# /disk/flow-tools/bin/flow-cat -t "2008-01-28 10:35:00 IRKT"
/disk/flow-tools/work/tyl/2008-01-28/* | /disk/flow-tools/bin/flow-print -f 5 |
head -3
flow-cat: Error parsing time: 2008-01-28 10:35:00 IRKT.
flow-print: ftiheader_read(): Warning, short read while loading header top.
flow-print: ftiheader_read(): failed
flow-print: ftio_init(): failed
ps.flow-tools version 0.66. Может версию обновить?
--
Sanyo mailto:tit@irk.ru
--- tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/6.3-RELEASE (i386))
* Origin: The_Bulls echo gate (2:5070/66)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix/42589f50b71c2.html, оценка из 5, голосов 10
|