http://github.com/DaffyDuke' r...
DaffyDuke pushed to debian in DaffyDuke/dotfiles · January 27, 2026 20:17 1 commit to debian http://github.com/DaffyDuke' r...
3f8edd2 ✨ feat(Vi) : Add some plugins >>> ⏰ 20m
L’Imp’Rock Scénette (by @_daffyduke_)
Logiciel libre, rock’n roll et biochimie ...
Les billets personnels d’Olivier Duquesne plus connu sur la toile électronique sous le pseudonyme de DaffyDuke ...
Je pouet de temps en temps sur Mastodon
http://github.com/DaffyDuke' r...
DaffyDuke pushed to debian in DaffyDuke/dotfiles · January 27, 2026 20:17 1 commit to debian http://github.com/DaffyDuke' r...
3f8edd2 ✨ feat(Vi) : Add some plugins >>> ⏰ 20m
Mini Watchweb en VBS
Call TestPage() wscript.quit ’------------------------------------------------------------------------- ’------------------------------------------------------------------------- Sub TestPage() Logfile = "d:appslynxpage_test.log" Lynx_Conf = (…)
Shutdown en commande d : cd ntreskit shutdown /l /c /r /y /t:0 l : local c : killer les appis r : reboot y : oui la question t:0 : tout de suiteRemoteDesktop freezé
rclient puis pulist, pskill netsvc \\ceqnt1 /list | more net stop RemoteDesktopConnectionManager start, restart de (…)
En cas d’Expiration de Licence pour les clients sous NT ou Linux
Il convient de supprimer :
- HKLM/Software/Microsoft/MSLicencing/HardwareID/ClientHWID
- HKLM/Software/Microsoft/MSLicencing/Store/licence0xx
Remettre les authentifications http://user:pass@host
Coller ce bout de code dans un fichier .reg et jouez le : [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE] "iexplore.exe"=dword:00000000
Compiler le module Compaq Array Manager pour RedHat
[root@clectra01 cpqevt]# make -f cpqevt.mk clean echo "Recompiling cpqevt for current Linux Kernel . . ." ;\ touch *.c *.h Recompiling cpqevt for current Linux Kernel . . . rm -f cpqevt.o
[root@clectra01 cpqevt]# make -f cpqevt.mk (…)
Redémarre apache si le load average est trop élevé 0-55/5 * * * * root [ cat /proc/loadavg | awk ’if ($2 > 25) print 0 ; else print 1’ -eq 0 ] && echo load average : cat /proc/loadavg ; echo "restarting apache on date" ; /etc/init.d/apache stop ; sleep 5 ; /etc/init.d/apache start ; (…)
Passage en mode debug sur le nfs
echo 3 > /proc/sys/sunrpc/nfs_debug
Lire des infos depuis le serveur nfs
sar -d | grep nfs | sort -k 2,2 -n sar -d | head iostat -xn iostat -x df -k $* time mkfile 100m 100m rm 100m
voir aussi : iozone nfsstat
HP DL-380 G4 + MSA500 (…)
Plantage d’une machine depuis le plusieurs mois :
root pts/0 gate01 Fri Feb 18 17:02 - crash (00:17) root pts/0 wingate01 Fri Feb 18 15:12 - crash (01:23) root pts/1 wingate01 Fri Feb 18 11:52 - crash (04:42) root tty1 (…)
CPU 2 : Machine Check Exception : 0000000000000004 context<
Après quelques tests en monoproc, en changeant/permutant de proc et alim de proc, on arrive à la conclusion qu’il y a un problème hardware sur la carte mère.
Histoire de vérifier jusqu’au bout, j’ai installé une RedHat Enterprise (…)
– exécuter un fichier php PHPRC=$webpath/conf QUERYSTRING=" ?param=toto"
mais sans le ?
puis tester avec
/usr/bin/php < fichier.php
– utiliser le debugguer : gdb /opt/local/oss/apache/bin/httpd run -X -f $webpaths/conf/httpd.conf <get de la page> bt
– Plus d’infos : (…)