summary refs log tree commit diff
path: root/doc/index.html
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2002-08-28 13:10:06 +0000
committerGerrit Pape <pape@smarden.org>2002-08-28 13:10:06 +0000
commit2feb3787af76c8098f3f0b009b9522c97d52026b (patch)
treeb9afda00c119382a1d32ad5a36b54ac7037fa280 /doc/index.html
parenta148a393ee2453b4d7d358715e7ea6a426043cb9 (diff)
downloadrunit-2feb3787af76c8098f3f0b009b9522c97d52026b.tar.gz
runit-2feb3787af76c8098f3f0b009b9522c97d52026b.tar.xz
runit-2feb3787af76c8098f3f0b009b9522c97d52026b.zip
* utmpset: avoids libutil; compiles with deitlibc; built by default.
  * doc/usedietlibc.html: fix description.
  * stage 3: restart getties after stopping services.
  * getty-*/run: add utmpset.
0.5.0.
Diffstat (limited to 'doc/index.html')
-rw-r--r--doc/index.html45
1 files changed, 23 insertions, 22 deletions
diff --git a/doc/index.html b/doc/index.html
index 400c696..d974f18 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -9,6 +9,7 @@
 <h1>runit - minimal replacement for <i>sysvinit</i></h1>
 <hr>
 <a href="install.html">How to install runit</a><br>
+<a href="upgrade.html">Upgrading from previous versions of runit</a><br>
 <a href="replaceinit.html">How to replace init</a><br>
 <a href="usedietlibc.html">How to use dietlibc</a>
 <p>
@@ -19,9 +20,8 @@ Dependencies and runlevels</a>
 <a href="runit.8.html">The <tt>runit</tt> program</a><br>
 <a href="runit-init.8.html">The <tt>runit-init</tt> program</a><br>
 <a href="svwaitdown.8.html">The <tt>svwaitdown</tt> program</a><br>
-<a href="svwaitup.8.html">The <tt>svwaitup</tt> program</a>
-<p>
-<a href="utmpset.html">The <tt>utmpset</tt> program</a>
+<a href="svwaitup.8.html">The <tt>svwaitup</tt> program</a><br>
+<a href="utmpset.8.html">The <tt>utmpset</tt> program</a>
 <hr>
 <i>runit</i> cooperates with the
 <a href="http://cr.yp.to/daemontools.html">daemontools</a> package to create
@@ -81,20 +81,21 @@ for an example, the amount of code in process no 1 should be minimal.
 <hr>
 <b><i>runit</i> in use</b>: I replaced <i>sysvinit</i> with <i>runit</i>
 on several server systems and a laptop, all running Debian/GNU Linux woody
-or potato, some months ago and did not encounter any problems.
-This is from the second machine where I replaced <i>sysvinit</i> with
-<i>runit</i>:
+or potato, some months ago and did not encounter any problems. Of course
+also the <tt>smarden.org</tt> content server is running with <i>runit</i>
+as process no 1. This is from the second machine where I replaced
+<i>sysvinit</i> with <i>runit</i>:
 <pre>
   # strings /proc/1/exe |grep Id
   &#36;Id: runit.c,v 1.5 2001/12/30 16:28:53 pape Exp &#36;
   # uptime
-   19:44:10 up 139 days,  1:09,  3 users,  load average: 0.00, 0.00, 0.00
+   14:59:36 up 240 days, 21:10,  2 users,  load average: 0.00, 0.00, 0.00
   # ps axuw |head
   USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
   root         1  0.0  0.0    24   24 ?        S     2001   0:06 runit
