October 17, 2009
The great Ubuntu Karmik is just around the corner. If you happen to use Eclipse from the official eclipse webpage and you see that some eclipse buttons do not work, then apply the following hack. Make yourself a one line script to execute eclipse like follows:
#!/bin/bash
export GDK_NATIVE_WINDOWS=1
./eclipse
and it will work again. For tptp (the profiling tools for eclipse) you’ll need libstdc++5 package from debian.
1 Comment |
Linux, Ubuntu Linux, java, programming |
Permalink
Posted by jordilin
September 5, 2009
Log4Tailer 1.50 http://code.google.com/p/log4tailer provides interesting new features in order to monitor your logs. It’s a dedicated application to monitor the status of your logs regardless if your application provides its own monitoring platform or not. It is helping me a lot and this new release will help sys admins and testers alike.
In this new release, you will be able to specify regexes for every log, log4tailer will be able to update you by email every period of time you specify and lots more.
Leave a Comment » |
Linux, Tools, Ubuntu Linux, programming, python | Tagged: colors, colours, Linux, logs, sysadmin, tail |
Permalink
Posted by jordilin
August 6, 2009
Log4Tailer 1.45 http://code.google.com/p/log4tailer/ has a new feature that could be interesting for many testers or engineers when they are tailing multiple logs at a time. It can tail the logs with different colors for each log, making it very easy to differentiate which log you are tailing. For instance, you could be tailing /var/log/messages in red, /var/log/mail.log in green and some other log in yellow. Just specify that in a config file and that’s it. Config file:
/var/log/messages = red
/var/log/mail.log = green
/var/log/otherlog = yellow
Then, just type:
log4tail -c configfile /var/log/messages /var/log/mail.log /var/log/otherlog
Leave a Comment » |
Linux, Ubuntu Linux, programming, python | Tagged: colors, colours, log, log4tailer, logs, tail |
Permalink
Posted by jordilin
April 5, 2009
In the last weeks, I’ve been hacking quite a lot with log4tailer and today I released version 1.0. This version is a major improvement over the last ones, and I hope it is going to be a great tool for those who, like me, spend many time tailing logs for debugging purposes, or just for those who need to monitor logs during many hours. I released the software along with a very nice PDF manual, that I hope it is going to be very useful.
Log4Tailer’s project is hosted in googlecode http://code.google.com/p/log4tailer/
Leave a Comment » |
Tools, programming | Tagged: colors, log4tailer, logs, tail |
Permalink
Posted by jordilin
January 1, 2009
It seems that configuring Eclipse to work with Ubuntu is always a bit painful, mainly tptp and subversion. This post is all about tptp (test and performance tools for Eclipse). I have tested with Ubuntu 32 bit edition. First of all, of course, you’ll need to install tptp from ganymede. When you are going to profile some java app, you’ll get an error code IWAT0435E, saying that the agent could not be started.
First fix:
You’ll need to install libstdc++2.10-glibc2.2_2.95.4-27_i386.deb (no amd64 available) as the ACServer apparently was compiled against that old gcc version. Unfortunately, Ubuntu does not provide this library anymore, so you’ll have to grab it from Debian repos http://ftp.us.debian.org/debian/pool/main/g/gcc-2.95
Just click on it, and Ubuntu will install it. If you like command line (like me) and use 64 bit, then feel free to open a shell and type:
sudo dpkg –force-architecture –install libstdc++2.10-glibc2.2_2.95.4-22_i386.deb
Second fix:
Go to eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32_4.4.1.v200808290100/agent_controller/bin, and edit the files ACStart.sh, ACStop.sh. In first line, when it says #!/bin/sh, it should say #!/bin/bash.
The cool tptp now should work. Have fun, eclipse is an incredible ide
3 Comments |
java, programming | Tagged: eclipse, java, tptp, ubuntu |
Permalink
Posted by jordilin
March 17, 2007
I’ve been a fan of Python for several years, but at this moment I need to learn some Perl, and what I have learned is quite impressive. Perl is a very powerful language with thousands of modules. I went for Python because it has a clearer syntax and it’s purely object oriented, and every time I saw a Perl script I thought it was very cryptic. Now with some tutorials and perl books (thanks to safari oreilly), I’m seeing that I was quite wrong. Perl is very powerful, even more than Python, when dealing with regular expressions, files, directories, and doing small tasks. Perhaps, for larger programs Python is best recommended, because of its object oriented nature (classes and methods). Long life for Perl!!
2 Comments |
General Blogging, programming |
Permalink
Posted by jordilin