i need test locking in php script , need run many times @ same time.
i remember found simple command time ago when testing mysql locking, can't remember function , can't find again. i'm running ubuntu linux 14.04.1.
i'm looking simple command without loops.
thanks.
use ab testing in linux
run command
ab -n 1000 -c 5 http://yourpage.php where -n 1000 means 1000 times run
and -c 5 means going 5 concurrent processes
if want automate happen on own activate curl in cron job
45 11 * * * /usr/bin/curl -g 127.0.0.1/yourscript.php >/dev/null 2>&1 this run every day @ 11 45
see page more details ab testing or benchmark testing in linux
Comments
Post a Comment