Luke Shirnia's repositories
out-of-memory
Out Of Memory Analyzer can be used to obtain and summarize "out of memory" issues logged by a Linux kernel (when oom-killer is invoked)
OOM-Killer-score
Python and bash scripts to analyze all system process oom_scores and sort by the highest value (most likely to get killed)
ServerUsage
This is a script that pulls in: RAM, CPU details along with other things.
MySQLProcessCheck
Query the MySQL processlist with this python script. Log and email when queries are running longer than a set time
logfile-bandwidth-info
Gather the bandwidth usage of a domain from it's access log.
ApacheConnectionTime
This script has been designed for apache monitoring alerts. Alerts such as time-outs, localhost timeouts, websites not loading etc.
awesome-chatgpt-prompts
This repo includes ChatGPT prompt curation to use ChatGPT better.
CloudFuse
Ansible role for configuring cloudfuse and mounting cloudfiles containers to a mount point
LinuxBackup
Backup your Linux filesystme on a cron using this script (includes tar, gpg encryption and rsync)
magento_info_gathering
This script is designed to be run on Linux devices with Magento stores running on them.
magento_information
A script to gather Magento ecommerce information on Linux devices such as; database user/password/host, caching etc
phpmemcachedadmin
Graphic stand-alone administration for memcached
postfixbuddy
Python script to make general management of Postfix queues a little easier.
process_uptime
Obtain the uptime and start date of a Linux process in pure python
RecapParse
Quickly parse recap logs
simple-php-shell
Simple PHP shell script, yet powerful enough.
SmallPythonScripts
A selection of small python scripts that don't deserve their own repo. These scrips can be used to test things on Linux devices.
strace-apache-check
Checks system calls, allowing for quick troubleshooting for a site hosted by apache on port 80
traffic_analyser
Retrieve useful information from apache/nginx access logs to help troubleshoot traffic related problems