<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-status/cgi-bin, branch master</title>
<subtitle>Simple Linux server monitoring</subtitle>
<id>http://git.tensin.name/linux-status/atom?h=master</id>
<link rel='self' href='http://git.tensin.name/linux-status/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/'/>
<updated>2021-03-03T20:25:52Z</updated>
<entry>
<title>no more CGI</title>
<updated>2021-03-03T20:25:52Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-03-03T20:25:52Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=c0068e035ca825579e8d41f60d3864eeb6df0c88'/>
<id>urn:sha1:c0068e035ca825579e8d41f60d3864eeb6df0c88</id>
<content type='text'>
The server.py script now launches a web server and handles all the
requests internally, without delegating anything to external scripts.
</content>
</entry>
<entry>
<title>merge {reboot,poweroff}.sh into get.py</title>
<updated>2021-03-03T20:16:36Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-03-03T20:16:36Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=923e2fce6df64b6fd2e203027f2cf216108cb24d'/>
<id>urn:sha1:923e2fce6df64b6fd2e203027f2cf216108cb24d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add server.py</title>
<updated>2021-03-03T20:09:11Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-03-03T20:09:11Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=69580ef09cfb0f41fa50d3252f4a83cfb7f153b5'/>
<id>urn:sha1:69580ef09cfb0f41fa50d3252f4a83cfb7f153b5</id>
<content type='text'>
It runs a web server and imports the request handling classes from
get.py directly, hence eliminating the performance culprit (which was
the `import` processing for each request).
</content>
</entry>
<entry>
<title>get.py: refactoring</title>
<updated>2021-03-03T18:32:52Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-03-03T18:32:52Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=ff1de38887bc67dc9c43ee870bf94c4362814853'/>
<id>urn:sha1:ff1de38887bc67dc9c43ee870bf94c4362814853</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "get.py: don't import cgi"</title>
<updated>2021-03-03T11:44:47Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-03-03T11:44:47Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=3e57f806fb240db38d1aa392b283db47d538b924'/>
<id>urn:sha1:3e57f806fb240db38d1aa392b283db47d538b924</id>
<content type='text'>
This reverts commit 2eaa4fc9ab517b0ef0c21272766551ab3191c5ea.

On second thought, I have a plan on how to deal with the performance
issue.
</content>
</entry>
<entry>
<title>get.py: don't import cgi</title>
<updated>2021-03-01T13:08:07Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-03-01T13:08:07Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=2eaa4fc9ab517b0ef0c21272766551ab3191c5ea'/>
<id>urn:sha1:2eaa4fc9ab517b0ef0c21272766551ab3191c5ea</id>
<content type='text'>
I only use it for FieldsStorage, and it can be trivially replaced with
urllib.parse while being really bad for performance.
</content>
</entry>
<entry>
<title>get.py: don't import cgitb</title>
<updated>2021-02-28T14:31:57Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-02-28T14:31:57Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=5aa0a4503111b6789a0593552c4a8b7a008c562d'/>
<id>urn:sha1:5aa0a4503111b6789a0593552c4a8b7a008c562d</id>
<content type='text'>
It's terrible for performance.
</content>
</entry>
<entry>
<title>get.py: add licensing notes</title>
<updated>2021-02-28T14:29:53Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-02-28T14:29:53Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=68e89665a0f567fabb953f8ad3e94ca645742d8f'/>
<id>urn:sha1:68e89665a0f567fabb953f8ad3e94ca645742d8f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>get.py: run commands in parallel + refactoring</title>
<updated>2021-02-28T14:26:38Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-02-28T14:26:38Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=f6065467f6cd85b862b79360ee4797e758ab977f'/>
<id>urn:sha1:f6065467f6cd85b862b79360ee4797e758ab977f</id>
<content type='text'>
I _thought_ that executing many `systemctl` calls was the performance
culprit, but it's not.
</content>
</entry>
<entry>
<title>Python server can now be run as root</title>
<updated>2021-02-27T13:00:11Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2021-02-27T13:00:11Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/linux-status/commit/?id=9257e15f5ec6d8029bd98361f23535aa333850b8'/>
<id>urn:sha1:9257e15f5ec6d8029bd98361f23535aa333850b8</id>
<content type='text'>
If run as root, the server queries all the users.
</content>
</entry>
</feed>
