Skip to content

Instantly share code, notes, and snippets.

View scorpio2k2's full-sized avatar

Valentin Ciopei scorpio2k2

View GitHub Profile
#!/bin/sh
#The limit is 30% now
limit=10
mail=contact@debian-tutorials.com
tmp_file=/tmp/diskusage
hostname=`hostname`
#Now the script will calculate the current disk usage
disk=$(df -h | head -2 | tail -1 | awk '{print $5}' | sed 's/%//')
OPENSSH=/opt/openssh2
mkdir -p /opt/openssh2/dist/
cd ${OPENSSH}
wget http://zlib.net/zlib-1.2.11.tar.gz
tar xvfz zlib-1.2.11.tar.gz
cd zlib-1.2.11
./configure --prefix=${OPENSSH}/dist/ && make && make install
cd ${OPENSSH}
wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz
tar xvfz openssl-1.0.1e.tar.gz
@scorpio2k2
scorpio2k2 / RH342.md
Created October 3, 2020 12:38 — forked from luckylittle/RH342.md
Red Hat RH342 Notes

Red Hat Enterprise Linux Diagnostics & Troubleshooting (RH342)

Last update: Fri Jul 26 08:23:20 UTC 2019 by @luckylittle


1. Troubleshooting principles

2. Generic issues

{"app_name":"MeetingBar","timestamp":"2022-05-18 22:54:11.00 +0300","app_version":"4.0.5","slice_uuid":"f4a2f84a-7d54-3e9a-940d-ae6af5947dd9","build_version":"137","platform":1,"bundleID":"leits.MeetingBar","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.3.1 (21E258)","incident_id":"8648CFA9-AAA6-41A8-9C8A-26DB835CF842","name":"MeetingBar"}
{
"uptime" : 640000,
"procLaunch" : "2022-05-18 22:54:11.2727 +0300",
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Macmini9,1",
"procStartAbsTime" : 15458682816056,