This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug server/20557] It seems like that switching output file doesn't work.
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Tue, 06 Sep 2016 13:21:21 +0000
- Subject: [Bug server/20557] It seems like that switching output file doesn't work.
- Auto-submitted: auto-generated
- References: <bug-20557-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20557
--- Comment #3 from David Smith <dsmith at redhat dot com> ---
Just to be clear, here is how this is supposed to work:
1) Run 'stap -F ...'. Systemtap will run in the background, outputting data
files. It prints the pid of the background stap process.
# stap -F -o f.out -S 1,3 ../src/testsuite/systemtap.base/flightrec2.stp
31067
2) System will output up to 3 (in my case) files of around 1 megabyte each. As
soon as the 4th file would be written, it deletes the earliest file.
After waiting a while, I see:
# ls -l f.out*
-rw-rw-r--. 1 dsmith dsmith 1034000 Sep 6 13:33 f.out.71
-rw-rw-r--. 1 dsmith dsmith 1034000 Sep 6 13:33 f.out.72
-rw-rw-r--. 1 dsmith dsmith 517000 Sep 6 13:33 f.out.73
then later:
# ls -l f.out*
-rw-rw-r--. 1 dsmith dsmith 1034000 Sep 6 13:35 f.out.175
-rw-rw-r--. 1 dsmith dsmith 1034000 Sep 6 13:35 f.out.176
-rw-rw-r--. 1 dsmith dsmith 770000 Sep 6 2016 f.out.177
3) To stop systemtap, kill the pid output earlier.
# kill 31067
--
You are receiving this mail because:
You are the assignee for the bug.