Tuesday, June 1, 2010

Wily PMI Settings

To enablePMI metrics in Wily make the following changes:

In the file IntroscopeAgent.profile:
1)Change the line from introscope.agent.pmi.enable=false to
introscope.agent.pmi.enable=true

2)Change introscope.agent.pmi.enable.* to true to capture the various PMI metrics.
The corresponding setting needs to be set in the Application Console.


For the Application via WebSphere console:

1) Select the server: Servers->Application Servers->

2) Select Custom Services and add/set the following:
a. Classname = com.wily.introscope.api.websphere.IntroscopeCustomService
b. Display Name = Introscope Custom Services
c. Classpath = /WebAppSupport.jar
d. Startup = Checked (true)

3) Performance Monitoring Service and set
a. Startup (true)
b. Select specification level

Note that steps 1, 2, 3 under WebSphere are already part of the model in perf and production.

Thursday, April 15, 2010

Make an Undeleteable Folder in windows

It often happens that some of your folders contain very important data and you delete those folders by mistake. So why not make such folders UNDELETEABLE & avoid such mistakes..! [Works with Windows XP|Vista|Seven]
1]- Open CMD ( Type in Run option, the command 'cmd' or navigate to All Programs->Accessories-> Command Prompt)

2]- Change the directory to where you want to create the folder.Type 'cd..' to exit the current directory. As an example i will be creating the folder in C:, so i will use the 'cd..' command twice to navigate to C:

3]- Type md\lpt1\\ and press enter, the folder now will be in your C:

4]- If you try to delete it, it wont delete. This works on all version of windows.

5]- If you want to delete it just go to 'CMD', navigate to the directory and type
rd\lpt1\\ and press Enter.