Mithun's Memoirs

Wednesday Nov 19, 2008

Solaris kernel statistics with libkstat

The Solaris operating system kernel provides a set of functions and data structures for device drivers and other kernel modules to export module-specific statistics to the outside world. This infrastructure,is referred to as kstat, provided by they library - libkstat. The Solaris libkstat library contains the C-language functions for accessing kstats from an application. The following blog post demonstrates how the memory statistics could be gathered and consumed in a real-world situation. Detailed explanations are not available, but a the source code provided herewith and the references provided should suffice.

[Read More]

Friday Nov 14, 2008

Virtualization for dummies

Virtualization is one of those buzzwords that is being freely floated around the industry left and right, and can mean so many different things to so many different people. Virtualization technology is a way of making a physical computer function as if it were two or more computers or even a totally different computer altogether.Growing user demand for 24/7 access to fast-response systems stretches the capabilities of any datacenter. Server virtualization can help you meet that demand by enabling servers to run multiple operating systems and multiple applications. With virtualization, datacenters can grow so quickly and cost-effectively that you may not even need more hardware, space, cooling capacity, or electricity to meet that growing demand.

[Read More]

Tuesday Oct 28, 2008

Citrix client under OpenSolaris

Citrix client for Solaris 10 x86 and x64 platforms does not seem to work like a breeze on OpenSolaris distributions, due to some major changes in between the releases. However, if one has a working version of Solaris 10, one could basically copy certain binaries and start using the Citrix client right away. The following short post demonstrates this.

[Read More]

Friday Feb 15, 2008

Crash boom bang

On our way to Hamburg, we had an interesting sight at the Frankfurt airport. People were crowded around an interesting scene. Apparently, they weren't geeks, but normal people watching a spectacular show.

[Read More]

Wednesday Dec 12, 2007

Scenegraph Intro

Project Scene Graph is a technology that eliminates the need for caching objects, dealing with repaints,
clipping algorithms and the like. It eliminates the need for writing complex graphics code. Built by the guys who work
on Java2D this mechanism offers great
acceleration of all sorts. JavaFX runtime also uses scene graphs which
makes writing graphically rich applications much easier. Check out the project for more information on Scene Graph.

[Read More]

popuri.us

An interesting site I stumbed upon today. Its URL is here.

[Read More]

Tuesday Dec 11, 2007

Hyperlinks JavaFX

With JavaFX, you could embed hyperlinks in your text labels and use them instead of classical GUI components like buttons. In this demo, we shall have a look at how this could be done. Here, we shall use text to handle actions, which is typically a mouse click, and perform the associated actions.

[Read More]

Monday Dec 10, 2007

JavaFX Menus

A full-featured user interface does not require the user to use the mouse all the time. Instead, it provides keyboard shortcuts that allow the user to operate the application primarily or entirely with the keyboard. Swing has a number of features that support keyboard shortcuts. Javafx also provides these functionalities as any Swing application. Here, in this post, we shall discuss the aspect of creating menus and mnemonics.

[Read More]

Sunday Dec 09, 2007

DTrace performance

DTrace is performant as well as re-entrant. However, in introducing probes in your applications, certain parameters are to be considered before one blindly introduces probes in code paths where the tracing phenomenon could produce a performance hit. This is especially true in invoking functions from within loops with tracing enabled. Enabling probes blindly would also lead to a performance hit. Though DTrace is designed to guard you from such errors, its always a good habit to make considerations before incorporating and using DTrace probes, especially on live systems.

[Read More]

Saturday Dec 08, 2007

Pure JavaFX Demo

In this post, I shall demonstrate how to create a pure JavaFX script. My previous post used the Java APIs in creating the user interface. However, this is not what JavaFX is all about. Here, in this post, I shall demonstrate how one could create GUI components "without" using the Java API in your source listing.

[Read More]

JavaFX Look and Feel

With JavaFX script, its possible to use the existing Swing Look and Feel (L&F) classes to create applications using the native looks or those provided by custom UI package providers. In this writeup, I shall show how one could do this.

[Read More]

Friday Dec 07, 2007

JavaFX rocks

Today, I checked out the JavaFX stuff using the NetBeans plugin and I'm impressed with JavaFX and NetBeans as a bundle. I tried my hand at writing a small function and in creating a GUI. Looks like with a little effort, one could create GUIs on the fly. The syntax is somewhat like Javascript, which I've been using for a while now. Looks like the learning curve is pretty shallow, which is indeed a boon for web-designers and developers to try their hand at JavaFX in developing applications for the web, mobile or your computer.

[Read More]

Wednesday Dec 05, 2007

Tech Days Frankfurt

Sun Microsystems' premier global developer conference, Tech Days, travels the globe to share expertise with the community about the Solaris Operating System, Java technology, the NetBeans IDE, Project GlassFish, etc. The Sun Tech Days was in Germany this year and I was a part of this gigantic action too!

[Read More]

Friday Nov 30, 2007

SAP on Xen

We worked on a performance study project titled : SAP on Xen using Linux as the host platform, running on Sun hardware. I've finally finished writing the whitepaper ( draft ) and the first review is complete. I'm making this available at this blog, so you get a chance to read the materials and provide me with comments and suggestions, before the whitepaper goes into more serious review and finally into print.

[Read More]

Monday Nov 12, 2007

User-land Statically Defined Tracing in C++

In this short article, I shall demonstrate how one could introduce DTrace probes in C++ or in general, object oriented programming languages and the issues which one would face in doing so. I shall provide a step-by-step illustration of exactly how this is to be done and why one should take these factors into consideration when introducing DTrace probes in your application

[Read More]

Saturday Oct 27, 2007

DTrace - Some useful links

I am providing some useful links to those from the Code
Camp who wish to pursue DTrace through independent learning. I've got
most of the ideas from these links and hope that they be a good
starting point for those exploring out with DTrace.

[Read More]

Friday Oct 19, 2007

Using DTrace with Java & Web 2.0 (Code Camp, Walldorf)

Special thanks to Angelo Rajadurai, who was the original author of the Lab. The details of this lab is available here

[Read More]

Wednesday Jul 25, 2007

Code Camp - From Walldorf to the World

If you are an ISV development engineer, then Sun Code Camps are an
ideal place to gain hands-on experience with Sun's new technologies.
Code Camps are packed with technical content, hands-on programming
exercises and sample code. Sun's Code Camp leader provides an
engineer-to-engineer learning experience that is intensive and
technically stimulating. The focus is on delivering programming
information and sample code that you can put to good use right away.

[Read More]

Sunday Jul 22, 2007

Code Camp Demystified

If you are an ISV development engineer, then Sun Code Camps are an
ideal place to gain hands-on experience with Sun's new technologies.
Code Camps are packed with technical content, hands-on programming
exercises and sample code. Sun's Code Camp leader provides an
engineer-to-engineer learning experience that is intensive and
technically stimulating. The focus is on delivering programming
information and sample code that you can put to good use right away.

[Read More]