diff --git a/SysadminTips.page b/SysadminTips.page index d20047b..7698247 100644 --- a/SysadminTips.page +++ b/SysadminTips.page @@ -19,8 +19,8 @@ for file in /proc/*/status ; do awk '/VmSwap|Name/{printf $2 " " $3}END{ print " MySQL "fast" shutdown. ~~~ -set global innodb_max_dirty_pages_pct = 0 -show global status like '%dirty%'; +> set global innodb_max_dirty_pages_pct = 0; +$ mysqladmin ext -i10 | grep dirty ~~~ mkfs.ext4 for old systems in rescue mode (Debien Wheezy, …).