Archivo del Autor: carlosap

Persistent reverse SSH tunnel

A little while ago, I found myself with the desire to access my home machine when I’m not at home. (I was mostly looking for the ability to do things like set off an OpenSolaris «nightly» build from work so that it would be done before I was at home in front of my computer… Leer más »

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 »

Categoría: Nix

nohup Execute Commands After You Exit From a Shell Prompt

Most of the time you login into remote server via ssh. If you start a shell script or command and you exit (abort remote connection), the process / command will get killed. Sometime job or command takes a long time. If you are not sure when the job will finish, then it is better to… Leer más »

Categoría: Nix

_Lock VST table

Default Re: Reading _Lock hangs???? Reading _Lock is especially tricky There are no indexes on VSTs and they mostly mirror C data structures rather than actual database tables. Many VSTs (including _Lock) should be read in a manner that excludes key values of ? as these indicate unused entries in fixed arrays inside the db… Leer más »

oracle vs progress

I’ll give you 10 quick features of Oracle 10g, that I seriously doubt that we will even see by the time Progress gets to version 15. 1) database reorgs online (the equivelent of a dump & load online) 2) Database level, Table level, row level or transaction level rewind. (not rollback – you can literally… Leer más »

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 »

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 »