slitaz-forge view mirror/info/index.php @ rev 714

Virtual machines have moved
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 01 10:43:39 2021 +0000 (2021-02-01)
parents d847e4ce49b9
children cfad9fa3f53c
line source
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <title>SliTaz Mirror</title>
6 <meta name="description" content="slitaz mirror server">
7 <meta name="robots" content="index, nofollow">
8 <meta name="author" content="SliTaz Contributors">
9 <meta name="viewport" content="width=device-width, initial-scale=1.0">
10 <link rel="shortcut icon" href="/static/favicon.ico">
11 <link rel="stylesheet" type="text/css" href="/static/slitaz.min.css">
12 </head>
13 <body>
14 <script>
15 document.documentElement.className += (("ontouchstart" in document.documentElement) ? ' touch' : ' no-touch');
16 </script>
18 <header>
19 <h1><a href="http://<?php
20 echo $_SERVER["HTTP_HOST"];
21 ?>">SliTaz <?php
22 $host = preg_replace('/(\w+).*/i','$1',$_SERVER["HTTP_HOST"]);
23 echo $host;
24 ?></a></h1>
25 <div class="network">
26 <a href="http://www.slitaz.org/" class="home"></a>
27 <a href="http://scn.slitaz.org/">Community</a>
28 <a href="http://doc.slitaz.org/">Doc</a>
29 <a href="http://forum.slitaz.org/">Forum</a>
30 <a href="http://bugs.slitaz.org/">Bugs</a>
31 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
32 <a href="http://cook.slitaz.org/">Cook</a>
33 </div>
34 </header>
37 <!-- Block begin -->
38 <div class="block"><div>
40 <!-- Top block begin -->
41 <div class="block_info">
42 <header>Codename: <?php echo $host; ?></header>
43 </p>
44 <p>This is the SliTaz GNU/Linux main mirror. The server runs naturally
45 SliTaz (stable) in a virtual machine provided by
46 <a href="https://www.linkedin.com/company/balinor-technologies/">balinor-technologies</a>.</p>
47 <p>Mirror CPU is a <?php
48 system("( sed '/cpuinfo=/!d;" .
49 "s/.*cpuinfo=\\([^ ]*\).*/: \\1/;s/_/ /g' /proc/cmdline ; grep '^model name' /etc/cpuinfo) | sed -e 's/.*Intel(R) //;" .
50 "s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //;q' |" .
51 " awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" .
52 "if (n == 4) printf \"quad \"; print s }' ")
53 ?> - <?php
54 system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ".
55 "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ".
56 "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")
57 ?> -
58 Located in France.
59 This page has real time statistics provided by PHP <code>system()</code>.
60 Mirror is also monitored by RRDtool which provides <a href="graphs.php">graphical stats</a>.</p>
61 <!-- Top block end -->
62 </div>
64 <!-- Nav block begin -->
65 <nav>
66 <header>Project servers</header>
67 <ul>
68 <li><a href="http://tank.slitaz.org/">Tank server</a></li>
69 <li><a href="http://pangolin.slitaz.org/">Pangolin server</a></li>
70 </ul>
71 <!-- Nav block end -->
72 </nav>
74 <!-- Block end -->
75 </div></div>
78 <!-- Content -->
79 <main>
82 <h2>System stats</h2>
85 <h3>Uptime</h3>
87 <pre class="hard"><?php
88 system("uptime | sed 's/^\s*//'");
89 ?></pre>
92 <h3>Disk usage</h3>
94 <pre class="hard"><?php
95 system("df -h | sed '/^rootfs/d' | grep '\(^/dev\|Filesystem\)'");
96 ?></pre>
99 <h3>Network</h3>
101 <pre class="hard"><?php
102 system("ifconfig eth0 | awk '{ if (/X packet/ || /X byte/) print }' | sed 's/^\s*//'");
103 ?></pre>
108 <?php if (isset($_GET["all"])) { ?>
110 <h3>Logins</h3>
112 <pre class="hard scroll"><?php
113 system("last");
114 ?></pre>
116 <h3>Processes</h3>
118 <pre class="hard scroll"><?php
119 system("top -n1 -b");
120 ?></pre>
122 <?php } ?>
127 <h2 id="vhosts">Virtual hosts</h2>
129 <!-- p><a href="http://mirror1.slitaz.org/awstats.pl?config=info.mirror.slitaz.org" target="_blank">stats</a></p -->
131 <table class="list">
132 <thead>
133 <tr>
134 <th>Host name</th>
135 <th>Description</th>
136 <th>Stats</th>
137 </tr>
138 </thead>
139 <tr>
140 <td class="server"><a href="http://mirror.slitaz.org/">mirror.slitaz.org</a></td>
141 <td>SliTaz Mirror</td>
142 <td><a href="http://mirror1.slitaz.org/stats" target="_blank">stats</a></td>
143 </tr>
144 <tr>
145 <td class="server"><a href="http://scn.slitaz.org/">scn.slitaz.org</a></td>
146 <td>SliTaz Community Network</td>
147 <td><a href="http://mirror1.slitaz.org/awstats.pl?config=scn.slitaz.org" target="_blank">stats</a></td>
148 </tr>
149 <tr>
150 <td class="server"><a href="http://pizza.slitaz.org/">pizza.slitaz.org</a></td>
151 <td>SliTaz Flavor builder</td>
152 <td><a href="http://mirror1.slitaz.org/awstats.pl?config=pizza.mirror.slitaz.org" target="_blank">stats</a></td>
153 </tr>
154 <tr>
155 <td class="server"><a href="https://ajaxterm.slitaz.org/">ajaxterm.slitaz.org</a></td>
156 <td>SliTaz Web Console</td>
157 <td><a href="http://mirror1.slitaz.org/awstats.pl?config=ajaxterm.slitaz.org" target="_blank">stats</a></td>
158 </tr>
159 </table>
162 <h2 id="replicas">Tank replicas</h2>
164 <!-- p><a href="http://mirror1.slitaz.org/awstats.pl?config=replicas.mirror.slitaz.org" target="_blank">stats</a></p -->
166 <table class="list">
167 <thead>
168 <tr>
169 <th>Host name</th>
170 <th>Description</th>
171 <th>Original</th>
172 </tr>
173 </thead>
174 <tr>
175 <td class="server"><a href="http://mirror1.slitaz.org/www/">www.slitaz.org</a></td>
176 <td>SliTaz Website</td>
177 <td><a href="http://www.slitaz.org/" target="_blank">main</a></td>
178 </tr>
179 <tr>
180 <td class="server"><a href="http://mirror1.slitaz.org/doc/">doc.slitaz.org</a></td>
181 <td>Documentation</td>
182 <td><a href="http://doc.slitaz.org/" target="_blank">main</a></td>
183 </tr>
184 <tr>
185 <td class="server"><a href="http://mirror1.slitaz.org/pkgs/">pkgs.slitaz.org</a></td>
186 <td>Packages Web interface</td>
187 <td><a href="http://pkgs.slitaz.org/" target="_blank">main</a></td>
188 </tr>
189 <tr>
190 <td class="server"><a href="http://mirror1.slitaz.org/hg/">hg.slitaz.org</a></td>
191 <td>Mercurial repositories (read only)</td>
192 <td><a href="http://hg.slitaz.org/" target="_blank">main</a>,
193 <a href="http://hg.tuxfamily.org/mercurialroot/slitaz/" target="_blank">tuxfamily</a>
194 </td>
195 </tr>
196 <tr>
197 <td class="server"><a href="http://mirror1.slitaz.org/webboot/">boot.slitaz.org</a></td>
198 <td>gPXE Web boot</td>
199 <td><a href="http://boot.slitaz.org/" target="_blank">main</a></td>
200 </tr>
201 </table>
204 <h2 id="mirrors">Mirrors</h2>
206 <p>Most mirrors are updated using the URL:
207 <code>rsync://mirror.slitaz.org/slitaz/</code>
208 (<a href="http://mirror1.slitaz.org/awstats.pl?config=rsync">stats</a>)</p>
210 <table class="list">
211 <thead>
212 <tr>
213 <th>Mirror name</th>
214 <th>Access URLs</th>
215 <th>Location</th>
216 </tr>
217 </thead>
218 <tr>
219 <td class="fr">slitaz.org mirror</td>
220 <td>
221 <a href="http://mirror.slitaz.org/">http</a>
222 </td>
223 <td><a href="http://en.utrace.de/?query=mirror.slitaz.org">map</a></td>
224 </tr>
225 <tr>
226 <td class="us">Georgia Tech Software Library (GTlib) mirror</td>
227 <td>
228 <a href="http://www.gtlib.gatech.edu/pub/slitaz/">http</a> ·
229 <a href="ftp://ftp.gtlib.gatech.edu/pub/slitaz/">ftp</a> ·
230 <a href="rsync://www.gtlib.gatech.edu/slitaz/">rsync</a>
231 </td>
232 <td><a href="http://en.utrace.de/?query=www.gtlib.gatech.edu">map</a></td>
233 </tr>
234 <tr>
235 <td class="fr" rowspan="3">TuxFamily mirror</td>
236 <td>
237 <a href="http://download.tuxfamily.org/slitaz/">http</a> ·
238 <a href="ftp://download.tuxfamily.org/slitaz/">ftp</a> ·
239 <a href="rsync://download.tuxfamily.org/pub/slitaz/">rsync</a>
240 </td>
241 <td><a href="http://en.utrace.de/?query=download.tuxfamily.org">map</a></td>
242 </tr>
243 <tr>
244 <!-- td class="fr">TuxFamily mirror</td -->
245 <td>
246 <a href="http://malibu.tuxfamily.net/slitaz/">http</a> ·
247 <a href="ftp://malibu.tuxfamily.net/slitaz/">ftp</a>
248 </td>
249 <td><a href="http://en.utrace.de/?query=malibu.tuxfamily.net">map</a></td>
250 </tr>
251 <tr>
252 <!-- td class="fr">TuxFamily mirror</td -->
253 <td>
254 <a href="http://absinthe.tuxfamily.net/slitaz/">http</a> ·
255 <a href="ftp://absinthe.tuxfamily.net/slitaz/">ftp</a>
256 </td>
257 <td><a href="http://en.utrace.de/?query=absinthe.tuxfamily.net">map</a></td>
258 </tr>
259 <tr>
260 <td class="br">Federal University of Paraná (UFPR) mirror</td>
261 <td>
262 <a href="http://slitaz.c3sl.ufpr.br/">http</a> ·
263 <a href="rsync://slitaz.c3sl.ufpr.br/slitaz/">rsync</a>
264 </td>
265 <td><a href="http://en.utrace.de/?query=slitaz.c3sl.ufpr.br">map</a></td>
266 </tr>
267 <tr>
268 <td class="us">University of North Carolina mirror</td>
269 <td>
270 <a href="http://distro.ibiblio.org/slitaz/">http</a> ·
271 <a href="ftp://distro.ibiblio.org/slitaz/">ftp</a>
272 </td>
273 <td><a href="http://en.utrace.de/?query=distro.ibiblio.org">map</a></td>
274 </tr>
275 <tr>
276 <td class="us">Clarkson University mirror</td>
277 <td>
278 <a href="http://mirror.clarkson.edu/slitaz/">http</a>
279 </td>
280 <td><a href="http://en.utrace.de/?query=mirror.clarkson.edu">map</a></td>
281 </tr>
282 <tr>
283 <td class="de">University of Stuttgart mirror</td>
284 <td>
285 <a href="http://ftp.uni-stuttgart.de/slitaz/">http</a> ·
286 <a href="ftp://ftp.uni-stuttgart.de/slitaz/">ftp</a>
287 </td>
288 <td><a href="http://en.utrace.de/?query=ftp.uni-stuttgart.de">map</a></td>
289 </tr>
290 <tr>
291 <td class="de">Technische Universität Darmstadt mirror</td>
292 <td>
293 <a href="ftp://fb04272.mathematik.tu-darmstadt.de/pub/linux/distributions/slitaz/">ftp</a> ·
294 <a href="ftp://linux.mathematik.tu-darmstadt.de/pub/linux/distributions/misc/slitaz/">ftp</a>
295 </td>
296 <td><a href="http://en.utrace.de/?query=linux.mathematik.tu-darmstadt.de">map</a></td>
297 </tr>
298 <tr>
299 <td class="pl">University of Warsaw mirror</td>
300 <td>
301 <a href="ftp://ftp.icm.edu.pl/vol/rzm5/linux-ibiblio/distributions/slitaz/">ftp</a>
302 </td>
303 <td><a href="http://en.utrace.de/?query=ftp.icm.edu.pl">map</a></td>
304 </tr>
305 <tr>
306 <td class="us">Princeton University mirror</td>
307 <td>
308 <a href="http://mirror.math.princeton.edu/pub/slitaz/">http</a>
309 </td>
310 <td><a href="http://en.utrace.de/?query=mirror.math.princeton.edu">map</a></td>
311 </tr>
312 <tr>
313 <td class="fr">Aurora FOSS mirror</td>
314 <td>
315 <a href="http://dl.aurorafoss.org/slitaz/">http</a>
316 </td>
317 <td><a href="http://en.utrace.de/?query=dl.aurorafoss.org">map</a></td>
318 </tr>
319 </table>
320 <!--
321 Old mirrors:
322 http://www.linuxembarque.com/slitaz/mirror/ (fr)
323 http://mirror.lupaworld.com/slitaz/ (cn)
324 http://mirror.drustvo-dns.si/slitaz/ (si)
325 ftp://ftp.pina.si/slitaz/ (si)
326 http://ftp.nedit.org/ftp/ftp/pub/os/Linux/distr/slitaz/ (nl)
327 http://ftp.ch.xemacs.org/ftp/pool/2/mirror/slitaz/ (ch)
328 ftp://ftp.ch.xemacs.org/pool/2/mirror/slitaz/ (ch)
329 http://mirror.switch.ch/ftp/mirror/slitaz/ (ch)
330 ftp://mirror.switch.ch/mirror/slitaz/ (ch)
331 ftp://slitaz.c3sl.ufpr.br/slitaz/ (br)
332 ftp://opensuse.c3sl.ufpr.br/slitaz/ (br)
333 ftp://ftp.br.debian.org/slitaz/ (br)
334 http://slitaz.mirror.garr.it/mirrors/slitaz/ (it)
335 ftp://slitaz.mirror.garr.it/mirrors/slitaz/ (it)
336 rsync://slitaz.mirror.garr.it/mirrors/slitaz/ (it)
337 ftp://ftp.rz.uni-kiel.de/pub2/linux/slitaz/ (de)
338 http://f.archlinuxvn.org/slitaz/ (vi)
340 Outdated mirror:
341 http://ftp.vim.org/ftp/os/Linux/distr/slitaz/ (2012)
342 -->
345 <h2 id="builds">Weekly builds</h2>
347 <?php
348 function display_log($file,$anchor,$url)
349 {
350 echo "<p><a name=\"$anchor\" href=\"$url\">";
351 system("stat -c '%y %n' ".$file." | sed -e 's/.000000000//' -e 's|/var/log/\(.*\).log|\\1.iso|'");
352 echo "</a></p>";
353 echo "<pre class=\"hard\">";
354 system("cat ".$file." | sed -e 's/.\[[0-9][^mG]*.//g' | awk '".
355 '{ if (/\[/) { n=index($0,"["); printf("%s%s%s\n",substr($0,1,n-1),'.
356 'substr("\t\t\t\t\t\t\t",1,9-(n/8)),substr($0,n)); } else print }'."'");
357 echo "</pre>";
358 }
360 display_log("/var/log/packages-stable.log", "buildstable", "/iso/stable/packages-4.0.iso");
361 display_log("/var/log/packages-cooking.log","buildcooking","/iso/cooking/packages-cooking.iso");
362 ?>
364 <p>Last update : <?php echo date('r'); ?></p>
365 <!-- End of content -->
366 </main>
368 <script>
369 function QRCodePNG(str, obj) {
370 try {
371 obj.height = obj.width += 300;
372 return QRCode.generatePNG(str, {ecclevel: 'H'});
373 }
374 catch (any) {
375 var element = document.createElement("script");
376 element.src = "/static/qrcode.min.js";
377 element.type = "text/javascript";
378 element.onload = function() {
379 obj.src = QRCode.generatePNG(str, {ecclevel: 'H'});
380 };
381 document.body.appendChild(element);
382 }
383 }
384 </script>
386 <footer>
387 <div>
388 Copyright © <?php echo date('Y'); ?>
389 <a href="http://www.slitaz.org/">SliTaz</a>
390 </div>
391 <div>
392 Network:
393 <a href="http://scn.slitaz.org/">Community</a> ·
394 <a href="http://doc.slitaz.org/">Doc</a> ·
395 <a href="http://forum.slitaz.org/">Forum</a> ·
396 <a href="http://pkgs.slitaz.org/">Packages</a> ·
397 <a href="http://bugs.slitaz.org">Bugs</a> ·
398 <a href="http://hg.slitaz.org/?sort=lastchange">Hg</a>
399 </div>
400 <div>
401 SliTaz @
402 <a href="http://twitter.com/slitaz">Twitter</a> ·
403 <a href="http://www.facebook.com/slitaz">Facebook</a> ·
404 <a href="http://distrowatch.com/slitaz">Distrowatch</a> ·
405 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> ·
406 <a href="http://flattr.com/profile/slitaz">Flattr</a>
407 </div>
408 <img src="/static/qr.png" alt="#" onmouseover="this.title = location.href"
409 onclick="this.src = QRCodePNG(location.href, this)"/>
410 </footer>
412 </body>
413 </html>