Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
installation_guide:debug:start [2018/10/24 08:25] – [VoiceXML Log levels] borja | installation_guide:debug:start [2020/06/17 13:22] – borja | ||
---|---|---|---|
Line 15: | Line 15: | ||
CLI> voximal debug interpreter | CLI> voximal debug interpreter | ||
</ | </ | ||
+ | |||
+ | |||
+ | ==== View the traces flow === | ||
+ | |||
+ | Execute : | ||
+ | < | ||
+ | tail -f / | ||
+ | </ | ||
+ | |||
+ | With colors : | ||
+ | < | ||
+ | tail -f / | ||
+ | </ | ||
+ | |||
==== Generate a normal stop ==== | ==== Generate a normal stop ==== | ||
Line 33: | Line 47: | ||
< exit|result=ok | < exit|result=ok | ||
+ | </ | ||
+ | |||
+ | ==== Powerful top monitor ==== | ||
+ | |||
+ | Use the " | ||
+ | < | ||
+ | htop -p $(pidoff voximald) | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | 1 [ 0.0%] | ||
+ | 2 [| | ||
+ | 3 [ 0.0%] | ||
+ | 4 [ 0.0%] | ||
+ | Mem[||| | ||
+ | Swp[| 31.8M/ | ||
+ | |||
+ | PID USER PRI NI VIRT | ||
+ | 1 root | ||
+ | 18890 root | ||
+ | 18891 root | ||
+ | 409 root | ||
+ | 14487 postfix | ||
+ | 412 postfix | ||
+ | 308 root | ||
+ | 30788 www-data | ||
+ | 30787 www-data | ||
+ | 30786 www-data | ||
+ | 30785 www-data | ||
+ | 30784 www-data | ||
+ | 263 mysql 28 | ||
+ | 2808 mysql 20 | ||
+ | F1Help | ||
+ | </ | ||
+ | |||
+ | ==== Monitor memory/CPU ==== | ||
+ | |||
+ | A very simple way to follow the memory and CPU indicators : | ||
+ | |||
+ | < | ||
+ | root# top -b -d 5 -p $(pidof voximald) | awk -v OFS="," | ||
</ | </ | ||