Move all shared into this new repo

This commit is contained in:
2020-04-02 15:48:20 -06:00
parent 27307f26f2
commit 66fd90a649
465 changed files with 61143 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
# This is an instant reboot, like pressing the power switch
# only use if you cannot reboot the computer from the normal command
# mReschke 2014-03-24
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
# Basic HD speed test using DD
# mReschke 2017-07-11
file=./bigfile
size=1024
printf "Cached write speed...\n"
dd if=/dev/zero of=$file bs=1M count=$size
printf "\nUncached write speed...\n"
dd if=/dev/zero of=$file bs=1M count=$size conv=fdatasync,notrunc
printf "\nUncached read speed...\n"
echo 3 > /proc/sys/vm/drop_caches
dd if=$file of=/dev/null bs=1M count=$size
printf "\nCached read speed...\n"
dd if=$file of=/dev/null bs=1M count=$size
rm $file
printf "\nDone\n"

View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Watch a process output
# mReschke 2018-01-19
sudo tail -f /proc/$(pgrep $1|head -n1)/fd/1