This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# migrate2rocky, when migrating from CentOS Stream, will retain packages | |
# that are newer than those in the target version of Rocky. This script | |
# attempts to show which packages are retained from Stream by checking | |
# whether each of them is available in active repos. | |
dnf makecache | |
rpm -qa | while read installed_package | |
do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
TEST_DIR="$1" | |
TEST_FILE="$2" | |
ITERATIONS="$3" | |
function main | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jun 5 10:56:50 boss1 kernel: INFO: task mount.zfs:15079 blocked for more than 120 seconds. | |
Jun 5 10:56:50 boss1 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. | |
Jun 5 10:56:50 boss1 kernel: mount.zfs D ffff9c0efdce2080 0 15079 1 0x00000084 | |
Jun 5 10:56:50 boss1 kernel: Call Trace: | |
Jun 5 10:56:50 boss1 kernel: [<ffffffffc09e1d63>] ? dnode_rele_and_unlock+0x53/0x90 [zfs] | |
Jun 5 10:56:50 boss1 kernel: [<ffffffff9b767c49>] schedule+0x29/0x70 | |
Jun 5 10:56:50 boss1 kernel: [<ffffffff9b769535>] rwsem_down_write_failed+0x225/0x3a0 | |
Jun 5 10:56:50 boss1 kernel: [<ffffffffc0a8a290>] ? zpl_create+0x190/0x190 [zfs] | |
Jun 5 10:56:50 boss1 kernel: [<ffffffff9b386c47>] call_rwsem_down_write_failed+0x17/0x30 | |
Jun 5 10:56:50 boss1 kernel: [<ffffffff9b766f4d>] down_write+0x2d/0x3d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME PROPERTY VALUE SOURCE | |
boss100/phet_zfs type filesystem - | |
boss100/phet_zfs creation Wed Mar 27 10:41 2019 - | |
boss100/phet_zfs used 5.46T - | |
boss100/phet_zfs available 1.54T - | |
boss100/phet_zfs referenced 4.75T - | |
boss100/phet_zfs compressratio 1.13x - | |
boss100/phet_zfs mounted no - | |
boss100/phet_zfs quota 7T local | |
boss100/phet_zfs reservation none default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pool: boss100 | |
state: ONLINE | |
scan: none requested | |
config: | |
NAME STATE READ WRITE CKSUM | |
boss100 ONLINE 0 0 0 | |
raidz2-0 ONLINE 0 0 0 | |
wwn-0x5000cca26c04cf78 ONLINE 0 0 0 | |
wwn-0x5000cca26c050900 ONLINE 0 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("/usr/sbin/zfs", ["zfs", "mount", "-vvv", "boss100/phet_zfs"], [/* 24 vars */]) = 0 | |
brk(NULL) = 0x165d000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f786b8d9000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | |
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=98890, ...}) = 0 | |
mmap(NULL, 98890, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f786b8c0000 | |
close(3) = 0 | |
open("/lib64/libnvpair.so.1", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260M\0\0\0\0\0\0@\0\0\0\0\0\0\0@>\1\0\0\0\0\0\0\0\0\0@\0008\0\7\0@\0\34\0\33\0\1\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\354'\1\0\0\0\0\0\354'\1\0\0\0\0\0\0\0 \0\0\0\0\0\1\0\0\0\6\0\0\0\210*\1\0\0\0\0\0\210*!\0\0\0\0\0\210*!\0\0\0\0\0\224\t\0\0\0\0\0\0\230\t\0\0\0\0\0\0\0\0 \0\0\0\0\0\2\0\0\0\6\0\0\0P-\1\0\0\0\0\0P-!\0\0\0\0\0P-!\0\0\0\0\0000\2\0\0\0\0\0\0000\2\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POSTCASTS = { | |
'': { | |
'tags': ['podcast-episode'], | |
}, | |
'lttp': { | |
'section': 'lttp', | |
}, | |
'gameolder': { | |
'section': 'gameolder', | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
package IkiWiki::Plugin::edittemplate; | |
use warnings; | |
use strict; | |
use IkiWiki 3.00; | |
use HTML::Template; | |
use Encode; | |
use UUID::Tiny ':std'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
janderson@cm1:~> cat /usr/local/bin/email-reports | |
#!/usr/bin/env python | |
import ldap | |
import textwrap | |
import os | |
import subprocess | |
from docutils.core import publish_parts | |
from email.MIMEMultipart import MIMEMultipart | |
from email.MIMEText import MIMEText |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
bs = 1024 * 1024 | |
count = 2048 | |
f = open(sys.argv[1], "wb") | |
for i in xrange(count): | |
f.write('\xFF' * bs) |
NewerOlder