Skip to content

Instantly share code, notes, and snippets.

@barmstrong
Created November 1, 2015 02:40
Show Gist options
  • Save barmstrong/014bdd4ec24c56dcf66d to your computer and use it in GitHub Desktop.
Save barmstrong/014bdd4ec24c56dcf66d to your computer and use it in GitHub Desktop.
vagrant@reddit:~$ sudo reddit-stop
vagrant@reddit:~$ sudo reddit-start
vagrant@reddit:~$ ps -ef | grep reddit
rabbitmq 1408 1400 1 02:11 ? 00:00:30 /usr/lib/erlang/erts-5.10.4/bin/beam.smp -W w -K true -A30 -P 1048576 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitmq/lib/rabbitmq_server-3.2.4/sbin/../ebin -noshell -noinput -s rabbit boot -sname rabbit@reddit -boot start_sasl -kernel inet_default_connect_options [{nodelay,true}] -sasl errlog_type error -sasl sasl_error_logger false -rabbit error_logger {file,"/var/log/rabbitmq/[email protected]"} -rabbit sasl_error_logger {file,"/var/log/rabbitmq/[email protected]"} -rabbit enabled_plugins_file "/etc/rabbitmq/enabled_plugins" -rabbit plugins_dir "/usr/lib/rabbitmq/lib/rabbitmq_server-3.2.4/sbin/../plugins" -rabbit plugins_expand_dir "/var/lib/rabbitmq/mnesia/rabbit@reddit-plugins-expand" -os_mon start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup false -mnesia dir "/var/lib/rabbitmq/mnesia/rabbit@reddit"
root 2293 1 5 02:11 ? 00:01:28 bindfs --perms=u=rwX:g=rD:o=rD --user=vagrant --group=vagrant /host-raw/src/reddit /host/src/reddit
root 5797 1 0 02:19 ? 00:00:03 /usr/bin/python /usr/bin/gunicorn --pid /var/run/gunicorn/click.conf.pid --name click.conf --user vagrant --group vagrant --daemon --log-file /var/log/gunicorn/click.conf.log --bind=unix:/var/opt/reddit/click.sock --workers=1 tracker:application
vagrant 5803 5797 0 02:19 ? 00:00:00 /usr/bin/python /usr/bin/gunicorn --pid /var/run/gunicorn/click.conf.pid --name click.conf --user vagrant --group vagrant --daemon --log-file /var/log/gunicorn/click.conf.log --bind=unix:/var/opt/reddit/click.sock --workers=1 tracker:application
vagrant 9341 9338 0 02:39 ? 00:00:00 /usr/bin/python /host/src/reddit/scripts/wrap-job paster serve --reload /host/src/reddit/r2/run.ini
vagrant 9353 9341 4 02:39 ? 00:00:00 /usr/bin/python /usr/bin/paster serve --reload /host/src/reddit/r2/run.ini
vagrant 9355 9352 0 02:39 ? 00:00:00 /usr/bin/python /host/src/reddit/scripts/wrap-job paster run --proctitle commentstree_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/db/queries.py -c run_commentstree(qname='commentstree_q')
vagrant 9363 9361 0 02:39 ? 00:00:00 /usr/bin/python /host/src/reddit/scripts/wrap-job paster run --proctitle del_account_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/db/queries.py -c consume_deleted_accounts()
vagrant 9368 9355 17 02:39 ? 00:00:00 /usr/bin/python /usr/bin/paster run --proctitle commentstree_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/db/queries.py -c run_commentstree(qname='commentstree_q')
vagrant 9376 9374 0 02:39 ? 00:00:00 /usr/bin/python /host/src/reddit/scripts/wrap-job paster run --proctitle markread_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/db/queries.py -c consume_mark_all_read()
vagrant 9378 9363 17 02:39 ? 00:00:00 /usr/bin/python /usr/bin/paster run --proctitle del_account_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/db/queries.py -c consume_deleted_accounts()
vagrant 9385 9383 0 02:39 ? 00:00:00 /usr/bin/python /host/src/reddit/scripts/wrap-job paster run --proctitle newcomments_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/db/queries.py -c run_new_comments()
vagrant 9392 9376 16 02:39 ? 00:00:00 /usr/bin/python /usr/bin/paster run --proctitle markread_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/db/queries.py -c consume_mark_all_read()
vagrant 9394 9391 0 02:39 ? 00:00:00 /usr/bin/python /host/src/reddit/scripts/wrap-job paster run --proctitle scraper_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/media.py -c run()
vagrant 9405 9385 17 02:39 ? 00:00:00 /usr/bin/python /usr/bin/paster run --proctitle newcomments_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/db/queries.py -c run_new_comments()
vagrant 9407 9404 0 02:39 ? 00:00:00 /usr/bin/python /host/src/reddit/scripts/wrap-job paster run --proctitle vote_comment_q1 /host/src/reddit/r2/run.ini -c from r2.lib.db import queries; queries.process_votes(queries.vote_comment_q)
vagrant 9415 9413 0 02:39 ? 00:00:00 /usr/bin/python /host/src/reddit/scripts/wrap-job paster run --proctitle vote_link_q1 /host/src/reddit/r2/run.ini -c from r2.lib.db import queries; queries.process_votes(queries.vote_link_q)
vagrant 9417 9394 16 02:39 ? 00:00:00 /usr/bin/python /usr/bin/paster run --proctitle scraper_q1 /host/src/reddit/r2/run.ini /host/src/reddit/r2/r2/lib/media.py -c run()
vagrant 9418 9415 17 02:39 ? 00:00:00 /usr/bin/python /usr/bin/paster run --proctitle vote_link_q1 /host/src/reddit/r2/run.ini -c from r2.lib.db import queries; queries.process_votes(queries.vote_link_q)
vagrant 9419 9407 16 02:39 ? 00:00:00 /usr/bin/python /usr/bin/paster run --proctitle vote_comment_q1 /host/src/reddit/r2/run.ini -c from r2.lib.db import queries; queries.process_votes(queries.vote_comment_q)
vagrant 9420 9353 21 02:39 ? 00:00:00 /usr/bin/python /usr/bin/paster serve --reload /host/src/reddit/r2/run.ini
vagrant 9439 8780 0 02:39 pts/11 00:00:00 grep --color=auto reddit
vagrant@reddit:~$ ps -ef | grep cassandra
root 1971 1 0 02:11 ? 00:00:00 jsvc.exec -user cassandra -home /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/../ -pidfile /var/run/cassandra.pid -errfile &1 -outfile /var/log/cassandra/output.log -cp /usr/share/cassandra/lib/antlr-3.2.jar:/usr/share/cassandra/lib/avro-1.4.0-fixes.jar:/usr/share/cassandra/lib/avro-1.4.0-sources-fixes.jar:/usr/share/cassandra/lib/commons-cli-1.1.jar:/usr/share/cassandra/lib/commons-codec-1.2.jar:/usr/share/cassandra/lib/commons-lang-2.6.jar:/usr/share/cassandra/lib/compress-lzf-0.8.4.jar:/usr/share/cassandra/lib/concurrentlinkedhashmap-lru-1.3.jar:/usr/share/cassandra/lib/guava-13.0.1.jar:/usr/share/cassandra/lib/high-scale-lib-1.1.2.jar:/usr/share/cassandra/lib/jackson-core-asl-1.9.2.jar:/usr/share/cassandra/lib/jackson-mapper-asl-1.9.2.jar:/usr/share/cassandra/lib/jamm-0.2.5.jar:/usr/share/cassandra/lib/jbcrypt-0.3m.jar:/usr/share/cassandra/lib/jline-1.0.jar:/usr/share/cassandra/lib/json-simple-1.1.jar:/usr/share/cassandra/lib/libthrift-0.7.0.jar:/usr/share/cassandra/lib/log4j-1.2.16.jar:/usr/share/cassandra/lib/lz4-1.1.0.jar:/usr/share/cassandra/lib/metrics-core-2.2.0.jar:/usr/share/cassandra/lib/netty-3.6.6.Final.jar:/usr/share/cassandra/lib/servlet-api-2.5-20081211.jar:/usr/share/cassandra/lib/slf4j-api-1.7.2.jar:/usr/share/cassandra/lib/slf4j-log4j12-1.7.2.jar:/usr/share/cassandra/lib/snakeyaml-1.6.jar:/usr/share/cassandra/lib/snappy-java-1.0.5.jar:/usr/share/cassandra/lib/snaptree-0.1.jar:/usr/share/cassandra/apache-cassandra-1.2.19.jar:/usr/share/cassandra/apache-cassandra-thrift-1.2.19.jar:/usr/share/cassandra/apache-cassandra.jar:/usr/share/cassandra/stress.jar:/usr/share/java/jna.jar:/etc/cassandra:/usr/share/java/commons-daemon.jar -Dlog4j.configuration=log4j-server.properties -Dlog4j.defaultInitOverride=true -XX:HeapDumpPath=/var/lib/cassandra/java_1446343898.hprof -XX:ErrorFile=/var/lib/cassandra/hs_err_1446343898.log -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+CMSClassUnloadingEnabled -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42 -Xms1000M -Xmx1000M -Xmn250M -XX:+HeapDumpOnOutOfMemoryError -Xss256k -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseTLAB -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote.port=7199 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false org.apache.cassandra.service.CassandraDaemon
vagrant 9444 8780 0 02:39 pts/11 00:00:00 grep --color=auto cassandra
vagrant@reddit:~$ ps -ef | grep rabbit
rabbitmq 1334 1 0 02:11 ? 00:00:00 /usr/lib/erlang/erts-5.10.4/bin/epmd -daemon
rabbitmq 1400 1 0 02:11 ? 00:00:00 /bin/sh /usr/sbin/rabbitmq-server
rabbitmq 1408 1400 1 02:11 ? 00:00:31 /usr/lib/erlang/erts-5.10.4/bin/beam.smp -W w -K true -A30 -P 1048576 -- -root /usr/lib/erlang -progname erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitmq/lib/rabbitmq_server-3.2.4/sbin/../ebin -noshell -noinput -s rabbit boot -sname rabbit@reddit -boot start_sasl -kernel inet_default_connect_options [{nodelay,true}] -sasl errlog_type error -sasl sasl_error_logger false -rabbit error_logger {file,"/var/log/rabbitmq/[email protected]"} -rabbit sasl_error_logger {file,"/var/log/rabbitmq/[email protected]"} -rabbit enabled_plugins_file "/etc/rabbitmq/enabled_plugins" -rabbit plugins_dir "/usr/lib/rabbitmq/lib/rabbitmq_server-3.2.4/sbin/../plugins" -rabbit plugins_expand_dir "/var/lib/rabbitmq/mnesia/rabbit@reddit-plugins-expand" -os_mon start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup false -mnesia dir "/var/lib/rabbitmq/mnesia/rabbit@reddit"
rabbitmq 1824 1408 0 02:11 ? 00:00:00 inet_gethost 4
rabbitmq 1825 1824 0 02:11 ? 00:00:00 inet_gethost 4
vagrant 9538 8780 0 02:39 pts/11 00:00:00 grep --color=auto rabbit
vagrant@reddit:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment