http://github.com/DaffyDuke' r...
DaffyDuke starred github/copilot-cli · December 11, 2025 01:01 github/copilot-cli
GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.
h
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 starred github/copilot-cli · December 11, 2025 01:01 github/copilot-cli
GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal.
h
Cas concret : un disque défaillant
Etat : Le disque défaillant (c2t0d0), après unplug/replug, reboot sans sds + drvconfig+disks+devlinks => a été revu OK par "iostat -En" après reboot.
Mais l’état des metadevices était pitoyable.
disque c2t0d0 malade /pci@6,4000/scsi@4,1/sd@0,0 (sd75) (…)
Voir l’état actuel du cluster cfgadm -la vxdiskadm Répondre aux questions :-) vérifier avec vxdisk list Capacité maximale du mirroir : vxassist -g oradg01 -b maxsize layout=mirrored,log création du mirroir vxassist -g oradg01 -b make oralocal 34725m layout=mirrored,log (…)
hosts : SID=ORA_SID> sqlplus user/password SQL> set line 132 SQL> select * from v$resource_limit ; SQL> show sga SQL> select * from v$sag
set show off ttitle off set heading off set pagesize 999 set linesize 250 set pause off time on verify off feedback off trims on spool /tmp/tmfile.cvs select UTI_ID||’ ;’||PRO_ID||’ ;’||LNG_ID||’ ;’||UTI_CIVILITE||’ ;’||UTI_NOM_MEDIA||’ ;’||UTI_FONCTION||’ ;’||UTI_NOM||’ ;’||UTI_PRENOM||’ ;’||UTI_EMAIL||’ ;’
Commandes facile à retenir isql -U<user> -P<password> -S<SERVER> ou isa -S<SERVER> sp_who sp__who sp__who io sp__who2 sp__lock (sh=shared, int=encours, tab=table ....) sp__cntlogin NULL,5 sp__cntlogin <user>,1 sp__dbspace
penser à faire go après (…)
Sur Solaris truss -o /var/tmp/test -f -tsend,read,recv,write -rall -wall -p <PID> > /var/tmp/test sshinstall tar jvmstat <host> puis jvmps -v jvmstat -gcapacity pid <PID>Ajouter le parsage XML dans Java 1.4 mkdir /usr/java/j2sdk1.4.<release>/jre/lib/endorsed (…)
Erreurs lors du boot de la machine
Si ce message survient : 7 ok boot FATAL : system is not bootable, boot command is disabled
alors 7 ok setenv auto-boot ? false auto-boot ? = false 7 ok reset-all Resetting ...
Ref : SunSolve Créer un nouvel alias disk
quand dans un printenv on (…)
/usr/plateform/sun4u/sbin/prtdiag prtconf -pv memconf un script perl
(non supporté par Sun mais dispo chez SunFreeware)
Echantillonnage TCP pour avoir le debit IN/OUT en continu /usr/local/etc/debit_lan pour avoir le delta des valeurs du driver tcp entre 2 intervales de temps : /usr/local/etc/delta_tcp Config TCP ndd -get /dev/tcp tcp_keepalive_interval
Passer en 100 full duplex avec une carte (…)
Il s’agit d’un coup de chaud (ventilo, CPU, bref une forte charge). Une fois assuré que tout est ok, il est possible d’éteindre la LED via une console (en ssh ça ne marche pas) : root@host>.# LOM>faultoff LOM>console root@host>ps -ef