D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
share
/
systemtap
/
examples
/
io
/
Filename :
switchfile.stp
back
Copy
#!/usr/bin/stap # Usage: stap -o outfile switchfile.stp probe begin { println("Begin logging") } probe timer.ms(1000) { println("log data") } probe timer.ms(5000) { switch_file() } probe end { println("End logging") }