-  root         2  0.0  0.0     0    0 ?        SW    2001   0:09 [kflushd]
-  root         3  0.0  0.0     0    0 ?        SW    2001   0:07 [kupdate]
-  root         4  0.0  0.0     0    0 ?        SW    2001   0:35 [kswapd]
+  root         2  0.0  0.0     0    0 ?        SW    2001   0:12 [kflushd]
+  root         3  0.0  0.0     0    0 ?        SW    2001   0:14 [kupdate]
+  root         4  0.0  0.0     0    0 ?        SW    2001   1:09 [kswapd]
   root         5  0.0  0.0     0    0 ?        SW    2001   0:00 [keventd]
   root       149  0.0  0.1  1692  120 ?        S     2001   0:00 /usr/sbin/cron
   root       152  0.0  0.0  2196    0 ?        SW    2001   0:00 [svscanboot]
@@ -107,16 +108,14 @@ This is from the second machine where I replaced <i>sysvinit</i> with
         |-kswapd
         |-kupdate
         `-svscanboot-+-readproctitle
-                     `-svscan-+-2*[supervise---socklog]
+                     `-svscan-+-5*[supervise---tcpserver]
                               |-18*[supervise---multilog]
-                              |-5*[supervise---tcpserver]
                               |-supervise---qmail-send-+-qmail-clean
                               |                        |-qmail-lspawn
                               |                        `-qmail-rspawn
-                              |-supervise---sshd---sshd---bash---bash---pstree
+                              |-supervise---sshd---sshd---sshd---bash---bash---ps
                               |-supervise---bash
                               |-2*[supervise---getty]
-                              |-supervise---uncat
                               |-supervise---dhcpd-2.2.x
                               |-supervise---dnscache
                               |-supervise---tinydns
@@ -127,25 +126,27 @@ This is from the second machine where I replaced <i>sysvinit</i> with
                               |-2*[supervise---vboxgetty]
                               |-supervise---clockspeed
                               |-supervise---squid---unlinkd
-                              `-supervise---dhclient-2.2.x
+                              |-supervise---dhclient-2.2.x
+                              |-2*[supervise---socklog]
+                              `-supervise---uncat
 </pre>
 This is from a more busy system:
 <pre>
   # strings /proc/1/exe |grep Id
   &#36;Id: runit.c,v 1.6 2002/01/29 18:56:36 pape Exp &#36;
   # uptime
-   19:46:24 up 99 days, 19:56,  3 users,  load average: 0.15, 0.12, 0.12
+   15:04:34 up 201 days, 15:34,  3 users,  load average: 0.08, 0.03, 0.01
   # ps axuw |head
   USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
   root         1  0.0  0.0    24    0 ?        SW   Feb07   0:05 runit
   root         2  0.0  0.0     0    0 ?        SW   Feb07   0:01 [keventd]
-  root         3  0.0  0.0     0    0 ?        SW   Feb07   1:10 [kapm-idled]
-  root         4  0.0  0.0     0    0 ?        SWN  Feb07   1:09 [ksoftirqd_CPU0]
-  root         5  0.0  0.0     0    0 ?        SW   Feb07  13:23 [kswapd]
-  root         6  0.0  0.0     0    0 ?        SW   Feb07   0:00 [bdflush]
-  root         7  0.0  0.0     0    0 ?        SW   Feb07  10:18 [kupdated]
+  root         3  0.0  0.0     0    0 ?        SW   Feb07   1:45 [kapm-idled]
+  root         4  0.0  0.0     0    0 ?        SWN  Feb07   1:21 [ksoftirqd_CPU0]
+  root         5  0.0  0.0     0    0 ?        SW   Feb07  31:40 [kswapd]
+  root         6  0.0  0.0     0    0 ?        SW   Feb07   0:06 [bdflush]
+  root         7  0.0  0.0     0    0 ?        SW   Feb07  14:26 [kupdated]
   root        53  0.0  0.0     0    0 ?        SW   Feb07   0:00 [msp3410 [auto]]
-  daemon     115  0.0  0.0  1412    8 ?        S    Feb07   0:00 /sbin/portmap
+  daemon     115  0.0  0.0  1412    0 ?        SW   Feb07   0:00 /sbin/portmap
 </pre>
 <hr>
 See <a href="install.html">How to install runit</a> for installing