Skip to content

Instantly share code, notes, and snippets.

@LincDavis
LincDavis / script.command
Last active July 3, 2023 06:05
Diagnostic script
#! /bin/ksh
# This script copyrighted (C) 2014-2018 by Linc Davis. All rights reserved.
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;IFS=$' \t';LC_ALL=C;TERM=xterm-256color;TMPDIR=`getconf DARWIN_USER_TEMP_DIR`;eval HOME=~$USER;unset BLOCKSIZE COLUMNS DYLD_INSERT_LIBRARIES DYLD_LIBRARY_PATH FIGNORE FPATH HISTFILE LD_LIBRARY_PATH TMOUT;stty -echo;printf $'\e[8;16;55t\e]2;Diagnostic Script \xc2\xa9 2014-2018 Linc Davis\a';osascript -lJavaScript -e ' w=Application("Terminal").windows[0];w.backgroundColor="black";w.normalTextColor="black";w.cursorColor="yellow";w.fontSize=14;';clear;p=(1904 20 51 0.2 8 10 25 9215 1.0 1000 25 1536 400 40 500 300 85 20 2.0 262144 20 2000 524288 604800 5 1024 25 10 10 8 10 $(printf '%.2s' `uname -r`) 1800 `sysctl -n hw.logicalcpu` 16 `id -u` 10 (3360141552 2033013220 174611125 188739418 2052836284 1075906481 3825718575 2300025090 1148937583 998162157 251475945 682956541 927568548 820662417 4241232455 1991908505 3842510280 3977296738 308326518 734968811 2881593577 3505613185 20118