tools

Load test with CPload

When building large complex infrastructures it becomes harder to validate if the performance you need can be provided by the system you've build. But customer demand for ever faster websites is growing by the day, how do you make sure you'll be able to handle the next big sale or event on your web platform? I use a load generator that can replay access logs and has a way to slowly ramp up traffic to replicate a gradual or sudden inrush of traffic.

Top like interface for lsof

If you're curious which pids are using loads of open files this script displays just that. Example: The following overview will update +/- every second. OPEN / LIMIT NAME 32568 / 4096 chrome (PID 1365) 14473 / 4096 spotify (PID 1071) 12530 / 4096 nylas (PID 8430) 10952 / 4096 skypeforlinux (PID 26476) 9471 / 4096 skypeforlinux (PID 26513) 5360 / 4096 Nylas_Mail_defa (PID 8914) 4998 / 4096 gnome-shell (PID 823) 3726 / 4096 Nylas_Mail_work (PID 8473) 3528 / 4096 spotify (PID 1222) 3105 / 4096 Enpass (PID 1065) 2898 / 4096 chrome (PID 1450) 2864 / 4096 Nylas_Mail_empt (PID 6152) 2752 / 4096 tracker-extract (PID 1076) 2528 / 4096 telegram-deskto (PID 29313) 1908 / 4096 TeamViewer.