This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux-commandline-tips [2019/10/10 08:35] serbizadmin [Log Analysis] |
linux-commandline-tips [2020/07/15 09:22] serbizadmin [Compression] |
||
---|---|---|---|
Line 44: | Line 44: | ||
shopt -s extglob</ | shopt -s extglob</ | ||
\\ | \\ | ||
+ | ====== Compression====== | ||
+ | * lossless, multi-thread compression: | ||
+ | < | ||
+ | time xz -6ve -k --threads=0 < | ||
+ | </ | ||
+ | * test integrity | ||
+ | < | ||
+ | xz -tv < | ||
+ | </ | ||
====== PHP====== | ====== PHP====== | ||
* View php config | * View php config | ||
Line 54: | Line 63: | ||
</ | </ | ||
\\ | \\ | ||
+ | * reinstall all php packages | ||
+ | < | ||
+ | apt-get install --reinstall `dpkg -l | grep ' | ||
+ | </ | ||
====== Log Analysis====== | ====== Log Analysis====== | ||
* limiting by date range | * limiting by date range | ||
sed -n '/ | sed -n '/ |