From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60522 invoked by alias); 6 Sep 2016 03:05:00 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 60319 invoked by uid 48); 6 Sep 2016 03:04:43 -0000 From: "steve.tsai at nexusguard dot com" To: systemtap@sourceware.org Subject: [Bug server/20557] New: It seems like that switching output file doesn't work. Date: Tue, 06 Sep 2016 03:05:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: server X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: steve.tsai at nexusguard dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q3/txt/msg00237.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20557 Bug ID: 20557 Summary: It seems like that switching output file doesn't work. Product: systemtap Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: server Assignee: systemtap at sourceware dot org Reporter: steve.tsai at nexusguard dot com Target Milestone: --- I tried the following command. stap -F -o tcpdump.log -S 1,2 tcp_dumplike.stp I got a several GB log file "tcpdump.log.0". It didn't output 2 1MB size fi= le. My tcp_dumplike.stp script: ----------------------------------- #! /usr/bin/env stap // A TCP dump like example probe begin, timer.s(1) { ansi_clear_screen () printf("-----------------------------------------------------------------\= n") printf(" Source IP Dest IP SPort DPort U A P R S F \n") printf("-----------------------------------------------------------------\= n") } probe udp.recvmsg /* ,udp.sendmsg */ { printf(" %15s %15s %5d %5d UDP\n", saddr, daddr, sport, dport) } probe tcp.receive { printf(" %15s %15s %5d %5d %d %d %d %d %d %d\n", saddr, daddr, sport, dpo= rt, urg, ack, psh, rst, syn, fin) } ----------------------------------------------- I don't want to run out of my disk. thank you in advance. Steve --=20 You are receiving this mail because: You are the assignee for the bug.