| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# You have to specify ouput FILE with '-S' option |
| 4 |
# |
| 5 |
#-S size[,N] Switches output file to next file when the size |
| 6 |
# of file reaches the specified size. The value |
| 7 |
# should be an integer greater than 1 which is |
| 8 |
# assumed to be the maximum file size in MB. |
| 9 |
# When the number of output files reaches N, it |
| 10 |
# switches to the first output file. You can omit |
| 11 |
# the second argument. |
| 12 |
#-o FILE Send output to FILE. This supports strftime(3) |
| 13 |
# formats for FILE. |
| 14 |
|
| 15 |
staprun -S 1,1 fake_module |