Skip to content

Instantly share code, notes, and snippets.

@drew-holt
drew-holt / check_iostat
Created September 26, 2020 05:43
check_iostat
#!/bin/bash
#----------check_iostat.sh-----------
#
# Version 0.0.2 - Jan/2009
# Changes: added device verification
#
# by Thiago Varela - thiago@iplenix.com
#
# Version 0.0.3 - Dec/2011
# Changes:
@drew-holt
drew-holt / check_eth
Created September 26, 2020 05:40
check_eth
#!/usr/bin/perl -w
use strict;
use warnings;
use Getopt::Long;
use constant BITS => 8;
use constant BYTES => 1;
my $iface = "";
#!/usr/bin/perl
#
# check_memory - Check free(1) data against given tresholds
#
# Patched with;
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806598
#
# s/Nagios::Plugin/Monitoring::plugin
# deb http://ftp.debian.org/debian jessie-backports main
# apt-get install -t jessie-backports libmonitoring-plugin-perl
drew@drew-8570w:~$ cat output.txt
Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 5.2.8
Revision: 121009
Edition:
Description: USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:

Keybase proof

I hereby claim:

  • I am drew-holt on github.
  • I am drewholt (https://keybase.io/drewholt) on keybase.
  • I have a public key ASBwK7-gA6MAMcTX4Wd2ya7EeN84W0DycI_r9awbViHQGwo

To claim this, I am signing this object:

# https://docs.fedoraproject.org/f27/install-guide/appendixes/Kickstart_Syntax_Reference.html
# Configure installation method
install
url --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-27&arch=x86_64"
repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f27&arch=x86_64" --cost=100
# zerombr
zerombr