Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: CSUG/HouseMD
base: master
head fork: CSUG/HouseMD
compare: support-windows
Checking mergeability… Don't worry, you can still create the pull request.
  • 4 commits
  • 2 files changed
  • 0 commit comments
  • 3 contributors
18 bin/housemd.bat
@@ -0,0 +1,18 @@
+@echo off
+if 'x%JAVA_HOME%'=='x' (
+ echo.
+ echo Please set JAVA_HOME to JDK 6+!
+ echo.
+ goto end
+rem create logs dir if it doesn't exists
+if not exist logs (mkdir logs)
+set TOOL_JAR=%JAVA_HOME%\lib\tools.jar
+if exist %TOOL_JAR% (set BOOT_CLASSPATH=-Xbootclasspath/a:%TOOL_JAR%)
+%JAVA_HOME%\bin\java -Djline.terminal=jline.UnsupportedTerminal %BOOT_CLASSPATH% -jar %~dp0housemd.jar %*
+rem do nothing.
4 src/main/scala/com/github/zhongl/housemd/HouseMD.scala
@@ -42,10 +42,10 @@ object HouseMD extends Command("housemd", "a runtime diagnosis tool of JVM.", Pr
private val pid = parameter[String]("pid", "id of process to be diagnosing.")
- private lazy val agentJarFile = sourceOf(getClass)
+ private lazy val agentJarFile = new File(sourceOf(getClass)).getCanonicalPath()
private lazy val agentOptions = agentJarFile :: classNameOf[Telephone] :: port() :: classNameOf[Trace] :: classNameOf[Loaded] :: Nil
- private lazy val errorDetailFile = "/tmp/housemd.err." + pid()
+ private lazy val errorDetailFile = "logs/housemd.err." + pid()
private lazy val errorDetailWriter = new BufferedWriter(new FileWriter(errorDetailFile))
def run() {

No commit comments for this range

Something went wrong with that request. Please try again.