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

Build Bot is http://cook.slitaz.org/ now
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 08 22:35:57 2011 +0200 (2011-10-08)
parents 642b77c71c04
children c4d5214a372b
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://bugs.slitaz.org">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://cook.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 <?php system("sed -e '/^model name/!d;s/.*Intel(R) //;" .
55 "s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //' </proc/cpuinfo |" .
56 " awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" .
57 "if (n == 4) printf \"quad \"; print s }' ")?> -
58 <?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ".
59 "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ".
60 "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> - Located next to Lausanne,
61 Switzerland. Tank is also monitored by RRDtool which provides
62 <a href="graphs.php">graphical stats</a>.
63 </p>
64 </div>
65 </div>
67 <!-- Content -->
68 <div id="content">
70 <h2><a href="graphs.php"><img
71 style="vertical-align: middle; padding: 0 4px 0 0;"
72 title="Tank RRDtool graphs" alt="graphs"
73 src="images/monitor.png" /></a>System stats</h2>
75 <h4>Uptime</h4>
77 <pre class="package">
78 <?php
79 system("uptime | sed 's/^\s*//'");
80 ?>
81 </pre>
83 <h4>Disk usage</h4>
84 <pre class="package">
85 <?php
86 system("df -h | sed '/^rootfs/d' | grep '\(^/dev\|Filesystem\)'");
87 ?>
88 </pre>
90 <h4>Network</h4>
91 <pre class="package">
92 <?php
93 system("ifconfig eth0 | awk '{ if (/X packet/ || /X byte/) print }' | sed 's/^\s*//'");
94 ?>
95 </pre>
97 <h2><a href="/stats/awstats.pl?config=www.slitaz.org"><img
98 style="vertical-align: middle; padding: 0 4px 0 0;"
99 title="Tank Virtual hosts" alt="vhosts"
100 src="images/network.png" /></a>Virtual hosts</h2>
102 <ul>
103 <li><a href="http://www.slitaz.org/">www.slitaz.org</a> - SliTaz Website.
104 (<a href="/stats/awstats.pl?config=www.slitaz.org">stats</a>)</li>
105 <li><a href="http://doc.slitaz.org/">doc.slitaz.org</a> - Documentation platform.
106 (<a href="/stats/awstats.pl?config=doc.slitaz.org">stats</a>)</li>
107 <li><a href="http://pkgs.slitaz.org/">pkgs.slitaz.org</a> - Packages Web interface.
108 (<a href="/stats/awstats.pl?config=pkgs.slitaz.org">stats</a>)</li>
109 <li><a href="http://boot.slitaz.org/">boot.slitaz.org</a> - gPXE Web boot.
110 (<a href="/stats/awstats.pl?config=boot.slitaz.org">stats</a>)</li>
111 <li><a href="http://hg.slitaz.org/">hg.slitaz.org</a> - Mercurial repositories.
112 (<a href="/stats/awstats.pl?config=hg.slitaz.org">stats</a>)</li>
113 <li><a href="http://cook.slitaz.org/">cook.slitaz.org</a> - SliTaz Build Bot.
114 (<a href="/stats/awstats.pl?config=cook.slitaz.org">stats</a>)</li>
115 <li><a href="http://people.slitaz.org/">people.slitaz.org</a> - SliTaz People stuff.
116 (<a href="/stats/awstats.pl?config=people.slitaz.org">stats</a>)</li>
117 <li><a href="http://pro.slitaz.org/">pro.slitaz.org</a> - SliTaz Professional services.</li>
118 </ul>
120 <h2><img
121 style="vertical-align: middle; padding: 0 4px 0 0;"
122 title="Erjo Virtual hosts" alt="vhosts"
123 src="images/network.png" />Other hosts</h2>
125 <p>
126 These services are hosted by some individual sponsors who gracefully offer
127 resources to the SliTaz project.
128 </p>
129 <ul>
130 <li><a href="http://forum.slitaz.org/">forum.slitaz.org</a> - SliTaz support forum.</li>
131 <li><a href="http://labs.slitaz.org/">labs.slitaz.org</a> - SliTaz Laboratories.</li>
132 <li><a href="http://mirror.slitaz.org/">mirror.slitaz.org</a> - SliTaz main mirror and replicas.
133 (<a href="http://mirror.slitaz.org/info/">more...</a>)</li>
134 <li><a href="http://scn.slitaz.org/">scn.slitaz.org</a> - Community platform.</li>
135 <li><a href="http://pizza.slitaz.org/">pizza.slitaz.org</a> - SliTaz flavor builder.</li>
136 </ul>
138 <h2><a href="http://mirror.slitaz.org/info/"> <img
139 style="vertical-align: middle; padding: 0 4px 0 0;"
140 src="images/network.png"
141 title="Secondary mirrors" alt="mirrors" /></a>Mirrors</h2>
142 <p>
143 These mirrors are updated using the url <b>rsync://mirror.slitaz.org/slitaz/</b>
144 (<a href="http://mirror.slitaz.org/awstats.pl?config=rsync">stats</a>)
145 </p>
146 <ul>
147 <li><a href="http://mirror.switch.ch/ftp/mirror/slitaz/">
148 http://mirror.switch.ch/ftp/mirror/slitaz/</a> or
149 <a href="ftp://mirror.switch.ch/mirror/slitaz/">
150 ftp://mirror.switch.ch/mirror/slitaz/</a></li>
151 <li><a href="http://download.tuxfamily.org/slitaz/">
152 http://download.tuxfamily.org/slitaz/</a></li>
153 <li><a href="http://www.linuxembarque.com/slitaz/mirror/">
154 http://www.linuxembarque.com/slitaz/mirror/</a></li>
155 <li><a href="http://mirror.lupaworld.com/slitaz/">
156 http://mirror.lupaworld.com/slitaz/</a></li>
157 <li><a href="http://slitaz.c3sl.ufpr.br/">
158 http://slitaz.c3sl.ufpr.br/</a> or
159 <a href="ftp://slitaz.c3sl.ufpr.br/slitaz/">
160 ftp://slitaz.c3sl.ufpr.br/slitaz/</a></li>
161 <li><a href="http://slitaz.mirror.garr.it/mirrors/slitaz/">
162 http://slitaz.mirror.garr.it/mirrors/slitaz/</a></li>
163 <li><a href="http://www.gtlib.gatech.edu/pub/slitaz/">
164 http://www.gtlib.gatech.edu/pub/slitaz/</a> or
165 <a href="ftp://ftp.gtlib.gatech.edu/pub/slitaz/">
166 ftp://ftp.gtlib.gatech.edu/pub/slitaz/</a></li>
167 <li><a href="ftp://ftp.pina.si/slitaz/">
168 ftp://ftp.pina.si/slitaz/</a></li>
169 </ul>
171 <!-- End of content -->
172 </div>
174 <!-- Footer -->
175 <div id="footer">
176 Copyright &copy; <span class="year"></span>
177 <a href="http://www.slitaz.org/">SliTaz</a> - Network:
178 <a href="http://scn.slitaz.org/">Community</a>
179 <a href="http://doc.slitaz.org/">Doc</a>
180 <a href="http://forum.slitaz.org/">Forum</a>
181 <a href="http://pkgs.slitaz.org/">Packages</a>
182 <a href="http://bugs.slitaz.org">Bugs</a>
183 <a href="http://hg.slitaz.org/">Hg</a>
184 <p>
185 SliTaz @
186 <a href="http://twitter.com/slitaz">Twitter</a>
187 <a href="http://www.facebook.com/slitaz">Facebook</a>
188 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
189 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
190 <a href="http://flattr.com/profile/slitaz">Flattr</a>
191 </p>
192 </div>
194 </body>
195 </html>