Skip to content

Instantly share code, notes, and snippets.

@ytjohn
Created August 28, 2012 10:48
Show Gist options
  • Save ytjohn/3497139 to your computer and use it in GitHub Desktop.
Save ytjohn/3497139 to your computer and use it in GitHub Desktop.
<html>
<head>
<style>
pre {
white-space: pre-wrap; /* css-3 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5+ */
white-space: -moz-pre-wrap; !important! /* Older Versions of Mozilla */
width: 99%;
overflow-x: auto;
}
</style>
</head>
<body>
<div id="container" style="width: 600px;">
<p>johnh@puppet2:~$ sudo supervisord
johnh@puppet2:~$ sudo supervisorctl status
gateone RUNNING pid 9549, uptime 0:00:05
johnh@puppet2:~$ ps ax | grep gateone
9549 ? Sl 0:00 python /opt/gateone/gateone.py
johnh@puppet2:~$ sudo supervisorctl stop gateone
gateone: stopped
johnh@puppet2:~$ ps ax | grep gateone
9605 ? Ss 0:00 dtach -c /opt/gateone/tmp/gateone/../dtach_3 -E -z -r none /opt/gateone/plugins/ssh/scripts/ssh_connect.py -S /tmp/gateone/.../%SHORT_SOCKET% --sshfp -a -oUserKnownHostsFile=/opt/gateone/users/user1@puppet2/ssh/known_hosts
9606 pts/3 Ss+ 0:00 python /opt/gateone/plugins/ssh/scripts/ssh_connect.py -S /tmp/gateone/.../%SHORT_SOCKET% --sshfp -a -oUserKnownHostsFile=/opt/gateone/users/user1@puppet2/ssh/known_hosts</p>
<pre><code>johnh@puppet2:~$ sudo cp supervisord.conf /etc
johnh@puppet2:~$ sudo supervisord
johnh@puppet2:~$ sudo supervisorctl status
gateone RUNNING pid 9549, uptime 0:00:05
johnh@puppet2:~$ ps ax | grep gateone
9549 ? Sl 0:00 python /opt/gateone/gateone.py
johnh@puppet2:~$ sudo supervisorctl stop gateone
gateone: stopped
johnh@puppet2:~$ ps ax | grep gateone
9605 ? Ss 0:00 dtach -c /opt/gateone/tmp/gateone/../dtach_3 -E -z -r none /opt/gateone/plugins/ssh/scripts/ssh_connect.py -S /tmp/gateone/.../%SHORT_SOCKET% --sshfp -a -oUserKnownHostsFile=/opt/gateone/users/user1@puppet2/ssh/known_hosts
9606 pts/3 Ss+ 0:00 python /opt/gateone/plugins/ssh/scripts/ssh_connect.py -S /tmp/gateone/.../%SHORT_SOCKET% --sshfp -a -oUserKnownHostsFile=/opt/gateone/users/user1@puppet2/ssh/known_hosts
</code></pre>
<p>normalcy</p>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment