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 | |
# SOURCE: https://blog.devgenius.io/rhel-centos-7-fix-for-lets-encrypt-change-8af2de587fe4 | |
trust dump --filter "pkcs11:id=%c4%a7%b1%a4%7b%2c%71%fa%db%e1%4b%90%75%ff%c4%15%60%85%89%10" | openssl x509 | sudo tee /etc/pki/ca-trust/source/blacklist/DST-Root-CA-X3.pem | |
sudo update-ca-trust extract |
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
- Supprimer les applications non utilisées, notamment toutes les éventuelles version Office présentes | |
- applications et fonctionnalités | |
- Chiffrement BitLocker du disque | |
- installer Cmder full | |
- installer Office365 (www.office365.com) |
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
random-read: (g=0): rw=randread, bs=256KiB-256KiB,256KiB-256KiB,256KiB-256KiB, ioengine=libaio, iodepth=256 | |
fio-2.18 | |
Starting 1 process | |
Jobs: 1 (f=1): [r(1)][100.0%][r=27.3MiB/s,w=0KiB/s][r=109,w=0 IOPS][eta 00m:00s] | |
random-read: (groupid=0, jobs=1): err= 0: pid=5216: Mon Nov 20 11:25:52 2017 | |
read: IOPS=111, BW=27.1MiB/s (29.4MB/s)(1678MiB/60002msec) | |
slat (usec): min=937, max=48829, avg=8931.40, stdev=4220.94 | |
clat (usec): min=6, max=2544.4k, avg=2225904.59, stdev=255594.73 | |
lat (msec): min=10, max=2560, avg=2234.84, stdev=255.58 | |
clat percentiles (msec): |
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
# NOTE: | |
# /dev/zvol/xxxxx/test volume is tested by FIO | |
# volblocksize 16K | |
# compression lz4 | |
# usedbydataset 50.4G | |
# logbias latency | |
# sync always | |
xxxxxxx sync_read sync_write async_read async_write scrub | |
req_size ind agg ind agg ind agg ind agg ind agg |
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
<?php | |
/** | |
* Agregate stats per job on a unique file compatible with fio2gnuplot | |
**/ | |
if (!$argv[1]) { | |
echo "syntax: ".$argv[0]." <prefix-file>\n"; | |
echo "Example : ".$argv[0]." nametest\n"; | |
} | |
$tests = array('bw','lat','slat','clat','iops'); |
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
global | |
pidfile /tmp/haproxytest.pid | |
defaults | |
# we do web ! | |
mode http | |
option httpchk /c | |
option http-keep-alive | |
option http-pretend-keepalive |
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
global | |
chroot /tmp | |
daemon | |
group users | |
user nobody | |
pidfile /var/run/haproxy.pid | |
log xxx local2 notice | |
nbproc 4 | |
server-state-file /tmp/haproxy_server_state |
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
slabinfo - version: 2.1 | |
# name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <limit> <batchcount> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail> | |
lio_r2t_cache 285 531 64 59 1 : tunables 120 60 8 : slabdata 9 9 0 | |
lio_ooo_cache 0 0 64 59 1 : tunables 120 60 8 : slabdata 0 0 0 | |
lio_dr_cache 325 413 64 59 1 : tunables 120 60 8 : slabdata 7 7 0 | |
lio_qr_cache 996 1120 32 112 1 : tunables 120 60 8 : slabdata 10 10 0 | |
lio_cmd_cache 476 489 1216 3 1 : tunables 24 12 8 : slabdata 163 163 108 | |
t10_alua_tg_pt_gp_mem_cache 124 154 48 77 1 : tunables 120 60 8 : slabdata 2 2 0 | |
t10_alua_tg_pt_gp_cache 124 176 248 16 1 : tunables 120 60 8 : slabdata 11 11 0 | |
t10_alua_lu_gp_mem_cache 124 385 48 77 1 |
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
<?php | |
$fp = fopen('/etc/named/named.stats', 'r'); | |
$data = array(); | |
$start = false; | |
$currentHost = ''; | |
while($line = fgets($fp, 1024)) { | |
if (strpos($line, 'Per Zone Query Statistics ') !== false) { |
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
<?php | |
/*************** | |
* Extract rule ID from modsecurity log | |
* and print TOP hits by rule ID | |
* | |
* @author github.com/odoucet | |
* | |
* useful when using mod_security as DETECTION_ONLY mode | |
* | |
* USAGE : |
NewerOlder