sudo iocage set bpf=yes dhcp=on devfs_ruleset=5 JAILNAME
https://www.justinsilver.com/random/fix-pkg-on-freenas-11-2/
Enable FreeBSD in /usr/local/etc/pkg/repos/FreeBSD.conf
#!/bin/bash | |
# Source http://lzone.de/blog/Nagios+Check+for+Systemd+Failed+Units | |
if [ -f /bin/systemctl ]; then | |
failed=$(/bin/systemctl --failed --no-legend) | |
failed=${failed/ */} # Strip everything after first space | |
failed=${failed/.service/} # Strip .service suffix if [ "$failed" != "" ]; then | |
echo "Failed units: $failed" | |
exit 1 | |
else | |
echo "No failed units." |
sudo iocage set bpf=yes dhcp=on devfs_ruleset=5 JAILNAME
https://www.justinsilver.com/random/fix-pkg-on-freenas-11-2/
Enable FreeBSD in /usr/local/etc/pkg/repos/FreeBSD.conf
source : https://twitter.com/climagic/status/1250052665951821825
grep -ao "[/\\]" /dev/urandom| sed -e 's,\\,╲,' -e 's,/,╱,'| tr -d \\n | while read -n$COLUMNS input ; do echo $input ; done | lolcat -F 0.01
Grace à Techsys j'ai eu la chance d'assister à l'édition 2019 de PassTheSalt. C'est une conférence orientée sécurité informatique en locution anglaise par son caractère international. C'est la deuxième édition, elle se tient cette année encore à Polytech Lille. Chaque demi journée est regroupée par thème technique.
lparstat -i <= vue hyperviseur
bindprocessor -q <= vue OS, donc hyperthreading, SMT sous AIX
The available processors are: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
errpt | grep LINK | head | while read a b c d e f g; do echo "$b $e"; done
for i in 0 1 2 3; do lscfg -vl fcs$i | grep -i net; done | awk -F'.' '{print $NF}'
omconfig storage vdisk action=replacememberdisk controller=1 vdisk=4 source=0:3 destination=0:5
omconfig storage pdisk action=remove controller=1 pdisk=0:2:3
Passage RAID 0 en RAID 1 OMSA CLI
##################################
/usr/openv/netbackup/bin/bplist -b -l "file"
sudo /usr/openv/netbackup/bin/bprestore -C mrc_sem_b -D mrc_sem_b -s 10/25/2014 -e 11/01/2014 –w -L /TRACE/res.log /SBIMPR/sasdata/fs02/METIER/DEC/DEC_MOA/MARKETING/2-Service/2-Recurrents/1-Portail_des_Directeurs_de_groupe/Suivi_de_la_LCP/source/cumul_suivi_lcp.sas7bdat
Kris Buystaert nous fait un résumé de ces 5 dernières années. On part d'une track du FOSDEM archi pleine à un évènement dédié le CFGMGMTCAMP. Ca a failli s'appeler infracode :-)
from vmsprawl to containersprawl concern business value => adapt particulare case, tweaking like apt database photo intéressante : bidonville vs la city => mutation improvement with chef : from configuration to timeplanning mais ce qui manque le plus => les forêts ! temps d'adoption d'un soft , pour l'enlever et se remettre => VM / Cloud / Containers / ...
source : https://twitter.com/climagic/status/1051838861335293952?s=09 by @climagic | |
Whoops, I forgot to create my dynamic tunnel on this SSH session. No problem, just press [enter] in the ssh session, then literally ~C to open the SSH options prompt (ssh>). You can then specify your tunnel option of -D 8022 or whatever and it will create it. |