Tuesday, February 23, 2010

How to find size of objects in Oracle.

When you want to find size of object (table, index) in your oracle database, you can use this script.

SELECT sum(bytes)/1048576 Megs, segment_name
FROM dba_extents
WHERE segment_name = '&object_name'
GROUP BY segment_name
/

Ref : http://www.arikaplan.com/oracle/ari60399.html

== TaTsHuYa ==

Thursday, February 18, 2010

Use sun java plugin on Firefox's ubuntu 9.10

By default on Firefox's Ubuntu 9.10 use java plugin 'IcedTea Java Web Browser Plugin'

But when I want to manage EMC Storage CX300 and CX700 by access to Navisphere 6 wep page of those devices, I found that there is no content to display.

So I decide to change it to use Sun Java(TM) Plug-in

First, go to the shell command and install sun-java6-plugin
tatshuya$> apt-get install sun-java6-plugin

After you installed sun-java6-plugin already, you go back to the firefox browser again
Enable : Tools -> Add-ons -> Plugins -> Java(TM) Plug-in 1.6.0_15
Disable : Tools -> Add-ons -> Plugins -> IcedTea Java Web Browser Plugin



Finish.

== TaTsHuYa ==

Thursday, February 11, 2010

Compile FreeRadius error on RHEL4 x86_64

I got the error when I run make command.

** Error **
gcc: /usr/lib/libsnmp.so: No such file or directory


I just checked, there is no file "/usr/lib/libsnmp.so" but there is a file
"/usr/lib64/libsnmp.so"

So I clean up everything and export some environment variable before run configure.

# export LDFLAGS='-L/usr/lib64'
# ./configure
# make

Now, it can be compile completely.


== TaTsHuYa ==