Identifying which Java thread is consuming most CPU

Submitted by Jochus on Thu, 05/09/2013 - 21:47 | Posted in: Java
Posted in



I just found this very interesting article on identifying which Java thread is consuming the most CPU. It's working perfectly on a Linux environment. Unfortunately, top seems to be different on Mac OS X. There's no toggle to show threads. I even tried htop, which can be installed by MacPorts, but still no luck :-( ...

The only way to have this on Mac OS X is to use the top threads plugin in jconsole.

Enabling remote access for user "sa" in SQL Server Express 2008 R2

Submitted by Jochus on Sun, 01/09/2013 - 18:28 | Posted in: Database
Posted in


TCP configuration

  • Launch: SQL Server Configuration Manager
  • Expand: SQL Server Network Configuration
  • Double click: TCP/IP
  • Change Enabled to Yes
  • Switch to tab: IP Addresses
  • Clear out TCP Dynamic Ports
  • Fill in the port on which you want to accept remote access calls. E.g.: TCP Port: 1433


"sa" user configuration

  • Launch: SQL Server Server Management Studio
  • Login by using Windows Authentication
  • Right click on your server and choose Properties
  • Select tab Security
  • Set Server Authentication to SQL Server and Windows Authentication mode
  • Save configuration
  • In the left tree, expand Security > Logins
  • Double click on the sa user
  • Uncheck: Enforce password policy and Enforce password expiration
  • Assign a password for the sa user
  • Open tab Status and put Login to Enabled

Asian characters accidently showing up in Word, Outlook, ...

Submitted by Jochus on Sun, 02/06/2013 - 21:44 | Posted in: Windows
Posted in



I sometimes accidently press a key combination in Word or Outlook which suddenly activates some Asian keyboard. I'm unable to type any other Western character.

The problem was related to me: when you press Alt + Shift, the Asian keyboard is activated. By pressing this key combination again, the Western keyboard is reactivated.