Archive for Octubre, 2008

Consejos del “nono”

1. Never, under any circumstances, take a sleeping pill and a laxative on the same night.

2 If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be ‘meetings.’

3. There is a very fine line between ‘hobby’ and ‘mental illness.’

4. People who want to share their religious views with you almost never want you to share yours with them.

5. You should not confuse your career with your life.

6. Nobody cares if you can’t dance well. Just get up and dance.

7. Never lick a steak knife.

8. The most destructive force in the universe is gossip.

9. You will never find anybody who can give you a clear and compelling reason why we observe daylight savings time.

10. You should never say anything to a woman that even remotely suggests that you think she’s pregnant unless you can see an actual baby emerging from her at that moment.

11. There comes a time when you should stop expecting other people to make a big deal about your birthday. That time is age eleven.

12. The one thing that unites all human beings, regardless of age, gender, religion, economic status or ethnic background, is that, deep down inside, we ALL believe that we are above average drivers.

13. A person, who is nice to you, but rude to a waiter, is not a nice person.  (This is very important. Pay attention. It never fails.)

14. Your friends love you anyway.

15. Never be afraid to try something new. Remember that a lone amateur built the  Ark.  A large group of professionals built the Titanic.

16. Thought for the day: Men are like fine wine. They start out as grapes, and it’s up to the women to stomp the crap out of them until they turn into something acceptable to have dinner with.

by: Dave Barry, Nationally Syndicated Columnist

Fuente: Gallimaufry

Cuida tu disco dandole bola al S.M.A.R.T.

Bueno, gracias a la manera tan particular de infundarme conocimiento que tiene mi querido amigo lavaramano, decidi investigar un poco sobre el tema de la vida de los discos rigidos, ahora en adelante “El HD“, sobre todo pensando en un proyecto «super secreto» que sera develado en algunos dias cuando termine de girar algunas tuercas (?).

Volviendo a lo nuestro, el SMART (Self Monitoring Analysis and Reporting Technology), es un sistema de deteccion de errores en HD´s, que se usa desde 1992 aprox. , y esta muy bien explicado en paginas como esta (que seguramente no conocian). No me hondare en detalles historicos, al granel (?).

En linux, se instala el paquete smartctl (que tiene como dependencias a smartmontools, el que le provee los datos).

Si esta el SMART activado, al ejecutar el siguiente comando:

smartctl -A /dev/sda

Deberian ver algo asi:

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate     0x000f   200   200   051    Pre-fail  Always       -       0
3 Spin_Up_Time            0x0003   176   176   021    Pre-fail  Always       -       4166
4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       899
5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
7 Seek_Error_Rate         0x000f   200   200   051    Pre-fail  Always       -       0
9 Power_On_Hours          0x0032   090   090   000    Old_age   Always       -       7569
10 Spin_Retry_Count        0x0013   100   100   051    Pre-fail  Always       -       0
11 Calibration_Retry_Count 0x0012   100   100   051    Old_age   Always       -       0
12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       894
190 Airflow_Temperature_Cel 0x0022   069   053   045    Old_age   Always       -       31
194 Temperature_Celsius     0x0022   116   100   000    Old_age   Always       -       31
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0009   200   200   051    Pre-fail  Offline      -       0

La tabla varia segun el fabricante, pero suele contener los valores mas criticos/importantes. La columna VALUE, contiene el valor actual de la variable, WORST, es el peor valor registrado en esta ultima. THRESH (trecho) es el valor minimo que debe tener VALUE, si el valor baja de ese limite, es como para empezar a preocuparse.

Los valores suelen estar entre 255 y 0, los mas normales son entre 200 y 100, segun de lo que estemos hablando. La idea tambien es mirar el RAW_VALUE, que con tiene un valor segun el tipo de dato que estemos mirando, por ejemplo Temperature_Celsius contiene 31, que es la temperatura actual del HD. Hay muchos valores en 0, sobre todos los contadores de errores, tambien es importante tener un ojo en eso.

Esto es una mera introduccion del tema, pero con esto podrian ya tener un control de su disco. Para ver mas del tema, no queda otra que buscar por Internet que esta lleno de informacion de este tipo.

Transferencia de archivos mas rapida via SSH + BZIP

El comando magico en cuestion es el siguiente:

bzip2 -c largefile.txt | ssh user@hostname "bzip2 -dc > /home/user/myDir/largefile.txt"

Comprime el archivo a medida que lo transfiere por ssh, ideal para VPN´s o conexiones lentas.

La simpleza hace al hombre

No especificamente con cerveza, pero se comparte la idea. Igual las queremos chicas, no se preocupen.

hombresimples

El blog del momento

Asi es, para que deprimirse con la crisis financiera internacional, cuando podes reirte del nuevo y mas glamoroso meme de internet!

CORREDORES DE BOLSA TRISTES

APTOPIX Financial Meltdown Wall Street

Siguiente Página »