Subfolders
Latest "IT" Articles
Linux

Linux PHP tuning utilities & commands

1. See memory consumed by php-fpm8.2 (change this to match different PHP version if necessary)

ps --no-headers -o "rss,cmd" -C php-fpm8.2 | awk '{ sum+=$1 } END { printf ("%d%s\n", sum/NR/1024,"M") }'

Linux

Linux SQL Tuning Utilities

1. tuning-primer.sh

Run from Github:
curl -L https://raw.githubusercontent.com/BMDan/tuning-primer.sh/main/tuning-primer.sh | bash

2. MySQLTuner.pl

wget http://mysqltuner.pl/ -O mysqltuner.pl
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/basic_passwords.txt -O basic_passwords.txt
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/vulnerabilities.csv -O vulnerabilities.csv
perl mysqltuner.pl --host 127.0.0.1 --user [user] --pass [pass]

Remember to quote any punctuation or BASH tokens in the password.

Workshop » Reference Section » Grimoires » IT » Troubleshooting log

/Devlog

  • 2026sep27
    • Disable Recipe post type, I wasn't really using it and it didn't work quite right for some reason, was missing permalinks, previews, and other features.
    • Add skip_posts_in paramater to othercatposts. skip_id tells it which categories not to search, now skip_posts_in tells it to skip posts in certain categories even if they come up in other categories too... like, skip_posts_in="898" says don't include posts in "kwits" even if they come up in the "blog post" category.
    • Update othercatposts so if post doesn't have a title, show excerpt, and if no except, show "No title: & publish timestamp
  • 2026jul24
    • Added a slow log and made some apache changes mostly related to logging and registering header info sent from cloudflare. Details are at https://michaelkupietz.com/server-changes-summary-july-24-2026/
  • 2026jul3
    • Changed .metainfo > .dashicons {margin-bottom: -2px;margin-top: -2px; /* fix for dashicons raising text baselines in tags in meta info…