Codice:
php -f /var/www/cartellacloud/cron.php
Codice:
An unhandled exception has been thrown: OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
Codice:
apc.enable_cli=1
Statistiche: Inviato da Martyn — 10/05/2023, 1:09
Codice:
ps -eo size,pid,user,command --sort -size | awk '{ hr=$1/1024 ; printf("%13.2f Mb ",hr) } { for ( x=4 ; x<=NF ; x++ ) { printf("%s ",$x) } print "" }' | grep php-fpm
vi restituirà un output "human readable" Statistiche: Inviato da Martyn — 13/05/2018, 16:09
Codice:
cat /proc/cpuinfo
Codice:
free -h
Codice:
ps -ylC php-fpm --sort:rss
Codice:
ps --no-headers -o "rss,cmd" -C php-fpm | awk '{ sum+=$1 } END { printf ("%d%s\n", sum/NR/1024,"M") }'
Codice:
service php*[¹]-fpm restart
Statistiche: Inviato da Martyn — 13/05/2018, 15:55
Statistiche: Inviato da Martyn — 23/01/2015, 0:50
Codice:
/etc/cron.daily/logrotate: error: error running shared postrotate script for ‘/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/error.log ‘ run-parts: /etc/cron.daily/logrotate exited with return code 1
Codice:
user= debian-sys-maintpassword= SdHe23lSDewX (questa password me la sono inventata, serve solo di esempio)
Codice:
mysql -h localhost --user=root -p
Codice:
SET PASSWORD FOR 'debian-sys-maint'@'localhost' = PASSWORD('SdHe23lSDewX');FLUSH PRIVILEGES;
Statistiche: Inviato da Martyn — 01/05/2014, 20:29
Codice:
exit 0
Statistiche: Inviato da Bomberman — 11/01/2014, 9:06