This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEV | |
--- | |
New Package | |
########### | |
php -dmemory_limit=-1 composer.phar require "repo/package" -o --prefer-dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
siege -d10 -c50 -i -f /path_to_file/testfile.txt | |
Siege utility can have following options. | |
-cNUM : is to simulate the number of concurrent users (NUM count can be changed). | |
-dNUM : is the duration in second to run the test. (NUM is in seconds) | |
-rNUM : is the number of times the test can be repeated. | |
-v : is the verbose mode. Transaction information is printed on the screen. | |
-i : is the for internet. The requests are fired randomly between the number given in -d option. | |
-f : is used if multiple urls are tested from file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysqldump -h %host% -u %user% -p --single-transaction --databases %database% > ~/%database%.sql | |
- single-transaction -> live backup without locking tables |