Example
$ sudo systress -c profile.cfg
Index TID Samples L_min L_max L_cur L_avg
0 72577 15000 2 109 16 17
1 72578 15000 2 108 9 15
CPU#0 : 53%
CPU#1 : 46%
CPU#2 : 0%
CPU#3 : 0%
CPU#4 : 4%
CPU#5 : 0%
CPU#6 : 0%
CPU#7 : 0%
CPU : 13%
Statistics for timer_thread[0] in 'timer_thread00.txt'
Statistics for timer_thread[1] in 'timer_thread01.txt'
Total elapsed time: 15 seconds, 24185956 nanoseconds
main
{
dbg_level 0 # Debug level
stats.period 1 s # Stats refreshed on screen every seconds
cpu_affinity 0-1
stats.cpu_load all
}
timer_thread[0]
{
cpu_affinity 2
sched.policy FIFO
sched.priority 50
lifetime.duration 15 s # Stop the measures after 15 seconds
stats.histo_size 20 ms # Records latency values up to 20 ms
}
timer_thread[1]
{
cpu_affinity 3
sched.policy FIFO
sched.priority 50
lifetime.duration 15 s # Stop the measures after 15 seconds
stats.histo_size 20 ms # Records latency values up to 20 ms
}
program[0]
{
cpu_affinity 0-1
cmdline find /tmp -exec /bin/echo {} ;
termination.ok RESPAWN # Respawn after exit code 0
termination.ko RESPAWN # Respawn after exit code != 0
output.out /dev/null # stdout > /dev/null
output.err /dev/null # stderr > /dev/null
}
Statistics stored into
timer_thread00.txt & timer_thread01.txt