jHiccup is a non-intrusive instrumentation tool that logs and records
platform "hiccups" - including the JVM stalls that often happen when
Java applications are executed and/or any OS or hardware platform noise
that may cause the running application to not be continuously runnable.
When installed on macOS using Homebrew (brew install jhiccup), the path to jHiccup.jar couldn't be correctly resolved while using jHiccupLogProcessor. There're two reasons:
the readlink_f function doesn't work because /usr/local/bin/jHiccupLogProcessor is a symbol link
the file jHiccup.jar isn't in the same dir as that of jHiccupLogProcessor
When installed on macOS using Homebrew (
brew install jhiccup
), the path tojHiccup.jar
couldn't be correctly resolved while usingjHiccupLogProcessor
. There're two reasons:readlink_f
function doesn't work because/usr/local/bin/jHiccupLogProcessor
is a symbol linkjHiccup.jar
isn't in the same dir as that ofjHiccupLogProcessor
FYI, here's the gist for the source of the improved
readlink_f
: https://gist.github.com/ryenus/88bc355515ce657b2da1d8ce1c16e4f9