sixtydoses. where od is harmless.

December 31, 2009

Happy 010110!

Filed under: Life — Tags: — od @ 11:14 pm

Another hour before 2009 leaves us behind. Like any other year, I’ll be standing next to the window to watch fireworks from afar.

The most common question every year, what is your new year resolution?

Hmm.. let’s see..

None. I’ve never really had one, I think. I found that if you have a goal, you might not reach it. But if you don’t have one, then you are never disappointed. I gotta tell you, it feels phenomenal.

End of the year 2008, a friend asked me what my new year resolutions are, and I answered jokingly that I already have resolutions set for the next 3 years to come:

2009 – get a boyfriend.
2010 – get married.
2011 – get a baby.

Surprisingly, I achieved my made-up 2009 resolution.. ahem.. lol. So yeah, let’s see if am really gonna get wed this 2010 ūüėõ .

Till then, happy new year, everyone.

Which city you want to live in?

Filed under: Miscellaneous — Tags: — od @ 7:57 pm

Check out the Alphabet City.

I haven’t decided yet. When I first looked at all those alphabets, I thought I want ‘Z‘. But then I thought ‘P‘ is cool too. And after a while I couldn’t decide which alphabet, almost all of them are interesting to live in (hmm.. ‘S‘ is not really tempting, to be honest). I will need a few alphabets combined together to satisfy my needs.

I know Devin would wanna go for ‘W‘ or ‘V‘ ūüėČ .

Oh my, I feel like am twittering.

It’s the last day of 2009 and I just want to write – new year, new theme.

Filed under: Tech — Tags: , , — od @ 1:58 pm

Remember I ranted about how difficult it is to find a wallpaper without having a specific theme in mind?

Well, turned out I found something better than just a wallpaper – a new theme for my xfce. I’ve been switching between xfce default theme and Clearlooks theme for a couple of years simply because it was so hard for me to find a clean theme with the right color, right tone and the right style.

I just found this awesome theme a couple of days ago, and I couldn’t be happier. While I don’t use Google Chrome because it’s not ported in FreeBSD and I’m back with Opera (did anyone notice that Opera is getting sexier by each version?), I am surely in love with its look. It’s clean, neat and simple.

Anyway, presenting the current xfce theme that I’m using, one of the best I’ve come across, the Chrome-like theme. I found another similar theme at gnome-look.org, but I like this one better because of its soothing color and simplicity. Minimal, just the way I like it.

I matched the theme with Chameleon Xcursors X11(Chameleon sky blue small) mouse theme, and it’s brilliant. I love it!

Now I can stop thinking about beautifying my desktop for a while..

Last day of 2009.

Filed under: Life, Tech — Tags: — od @ 5:06 am

A bit old article, but an interesting reading.

2009 has been kind to me, sort of.

December 16, 2009

Drive failure expected in less than 24 hours. SAVE ALL DATA.

Filed under: Tech — Tags: , , — od @ 3:00 pm

And so I’ve spent days and days, prolly weeks, to get rid some of the problems I faced in my FreeBSD. Currently running on version 8.0-RELEASE, I’ve upgraded almost all of my installed ports, and get my usb stick to work with the new usb stack. Everything works wonderful, stable and I’m a happy user.

Happy eh?

At least I thought so.

Today it crossed my mind to check how my hard disks are doing and to my surprise, one of the report came back with a failure alert:

# smartctl -d ata -A /dev/ad4
smartctl version 5.38 [amd64-portbld-freebsd8.0] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== 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¬†¬† 165¬†¬† 164¬†¬† 021¬†¬†¬† Pre-fail¬† Always¬†¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 4741
4 Start_Stop_Count¬†¬†¬†¬†¬†¬†¬† 0x0032¬†¬† 100¬†¬† 100¬†¬† 000¬†¬†¬† Old_age¬†¬† Always¬†¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 211
5 Reallocated_Sector_Ct   0x0033   065   065   140    Pre-fail  Always   FAILING_NOW 1080
7 Seek_Error_Rate¬†¬†¬†¬†¬†¬†¬†¬† 0x000e¬†¬† 200¬†¬† 197¬†¬† 051¬†¬†¬† Old_age¬†¬† Always¬†¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 0
9 Power_On_Hours¬†¬†¬†¬†¬†¬†¬†¬†¬† 0x0032¬†¬† 085¬†¬† 085¬†¬† 000¬†¬†¬† Old_age¬†¬† Always¬†¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 11344
10 Spin_Retry_Count¬†¬†¬†¬†¬†¬†¬† 0x0012¬†¬† 100¬†¬† 100¬†¬† 051¬†¬†¬† Old_age¬†¬† 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¬†¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 209
192 Power-Off_Retract_Count 0x0032¬†¬† 193¬†¬† 193¬†¬† 000¬†¬†¬† Old_age¬†¬† Always¬†¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 5447
193 Load_Cycle_Count¬†¬†¬†¬†¬†¬†¬† 0x0032¬†¬† 001¬†¬† 001¬†¬† 000¬†¬†¬† Old_age¬†¬† Always¬†¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 1227719
194 Temperature_Celsius¬†¬†¬†¬† 0x0022¬†¬† 097¬†¬† 092¬†¬† 000¬†¬†¬† Old_age¬†¬† Always¬†¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 50
196 Reallocated_Event_Count 0x0032¬†¬† 101¬†¬† 101¬†¬† 000¬†¬†¬† Old_age¬†¬† Always¬†¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 99
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¬†¬† 0x0008¬†¬† 200¬†¬† 200¬†¬† 051¬†¬†¬† Old_age¬†¬† Offline¬†¬†¬†¬†¬† –¬†¬†¬†¬†¬†¬† 0

And this makes my heart races even faster:

# smartctl -H /dev/ad4
smartctl version 5.38 [amd64-portbld-freebsd8.0] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
Failed Attributes:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct   0x0033   065   065   140    Pre-fail  Always   FAILING_NOW 1080

Less than 24 hours? And I happened to be damn lucky to check on my disks today? Since day one I bought the hard disks, I’ve never really checked on it. Today I did, and I got this. Am seriously hoping that it’s just a false alarm (still am gonna do my backups).

And that is my around-2yo WD hard disk. My second WD hard disk. My first WD hard disk failed on me after running for less than a year. Jinx? Lol. Wait. This is not funny! Hmmmpphhhhhhhh..

Anyway, am too frustrated now. My hands are cold, my feet are cold, and all I could think of right now is doing a backup so that I could port my old system to a new hard disk. Which I have to buy..

Speaking of which.. another WD? Seriously I don’t know. Everyone is saying WD is the best, yet 2 of them died (well this one hasn’t died yet but already complaining) fast enough. Maxtor served me for a good 5 years or more, but the reputation isn’t that great either compared to other brands. Suggestion?

December 10, 2009

Today is..

Filed under: Life — Tags: , — od @ 10:06 pm

my birthday!

Yay! Unlike every year, this year I get no cake! Zero. Nada. Zilch. Hmmpphhhhh!!!!

At first I thought I received more wishes from forums than friends, but I guess facebook saves the day. Lol.

Happy birthday to me!
Happy birthday to me!
Happy birthday to od!
Happy birthday to me!

December 6, 2009

And you think setting up a wallpaper is easy.

Filed under: Miscellaneous — Tags: — od @ 8:26 pm

It’s just so fucking hard to find a wallpaper when you don’t have a theme in mind. I used to like gothic, dark yet feminine wallpaper back in college days, but now am more into cartoonish, pastelish and cute wallpaper. Sheesh.. guess am getting cheesier by day.

I like manga, but I don’t like it as a wallpaper. I don’t like anything specific, anything that comes with a message, an agenda or propaganda. I like a generic wallpaper.

But now am bored. Am so bored with my wallpaper. I want to change it but I just don’t have any theme in mind right now. I just wish that I stumble on a gorgeous picture that I could download and set it as wallpaper.

On a different note, I was at the pharmacy today and I kinda realized that the security guard was eyeing me like am a damn shoplifter. Okay prolly it’s just my feelings but this isn’t the first time. Pffttttttt.

December 2, 2009

StatsView on Ubuntu Jaunty.

Filed under: Tech — Tags: , , , — od @ 1:37 am

Quoted from StatsView README:

#####################################################

PREREQUISITES
————-

StatsView is written in Perl5, using the Perl Tk extension library. I recommend
that you use perl5.005_03 or later, and Tk800.014 or later, as StatsView has
been tested with these versions. You will also need the Tk::GBARR add-on
package for this version.

The graphing is done with gnuplot, and version 3.7 or later is required –
a copy can be found in the gnuplot_src subdirectory.

#####################################################

I already have Perl5 and gnuplot in my system, so I only need to install Perl Tk, Tk-GBARR and StatsView.

Install Perl Tk:

#apt-get install perl-tk


Grab Tk-GBARR from http://www.cpan.org/authors/id/SREZIC/. At this time of writing the latest version of Tk-GBARR is 2.08:

#fetch http://www.cpan.org/authors/id/SREZIC/Tk-GBARR-2.08.tar.gz
#tar xvfz Tk-GBARR-2.08.tar.gz
#cd Tk-GBARR-2.08
#perl Makefile.PL
#make
#make test
#make install


Grab StatsView from http://www.cpan.org/authors/id/ABURLISON/.

#fetch http://www.cpan.org/authors/id/ABURLISON/StatsView-1.4.tar.gz
#tar xvfz StatsView-1.4.tar.gz
#cd StatsView-1.4
#perl Makefile.PL
#make install
#./scripts/sv


Test StatsView using the example included:

#cd /path/StatsView-1.4/examples
#gzip -d sar.txt.gz
#../scripts/sv sar.txt


It worked wonderfully using the sar output sample.. but I couldn’t get it to display any graph using my collection of sar output, both in binary and text formats. At this point am still not sure why it kept on complaining that my output file is invalid.

They are valid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa!!! ūüėĮ

Now what am I supposed to tell my boss?

“Hi boss.. remember the Linux server performance data that I promised last week? I don’t have it.”
“How come?”
“I have it, but I don’t have it in a pwetty graph format like I pwomised.”
“Well it’s okay you can pass me the raw data.”
“It’s in binary.”
“What?”
“Uh.. you know there are 10 types of people in the world: Those who understand binary, and those who don’t…”
“You don’t have anything to present, do you?”
*GULP*

Source: http://jerkharris.com/books/books/PerlOrDBA/oracleperl-CHP-3-SECT-3.html

Create a free website or blog at WordPress.com.