1. What is JConsole?
The JConsole command launches a graphical console tool that
enables you to monitor and manage Java applications on a local or remote
machine.
JConsole displays useful information such as thread usage,
memory consumption, and details about class loading, runtime compilation, and
the operating system.
Uses of JConsole:
- monitoring
- Dynamically change several parameters in the running system
Using JConsole
JConsole requires Java 5 or later. JConsole comes with the
JDK (but not the JRE) and can be found in the%JDK_HOME%/bin directory. To
launch JConsole, open a terminal or command window, change to the directory
containing it, and execute jconsole. When JConsole starts, it shows a window
listing the managed Java VMs on the machine. The process id (pid) and command line
arguments for each Java VM are displayed. Select one of the Java VMs, and
JConsole attaches to it.
JConsole interface
The JConsole interface in JDK 7 is composed of the following
six tabs:
- Overview displays summary information on the JVM and monitored values.
- Memory displays information about memory use.
- Threads displays information about thread use.
- Classes displays information about class loading.
- VM Summary displays information about the JVM.
- MBeans displays information about MBeans. (MBean or managed bean is a Java object that represents a manageable resource such as an application, a service, a component, or a device.)
Source:
http://www.techrepublic.com/blog/software-engineer/monitor-and-manage-java-applications-with-jconsole/
2. How to prevent computer from automatically sleeping in Windows7?
1. Open Power Options by clicking the Start button, clicking
Control Panel, clicking System and Security, and then clicking Power Options.
2. On the Select a power plan page, click Change plan
settings next to the selected plan.
3. On the Change settings for the plan page, click Change
advanced power settings.
4. On the Advanced settings tab, double-click Sleep,
double-click Sleep after. If you're using a desktop computer, click Setting,
click the arrow, and then click Never.
5. Click OK, and then click Save changes.
Source:
http://windows.microsoft.com/en-in/windows7/sleep-and-hibernation-frequently-asked-questions
Think Left and Think Right
Think Low and Think High
The Thinks You can Think
If only You TRY!
No comments:
Post a Comment