Tick : Programer
#test Queue
php artisan queue:work --queue=default
#curl benchmark load test
ab -k -n 100 -c 10 http://api-order.eggsmartpos.loc:8302/v1/payment/charge
#install redis
composer require predis/predis
#check access log
tail -f storage/
tail -f /var/log/
tail -f /var/log/nginx/
tail -f /var/log/nginx/app.access.log
#install ping
apt update
apt install iputils-ping
#upload size max
cd /usr/local/etc/php
cp php.ini-development php.ini
#kill nodes
ps -ef
kill -9 <pid ของ nodejs>
#for redis monitor
redis-cli monitor
redis-cli monitor
#redit flush all clear redis
redis-cli flushall
redis-cli flushall
onkeypress="return event.charCode >= 48 && event.charCode <= 57"