slitaz-forge view tank/web/index.php @ rev 43

taztank: add up-www from tazdev and short option for commands
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 30 23:07:16 2011 +0200 (2011-03-30)
parents b8119a69e3ba
children 30a72bea782e
line source
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <title>SliTaz Tank</title>
6 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
7 <meta name="description" content="slitaz tank server" />
8 <meta name="robots" content="index, nofollow" />
9 <meta name="author" content="SliTaz Contributors" />
10 <link rel="shortcut icon" href="favicon.ico" />
11 <link rel="stylesheet" type="text/css" href="slitaz.css" />
12 </head>
13 <body>
15 <!-- Header -->
16 <div id="header">
17 <div id="logo"></div>
18 <div id="network">
19 <a href="http://www.slitaz.org/">
20 <img src="images/network.png" alt="network.png" /></a>
21 <a href="http://scn.slitaz.org/">Community</a>
22 <a href="http://doc.slitaz.org/">Doc</a>
23 <a href="http://forum.slitaz.org/">Forum</a>
24 <a href="http://labs.slitaz.org/issues">Bugs</a>
25 <a href="http://hg.slitaz.org/">Hg</a>
26 </div>
27 <h1><a href="http://www.slitaz.org/">SliTaz Tank</a></h1>
28 </div>
30 <!-- Block -->
31 <div id="block">
32 <!-- Navigation -->
33 <div id="block_nav">
34 <h4><img src="images/development.png" alt="development.png" />Developers Corner</h4>
35 <ul>
36 <li><a href="http://www.slitaz.org/en/devel/">Website devel</a></li>
37 <li><a href="http://scn.slitaz.org/">Community</a></li>
38 <li><a href="http://labs.slitaz.org/">Laboratories</a></li>
39 <li><a href="http://hg.slitaz.org/">Mercurial Repos</a></li>
40 <li><a href="http://bb.slitaz.org/">Build Bot</a></li>
41 <li><a href="http://tank.slitaz.org/">Tank Server</a></li>
42 </ul>
43 </div>
44 <!-- Information/image -->
45 <div id="block_info">
46 <h4>Codename: tank</h4>
47 <p>
48 This is the SliTaz GNU/Linux main server and build host.
49 The server runs naturally SliTaz and provides some services
50 to all contributors such as: secure access, disk space, a
51 public directory or cron jobs.
52 </p>
53 <p>
54 Tank CPU is a AMD Dual Core 2 GHz - 2GB RAM - Located next to Lausanne,
55 Switzerland. Tank is also monitored by RRDtool which provides
56 <a href="graphs.php">graphical stats</a>.
57 </p>
58 </div>
59 </div>
61 <!-- Content -->
62 <div id="content">
64 <h2><a href="graphs.php"><img
65 style="vertical-align: middle; padding: 0 4px 0 0;"
66 title="Tank RRDtool graphs" alt="graphs"
67 src="images/monitor.png" /></a>System stats</h2>
69 <h4>Uptime</h4>
71 <pre class="package">
72 <?php
73 system("uptime | sed 's/^\s*//'");
74 ?>
75 </pre>
77 <h4>Disk usage</h4>
78 <pre class="package">
79 <?php
80 system("df -h | sed '/^rootfs/d' | grep '\(^/dev\|Filesystem\)'");
81 ?>
82 </pre>
84 <h4>Network</h4>
85 <pre class="package">
86 <?php
87 system("ifconfig eth0 | awk '{ if (/X packet/ || /X byte/) print }' | sed 's/^\s*//'");
88 ?>
89 </pre>
91 <h2><a href="/stats/awstats.pl?config=www.slitaz.org"><img
92 style="vertical-align: middle; padding: 0 4px 0 0;"
93 title="Tank Virtual hosts" alt="vhosts"
94 src="images/network.png" /></a>Virtual hosts</h2>
96 <ul>
97 <li><a href="http://www.slitaz.org/">www.slitaz.org</a> - SliTaz Website.
98 (<a href="/stats/awstats.pl?config=www.slitaz.org">stats</a>)</li>
99 <li><a href="http://doc.slitaz.org/">doc.slitaz.org</a> - Documentation platform.</li>
100 <li><a href="http://pkgs.slitaz.org/">pkgs.slitaz.org</a> - Packages Web interface.</li>
101 <li><a href="http://boot.slitaz.org/">boot.slitaz.org</a> - gPXE Web boot.</li>
102 <li><a href="http://hg.slitaz.org/">hg.slitaz.org</a> - Mercurial repositories.</li>
103 <li><a href="http://bb.slitaz.org/">bb.slitaz.org</a> - SliTaz Build Bot.</li>
104 <li><a href="http://people.slitaz.org/">people.slitaz.org</a> - SliTaz People stuff.</li>
105 <li><a href="http://pro.slitaz.org/">pro.slitaz.org</a> - SliTaz Professional services.</li>
106 </ul>
108 <h2><img
109 style="vertical-align: middle; padding: 0 4px 0 0;"
110 title="Erjo Virtual hosts" alt="vhosts"
111 src="images/network.png" />Other hosts</h2>
113 <p>
114 These services are hosted by some individual sponsors who gracefully offer
115 resources to the SliTaz project.
116 </p>
117 <ul>
118 <li><a href="http://forum.slitaz.org/">forum.slitaz.org</a> - SliTaz support forum.</li>
119 <li><a href="http://labs.slitaz.org/">labs.slitaz.org</a> - SliTaz Laboratories.</li>
120 <li><a href="http://mirror.slitaz.org/">mirror.slitaz.org</a> - SliTaz main mirror and replicas.
121 (<a href="http://mirror.slitaz.org/info/">more...</a>)</li>
122 <li><a href="http://scn.slitaz.org/">scn.slitaz.org</a> - Community platform.</li>
123 <li><a href="http://pizza.slitaz.org/">pizza.slitaz.org</a> - SliTaz flavor builder.</li>
124 </ul>
126 <h2><a href="http://mirror.slitaz.org/info/"> <img
127 style="vertical-align: middle; padding: 0 4px 0 0;"
128 src="images/network.png"
129 title="Secondary mirrors" alt="mirrors" /></a>Mirrors</h2>
130 <p>
131 These mirrors are updated using the url <b>rsync://mirror.slitaz.org/slitaz/</b>
132 (<a href="http://mirror.slitaz.org/awstats.pl?config=rsync">stats</a>)
133 </p>
134 <ul>
135 <li><a href="http://mirror.switch.ch/ftp/mirror/slitaz/">
136 http://mirror.switch.ch/ftp/mirror/slitaz/</a> or
137 <a href="ftp://mirror.switch.ch/mirror/slitaz/">
138 ftp://mirror.switch.ch/mirror/slitaz/</a></li>
139 <li><a href="http://download.tuxfamily.org/slitaz/">
140 http://download.tuxfamily.org/slitaz/</a></li>
141 <li><a href="http://www.linuxembarque.com/slitaz/mirror/">
142 http://www.linuxembarque.com/slitaz/mirror/</a></li>
143 <li><a href="http://mirror.lupaworld.com/slitaz/">
144 http://mirror.lupaworld.com/slitaz/</a></li>
145 <li><a href="http://slitaz.c3sl.ufpr.br/">
146 http://slitaz.c3sl.ufpr.br/</a> or
147 <a href="ftp://slitaz.c3sl.ufpr.br/slitaz/">
148 ftp://slitaz.c3sl.ufpr.br/slitaz/</a></li>
149 <li><a href="http://slitaz.mirror.garr.it/mirrors/slitaz/">
150 http://slitaz.mirror.garr.it/mirrors/slitaz/</a></li>
151 <li><a href="http://www.gtlib.gatech.edu/pub/slitaz/">
152 http://www.gtlib.gatech.edu/pub/slitaz/</a> or
153 <a href="ftp://ftp.gtlib.gatech.edu/pub/slitaz/">
154 ftp://ftp.gtlib.gatech.edu/pub/slitaz/</a></li>
155 <li><a href="ftp://ftp.pina.si/slitaz/">
156 ftp://ftp.pina.si/slitaz/</a></li>
157 </ul>
159 <!-- End of content -->
160 </div>
162 <!-- Footer -->
163 <div id="footer">
164 Copyright &copy; <span class="year"></span>
165 <a href="http://www.slitaz.org/">SliTaz</a> - Network:
166 <a href="http://scn.slitaz.org/">Community</a>
167 <a href="http://doc.slitaz.org/">Doc</a>
168 <a href="http://forum.slitaz.org/">Forum</a>
169 <a href="http://pkgs.slitaz.org/">Packages</a>
170 <a href="http://labs.slitaz.org/issues">Bugs</a>
171 <a href="http://hg.slitaz.org/">Hg</a>
172 <p>
173 SliTaz @
174 <a href="http://twitter.com/slitaz">Twitter</a>
175 <a href="http://www.facebook.com/slitaz">Facebook</a>
176 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
177 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
178 <a href="http://flattr.com/profile/slitaz">Flattr</a>
179 </p>
180 </div>
182 </body>
183 </html>