-
Notifications
You must be signed in to change notification settings - Fork 15
Home
pmav99 edited this page Oct 13, 2021
·
2 revisions
Welcome to the Thalassa wiki!
- Install
sysstat
- Launch panel with e.g.:
panel serve --log-level debug thalassa --port 9000 --num-procs 4
- Monitor the processes with:
pidstat -C panel -T TASK -ru -h -p ALL --human 1
The last command will display something like this and will refresh every second:
# Time UID PID %usr %system %guest %wait %CPU CPU minflt/s majflt/s VSZ RSS %MEM Command
04:33:58 PM 1000 952366 0.0% 0.0% 0.0% 0.0% 0.0% 6 0.00 0.00 712.4M 100.0M 0.7% panel
04:33:58 PM 1000 952385 0.0% 0.0% 0.0% 0.0% 0.0% 14 0.00 0.00 1.5G 249.2M 1.6% panel
04:33:58 PM 1000 952386 0.0% 0.0% 0.0% 0.0% 0.0% 4 0.00 0.00 1.5G 249.5M 1.6% panel
04:33:58 PM 1000 952387 0.0% 0.0% 0.0% 0.0% 0.0% 12 0.00 0.00 1.5G 249.3M 1.6% panel
04:33:58 PM 1000 952388 0.0% 0.0% 0.0% 0.0% 0.0% 8 0.00 0.00 1.5G 249.3M 1.6% panel
# Time UID PID %usr %system %guest %wait %CPU CPU minflt/s majflt/s VSZ RSS %MEM Command
04:33:59 PM 1000 952366 0.0% 0.0% 0.0% 0.0% 0.0% 6 0.00 0.00 712.4M 100.0M 0.7% panel
04:33:59 PM 1000 952385 0.0% 0.0% 0.0% 0.0% 0.0% 14 0.00 0.00 1.5G 249.2M 1.6% panel
04:33:59 PM 1000 952386 0.0% 0.0% 0.0% 0.0% 0.0% 4 0.00 0.00 1.5G 249.5M 1.6% panel
04:33:59 PM 1000 952387 0.0% 0.0% 0.0% 0.0% 0.0% 12 0.00 0.00 1.5G 249.3M 1.6% panel
04:33:59 PM 1000 952388 0.0% 0.0% 0.0% 0.0% 0.0% 8 0.00 0.00 1.5G 249.3M 1.6% panel
The first process is the mother process and the rest are the child processes (i.e. workers)
When you open the page on the browser you should see one of the workers CPU/RAM usage get higher:
# Time UID PID %usr %system %guest %wait %CPU CPU minflt/s majflt/s VSZ RSS %MEM Command
04:36:07 PM 1000 952366 0.0% 0.0% 0.0% 0.0% 0.0% 6 0.00 0.00 712.4M 100.0M 0.7% panel
04:36:07 PM 1000 952385 0.0% 0.0% 0.0% 0.0% 0.0% 10 0.00 0.00 1.5G 249.6M 1.6% panel
04:36:07 PM 1000 952386 0.0% 0.0% 0.0% 0.0% 0.0% 0 0.00 0.00 1.5G 259.8M 1.7% panel
04:36:07 PM 1000 952387 19.0% 11.0% 0.0% 0.0% 30.0% 15 10721.00 0.00 2.0G 739.3M 4.8% panel
04:36:07 PM 1000 952388 0.0% 0.0% 0.0% 0.0% 0.0% 10 0.00 0.00 1.5G 249.7M 1.6% panel
# Time UID PID %usr %system %guest %wait %CPU CPU minflt/s majflt/s VSZ RSS %MEM Command
04:36:08 PM 1000 952366 0.0% 0.0% 0.0% 0.0% 0.0% 6 0.00 0.00 712.4M 100.0M 0.7% panel
04:36:08 PM 1000 952385 0.0% 0.0% 0.0% 0.0% 0.0% 10 0.00 0.00 1.5G 249.6M 1.6% panel
04:36:08 PM 1000 952386 0.0% 0.0% 0.0% 0.0% 0.0% 0 0.00 0.00 1.5G 259.8M 1.7% panel
04:36:08 PM 1000 952387 94.0% 6.0% 0.0% 0.0% 100.0% 15 21819.00 0.00 2.3G 1.0G 6.9% panel
04:36:08 PM 1000 952388 0.0% 0.0% 0.0% 0.0% 0.0% 10 0.00 0.00 1.5G 249.7M 1.6% panel