Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Valentin Ermolaev                    2:463/544.12   22 Aug 2002  23:56:03
 To : Petro S.
 Subject : tcpdump > file.ext
 -------------------------------------------------------------------------------- 
 
 At 22 Aug 02  14:19:06, Petro S. wrote to All:
 
  PS> подскажите, как ограничить размер файла при выполнении tcpdump > file.ext 
  PS> ну скажем до 2Мб, чтобы потом получилось много-много подобных файлов, и 
  PS> получившиеся логи было бы одно удовольствие просматривать!
 
 man tcpdump
 
        -C     Before writing a raw packet to  a  savefile,  check
               whether the file is currently larger than file_size
               and, if so, close the current savefile and  open  a
               new  one.   Savefiles after the first savefile will
               have the name specified with the -w  flag,  with  a
               number  after  it,  starting  at  2  and continuing
               upward.  The units of  file_size  are  millions  of
               bytes (1,000,000 bytes, not 1,048,576 bytes).
 Namlala unono!
 --- 
  * Origin: write once, debug everywhere (2:463/544.12)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 tcpdump > file.ext   Petro S.   22 Aug 2002 14:19:06 
 tcpdump > file.ext   Valentin Ermolaev   22 Aug 2002 23:56:03 
Архивное /ru.linux/33150d654ff9.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional