Skip to content

Instantly share code, notes, and snippets.

View rakeshcusat's full-sized avatar
🎯
Focusing

Rakesh Kumar rakeshcusat

🎯
Focusing
View GitHub Profile
@rakeshcusat
rakeshcusat / Pyflame-monitoring.md
Last active March 24, 2020 19:38
Instructions to attach the pyflame with python process and monitor the performance.
  1. git clone git@github.com:/brendangregg/flamegraph
  2. pick the python worker. based on the following command:
ps -aux | grep python
# or
top -o RES -c

If you know what process you want to monitor just get the pid of the process. 3. Attach the pyflame with the process.

@rakeshcusat
rakeshcusat / gradle build --refresh-dependencies --debug
Created July 19, 2012 20:50
Log file for gradle --refresh-dependencies --debug
When I run gradle build --refresh-depenencies --debug I get the exception.
----------------------------------------------------------------------
13:46:43.819 [ERROR] [org.gradle.BuildExceptionReporter]
13:46:43.822 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
13:46:43.824 [ERROR] [org.gradle.BuildExceptionReporter]
13:46:43.824 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
13:46:43.824 [ERROR] [org.gradle.BuildExceptionReporter] Could not resolve all dependencies for configuration ':compile'.
13:46:43.827 [ERROR] [org.gradle.BuildExceptionReporter] > java.lang.NullPointerException (no error message)
13:46:43.827 [ERROR] [org.gradle.BuildExceptionReporter]