Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Thomas Vassilian tvass

  • Red Hat
  • Montréal, QC, Canada
View GitHub Profile
@tvass
tvass / Ansible perf PoC
Created Aug 20, 2018
Performance issue with Ansible when using 'stat' module
View Ansible perf PoC
pwd : /home/tvass/Documents/work/ansible-perf
uname : Linux XXXXX 4.17.9-200.fc28.x86_64 #1 SMP Mon Jul 23 21:41:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Ansible version : ansible 2.6.2 (same issue w/ 2.5.8 and 2.4.6.0)
1) Generate 300 random files
---
#!/bin/bash
# Generates ten data files, each 300 MB in size and filled with random data.
@tvass
tvass / pg
Created Aug 1, 2018
pg backup command
View pg
pg_dump -h localhost -U dci -d dci -Fc > backup
pg_restore -h localhost -U dci -d dci --clean backup
View gist:9a35ca8f7028cb4f527b
This file has been truncated, but you can view the full file.
-- *************************************************************************
-- AMERICAN POWER CONVERSION PowerNet-MIB
-- *************************************************************************
-- Copyright (c) 2014 American Power Conversion, Inc.
-- PowerNet is a Trademark of American Power Conversion Corp.
--
-- Title: APC TOP LEVEL PowerNet MIB
--
-- Version : 4.1.2
You can’t perform that action at this time.