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

tank: update cron file
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 14 14:03:10 2012 +0100 (2012-03-14)
parents c4d5214a372b
children d8d10204275f
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://cook.slitaz.org/">Bb</a>
26 <a href="http://hg.slitaz.org/">Hg</a>
27 </div>
28 <h1><a href="http://www.slitaz.org/">SliTaz Tank</a></h1>
29 </div>
31 <!-- Block -->
32 <div id="block">
33 <!-- Navigation -->
34 <div id="block_nav">
35 <h4>Project servers</h4>
36 <ul>
37 <li><a href="http://chub.slitaz.org/">Chub server</a></li>
38 <li><a href="http://mirror.slitaz.org/">Mirror server</a></li>
39 </ul>
40 </div>
41 <!-- Information/image -->
42 <div id="block_info">
43 <h4>Codename: tank</h4>
44 <p>
45 This is the SliTaz GNU/Linux main server and build host.
46 The server runs naturally SliTaz and provides some services
47 to all contributors such as: secure access, disk space, a
48 public directory or cron jobs.
49 </p>
50 <p>
51 Tank CPU is a <?php system("sed -e '/^model name/!d;s/.*Intel(R) //;" .
52 "s/@//;s/(.*)//;s/CPU //;s/.*AMD //;s/.*: //;s/Processor //' </proc/cpuinfo |" .
53 " awk '{ s=$0; n++ } END { if (n == 2) printf \"dual \";" .
54 "if (n == 4) printf \"quad \"; print s }' ")?> -
55 <?php system("free | awk '/Mem:/ { x=2*$2-1; while (x >= 1024) { x /= 1024; ".
56 "n++ }; y=1; while (x > 2) { x /= 2; y *= 2}; ".
57 "printf \"%d%cB RAM\",y,substr(\"MG\",n,1) }' ")?> - Located next to Lausanne,
58 Switzerland. Tank is also monitored by RRDtool which provides
59 <a href="graphs.php">graphical stats</a>.
60 </p>
61 </div>
62 </div>
64 <!-- Content -->
65 <div id="content">
67 <h2><a href="graphs.php"><img
68 style="vertical-align: middle; padding: 0 4px 0 0;"
69 title="Tank RRDtool graphs" alt="graphs"
70 src="images/monitor.png" /></a>System stats</h2>
72 <h4>Uptime</h4>
74 <pre class="package">
75 <?php
76 system("uptime | sed 's/^\s*//'");
77 ?>
78 </pre>
80 <h4>Disk usage</h4>
81 <pre class="package">
82 <?php
83 system("df -h | sed '/^rootfs/d' | grep '\(^/dev\|Filesystem\)'");
84 ?>
85 </pre>
87 <h4>Network</h4>
88 <pre class="package">
89 <?php
90 system("ifconfig eth0 | awk '{ if (/X packet/ || /X byte/) print }' | sed 's/^\s*//'");
91 ?>
92 </pre>
94 <h2><a href="/stats/awstats.pl?config=www.slitaz.org"><img
95 style="vertical-align: middle; padding: 0 4px 0 0;"
96 title="Tank Virtual hosts" alt="vhosts"
97 src="images/network.png" /></a>Virtual hosts</h2>
99 <ul>
100 <!-- <li><a href="http://www.slitaz.org/">www.slitaz.org</a> - SliTaz Website.
101 (<a href="/stats/awstats.pl?config=www.slitaz.org">stats</a>)</li>
102 <li><a href="http://doc.slitaz.org/">doc.slitaz.org</a> - Documentation platform.
103 (<a href="/stats/awstats.pl?config=doc.slitaz.org">stats</a>)</li>
104 <li><a href="http://pkgs.slitaz.org/">pkgs.slitaz.org</a> - Packages Web interface.
105 (<a href="/stats/awstats.pl?config=pkgs.slitaz.org">stats</a>)</li> -->
106 <li><a href="http://boot.slitaz.org/">boot.slitaz.org</a> - gPXE Web boot.
107 (<a href="/stats/awstats.pl?config=boot.slitaz.org">stats</a>)</li>
108 <!-- <li><a href="http://hg.slitaz.org/">hg.slitaz.org</a> - Mercurial repositories.
109 (<a href="/stats/awstats.pl?config=hg.slitaz.org">stats</a>)</li> -->
110 <li><a href="http://cook.slitaz.org/">cook.slitaz.org</a> - SliTaz Build Bot.
111 (<a href="/stats/awstats.pl?config=cook.slitaz.org">stats</a>)</li>
112 <li><a href="http://people.slitaz.org/">people.slitaz.org</a> - SliTaz People stuff.
113 (<a href="/stats/awstats.pl?config=people.slitaz.org">stats</a>)</li>
114 <li><a href="http://pro.slitaz.org/">pro.slitaz.org</a> - SliTaz Professional services.</li>
115 </ul>
117 <h2><img
118 style="vertical-align: middle; padding: 0 4px 0 0;"
119 title="Erjo Virtual hosts" alt="vhosts"
120 src="images/network.png" />Other hosts</h2>
122 <p>
123 These services are hosted by some individual sponsors who gracefully offer
124 resources to the SliTaz project.
125 </p>
126 <ul>
127 <li><a href="http://forum.slitaz.org/">forum.slitaz.org</a> - SliTaz support forum.</li>
128 <li><a href="http://labs.slitaz.org/">labs.slitaz.org</a> - SliTaz Laboratories.</li>
129 <li><a href="http://mirror.slitaz.org/">mirror.slitaz.org</a> - SliTaz main mirror and replicas.
130 (<a href="http://mirror.slitaz.org/info/">more...</a>)</li>
131 <li><a href="http://scn.slitaz.org/">scn.slitaz.org</a> - Community platform.</li>
132 <li><a href="http://pizza.slitaz.org/">pizza.slitaz.org</a> - SliTaz flavor builder.</li>
133 </ul>
135 <h2><a href="http://mirror.slitaz.org/info/"> <img
136 style="vertical-align: middle; padding: 0 4px 0 0;"
137 src="images/network.png"
138 title="Secondary mirrors" alt="mirrors" /></a>Mirrors</h2>
139 <p>
140 These mirrors are updated using the url <b>rsync://mirror.slitaz.org/slitaz/</b>
141 (<a href="http://mirror.slitaz.org/awstats.pl?config=rsync">stats</a>)
142 </p>
143 <ul>
144 <li><a href="http://mirror.switch.ch/ftp/mirror/slitaz/">
145 http://mirror.switch.ch/ftp/mirror/slitaz/</a> or
146 <a href="ftp://mirror.switch.ch/mirror/slitaz/">
147 ftp://mirror.switch.ch/mirror/slitaz/</a></li>
148 <li><a href="http://download.tuxfamily.org/slitaz/">
149 http://download.tuxfamily.org/slitaz/</a></li>
150 <li><a href="http://www.linuxembarque.com/slitaz/mirror/">
151 http://www.linuxembarque.com/slitaz/mirror/</a></li>
152 <li><a href="http://mirror.lupaworld.com/slitaz/">
153 http://mirror.lupaworld.com/slitaz/</a></li>
154 <li><a href="http://slitaz.c3sl.ufpr.br/">
155 http://slitaz.c3sl.ufpr.br/</a> or
156 <a href="ftp://slitaz.c3sl.ufpr.br/slitaz/">
157 ftp://slitaz.c3sl.ufpr.br/slitaz/</a></li>
158 <li><a href="http://slitaz.mirror.garr.it/mirrors/slitaz/">
159 http://slitaz.mirror.garr.it/mirrors/slitaz/</a></li>
160 <li><a href="http://www.gtlib.gatech.edu/pub/slitaz/">
161 http://www.gtlib.gatech.edu/pub/slitaz/</a> or
162 <a href="ftp://ftp.gtlib.gatech.edu/pub/slitaz/">
163 ftp://ftp.gtlib.gatech.edu/pub/slitaz/</a></li>
164 <li><a href="ftp://ftp.pina.si/slitaz/">
165 ftp://ftp.pina.si/slitaz/</a></li>
166 </ul>
168 <!-- End of content -->
169 </div>
171 <!-- Footer -->
172 <div id="footer">
173 Copyright &copy; <span class="year"></span>
174 <a href="http://www.slitaz.org/">SliTaz</a> - Network:
175 <a href="http://scn.slitaz.org/">Community</a>
176 <a href="http://doc.slitaz.org/">Doc</a>
177 <a href="http://forum.slitaz.org/">Forum</a>
178 <a href="http://pkgs.slitaz.org/">Packages</a>
179 <a href="http://bugs.slitaz.org">Bugs</a>
180 <a href="http://hg.slitaz.org/">Hg</a>
181 <p>
182 SliTaz @
183 <a href="http://twitter.com/slitaz">Twitter</a>
184 <a href="http://www.facebook.com/slitaz">Facebook</a>
185 <a href="http://distrowatch.com/slitaz">Distrowatch</a>
186 <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a>
187 <a href="http://flattr.com/profile/slitaz">Flattr</a>
188 </p>
189 </div>
191 </body>
192 </html>