Wednesday, August 29, 2007

Linux : setting up rdist

rdist command is very helpful in synchronizing filesystems on two
server. rdist stands for remote distribution. Many useful options are
available with the command.

See `man rdist` for more information about the command.

This is how I set up rdists :-)

My crontab entry
10 * * * * rdist -f $HOME/bin/rdist_file > /dev/null

###rdist_file contains

## these are comments
/path/of/source/file -> target_server1 install
-onochkowner,nochkgroup,nochkmode /path/to/the/target/file;

### file rdist ed to target_server2
/path/of/source/file -> target_server2 install
-onochkowner,nochkgroup,nochkmode /path/to/the/target/file;

Linux : splitting a log file

To split a file into small files of 5000 lines, use this,

% split -l 5000 file

This creates files like xaa, xab etc.

Thursday, August 23, 2007

My website

I have launched my website.

http://www.carvingIT.com.

Your feedback is welcome !

Thursday, August 09, 2007

Leaving my job

After working with ANSYS-Fluent Inc. for more than 7 years, I have
decided to start working as a Consultant in the field of Linux,
Apache, MySQL, Perl/PHP. After joining Fluent, I developed liking for
the Linux platform and the open source technologies.

During my tenure with Fluent, I wrote many complex perl scripts and
modules. Now, I think Open Source is the field where I can help the
community and grow individually as well.