Showing posts with label command line. Show all posts
Showing posts with label command line. Show all posts

Thursday, 19 July 2012

Java Command Line Performance Tools

Duke WavingWell most of my friends don't get to see my work. My main gig is creating customer Java training for Oracle. For example, the main Java programming course: Java SE 7 Programming.



Well my current assignment is to create some free content for the Oracle Learning Library. So my first tutorial is out:

Java SE 7: Reviewing JVM Performance Command Line Tools

OLL Entry | Tutorial Link



The tutorial covers some of the built in command line tools included with Java 7. With the tools, you can query running JVMs and find out a great deal of information about them. So if this sounds interesting check it out.

Tuesday, 13 March 2012

Windows DNS Tricks


Microsoft Logo

Did you know you can view your Windows DNS cache? You can very easily with the following commands. Note that on Windows 7 or Vista, you must open your command prompt as Administrator for this to work. You can do this by right clicking the Command Prompt icon and selecting Run as Administrator.



To view the DNS cache type:

ipconfig /displaynds



This prints a lot of information for each entry. To just see the host names try:

ipconfig /displaydns | find "Record Name"



To search the for just the .com host names try:

ipconfig /displaydns | find "Record Name" | find ".com"



To clear the DNS cache use:

ipconfig /flushdns