Friday, April 3, 2009

Analyze a Core dump

  • Core dumps are often used to diagnose or debug errors in computer programs.
  • A core dump consists of the recorded state of the working memory of a computer program at a specific time, generally when the program has terminated abnormally.
  • include the program counter and stack pointer, memory management information, and other processor and operating system flags and information.
  • On UNIX-like systems manual dumps may be forced by kill -6 or gcore [2]. kill -6 dumps a thread dump.

Friday, March 20, 2009

smbclient

default samba configuration file located at /etc/samba/smb.conf

smbclient

default samba configuration file located at /etc/samba/smb.conf

Sunday, March 8, 2009

Common Object Request Broker Architecture

This is about the CORBA, which is used to use communicate with feeder and contentdistributor.
So I need to find out what are the reason for it.

  1. enables software components written in multiple computer languages and running on multiple computers to work together.
  2. CORBA uses an interface definition language (IDL) to specify the interfaces that objects will present to the outside world.
  3. CORBA then specifies a “mapping” from IDL to a specific implementation language like C++ or Java. Standard mappings exist for Ada, C, C++, Lisp, Ruby, Smalltalk, Java, COBOL, PL/I and Python.
  4. Benefits :

  • Language Independence
  • OS Independence
  • Freedom from Technologies
  • Freedom From Data Transfer Details
Others:

Corba Location (CorbaLoc)


Corba Location (CorbaLoc) refers to a stringified object reference for a CORBA object that looks similar to a URL.
eg:
corbaloc::160.45.110.41:38693/StandardNS/NameServer-POA/_root

So this is the END.


Sunday, February 1, 2009

Web Crawler

http://en.wikipedia.org/wiki/Web_crawler

RBSE [3] was the first published web crawler. It was based on two programs: the first program, "spider" maintains a queue in a relational database, and the second program "mite", is a modified www ASCII browser that downloads the pages from the Web.

Tuesday, November 11, 2008

NFS share

vi /etc/exports

/etc/init.d/nfs restart

Tuesday, October 28, 2008

How do I set my java classpath?

How do I set my java classpath?

Problem

Linux uses Red Hats java package instead of the Sun jdk.

Reason

The java interpreter from the standard Red Hat installation is placed in /usr/bin, which is in the path where Linux search for executables. This will be used be default if you don't specify otherwise.

To find the java classes, you also have to set the java classpath to point to the java kit you want to use.

Solution

Set your PATH and CLASSPATH environment variables to reflect which java kit you want to use.

In the ITU Linux machines in 2003, the following java kits are installed: jdk1.3.1 and j2sdk1.4.1. They are placed in /usr/java.

To use jdk1.3.1, add the following lines to the file ".bashrc" in your home directory:

export PATH=/usr/java/jdk1.3.1/bin:$PATH
export JAVA_HOME="/usr/java/jdk1.3.1"
export CLASSPATH=.:/usr/java/jdk1.3.1

If you want to use the j2sdk1.4.1, replace jdk1.3.1 with j2sdk1.4.1 and it should work.