I like to mine with wallet.
1) Run the daemon (bitmonerod) and wait it to fully sync.
2) Run the wallet with --trusted-daemon:
simplewallet --wallet wallet.bin --trusted-daemon
3) In simplewallet enter:
start_mining 2
*The number (2) is for number of threads. In general for best results you should use CPU_Cache/2MB for the number, so if your CPU cash is 6MB use 3 and if it's 8MB use 4.
*You'll get better hash rate if you enable huge pages in your OS and restart.
*You could exit the wallet after you started mining (mining is in the daemon). In the daemon type show_hr to see the hash rate or hide_hr to hide it.