Archivo de la categoría: Nix

Parallel gzip for modern multi-processor, multi-core machines

A parallel implementation of gzip for modern multi-processor, multi-core machines   You can download the latest source code right here: pigz source code version 2.1.6 (17 Jan 2010) in tar.gz format (51K, MD5 checksum cbe9030c4be3d0ef2438ee5f8b169ca4) pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and… Leer más: Parallel gzip for modern multi-processor, multi-core machines »

Categoría: Nix

Reverse tunneling

What is the usage for reverse tunneling? Let say I have my server open ssh port to public, which means remote host from the Internet can access to my server through ssh. Another side, my friend’s machine do not open ssh port to public or his machine is behind the firewall. With this condition, my… Leer más: Reverse tunneling »

Categoría: Nix

listar con ruta ls

Listar con ruta for i in `ls`; do echo $PWD/$i ; done Con parametros para logs for i in `ls *.log`; do echo $PWD/$i ; done Este es el bueno ls -dlR $PWD/*

perl admin

Hey there! Today I wanted to focus on something that’s helping me do my job in a more efficient fashion. At a former workplace, I was responsible for ~200 high capacity webhosting machines, and a host of supporting machines. Back then, I was a huge fan of a management system mostly comprised of SSH Keys… Leer más: perl admin »

crontab solaris

La única diferencia con la que nos encontramos, es que en Solaris el editor por defecto para crontab es ed, que hace que la edición del crontab se haga infumable. Así que antes de editar el crontab hay que definir en la variable del sistema EDITOR, que editor queremos utilizar, en mi caso vi. export… Leer más: crontab solaris »

Change IP Address Solaris without restart

Solaris 10 edit /etc/hosts file (a symlink to /etc/inet/hosts file) and /etc/inet/ipnodes add an entry for IP address and hostname. Restart Network SRV # svcadm restart network/physical

Comandos útiles

  TOP command prstat -a ( like top ) vmstat   Para saber el uso del cpu sar 1 sar -u 10 60 mpstat 10 60