Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
data from puppetdb export run
# ps aux | grep java | grep -v grep
puppetdb 1917 7.3 3.8 5732680 1280456 ? Sl Oct02 519:11 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java -XX:OnOutOfMemoryError=kill -9 %p -Xmx1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof -Djava.security.egd=file:/dev/urandom -cp /usr/share/puppetdb/puppetdb.jar clojure.main -m com.puppetlabs.puppetdb.core services -c /etc/puppetdb/conf.d
root 17430 0.5 0.9 1746360 319316 pts/1 Sl+ 05:46 1:46 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java -Xmx192m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/puppetdb/puppetdb-oom.hprof -Djava.security.egd=file:/dev/urandom -cp /usr/share/puppetdb/puppetdb.jar clojure.main -m com.puppetlabs.puppetdb.core export --outfile ./puppetdb-export.tgz
# top -n 1
Tasks: 260 total, 1 running, 259 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.9%us, 0.4%sy, 0.0%ni, 96.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 32875800k total, 29297392k used, 3578408k free, 419840k buffers
Swap: 35110908k total, 0k used, 35110908k free, 12457516k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1917 puppetdb 20 0 5598m 1.2g 13m S 99.5 3.9 521:49.23 java
3355 root 20 0 15160 1320 868 R 2.0 0.0 0:00.01 top
1 root 20 0 23472 1616 1300 S 0.0 0.0 0:02.45 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.19 kthreadd
<snip>
# free
total used free shared buffers cached
Mem: 32875800 29297736 3578064 0 419848 12458160
-/+ buffers/cache: 16419728 16456072
Swap: 35110908 0 35110908
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.