<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/phpsysinfo/patches/" rel="alternate"/><link href="https://sourceforge.net/p/phpsysinfo/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/phpsysinfo/patches/</id><updated>2016-02-07T18:34:54.973000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>Forum moved to Github</title><link href="https://sourceforge.net/p/phpsysinfo/patches/132/" rel="alternate"/><published>2016-02-07T18:34:54.973000Z</published><updated>2016-02-07T18:34:54.973000Z</updated><author><name>Mieczysław Nalewaj</name><uri>https://sourceforge.net/u/namiltd/</uri></author><id>https://sourceforge.net9dc1279f12550ddfc7ef437eacfb71dd4cf39df3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://github.com/phpsysinfo/phpsysinfo/issues" rel="nofollow"&gt;https://github.com/phpsysinfo/phpsysinfo/issues&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#131 PSStatus allow wildcard on process names</title><link href="https://sourceforge.net/p/phpsysinfo/patches/131/?limit=25#359a" rel="alternate"/><published>2013-10-29T07:08:40.198000Z</published><updated>2013-10-29T07:08:40.198000Z</updated><author><name>Mieczysław Nalewaj</name><uri>https://sourceforge.net/u/namiltd/</uri></author><id>https://sourceforge.netb2e46704b060200705263aefd651ac858861c880</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Download pre 3.1.8 version from &lt;a href="https://github.com/rk4an/phpsysinfo" rel="nofollow"&gt;https://github.com/rk4an/phpsysinfo&lt;/a&gt; and test USE_REGEX option.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PSStatus allow wildcard on process names</title><link href="https://sourceforge.net/p/phpsysinfo/patches/131/" rel="alternate"/><published>2012-08-19T11:57:10Z</published><updated>2012-08-19T11:57:10Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.neta084953e0d6d6fd3106c8754e64fa779110310ed</id><summary type="html">I needed to have the possibility of wildcard process names and changed the command for the plugin from "pidof" to "pgrep" with the appropriate arguments and a " | tail -1 " to get just 1 result as before.

Code change in /phpsysinfo/plugins/PSStatus/class.PSStatus.inc.php :

Line 67  \( function \_\_construct switch case command \)
\*\*\*\*
ORIGINAL     //CommonFunctions::executeProgram\("pidof", "-s ".$process, $buffer, PSI\_DEBUG\);
CHANGED      CommonFunctions::executeProgram\("pgrep", "-x ".$process." | tail -1", $buffer, PSI\_DEBUG\);
\*\*\*\*
pgrep allows for wildcard matching
-x = match exactly
| tail -1, only return the last PID

this means that in the PSStatus.config.php file you can do a wildcard search as follows:
\*\*\*\*
define\('PSI\_PLUGIN\_PSSTATUS\_PROCESSES', 'mysqld, sshd, apache2, cron, ddclient.\*'\);
\*\*\*\*\*
where the last process "ddclient" has ".\*" appended to match any process whose name starts with ddclient
\( I needed it in this case because ddclient's process name also has - sleep 20s appended and this changes constantly \)

Hope this helps, I have no idea about compatibility of "pgrep" compared to "pidof", but this was at least useful to me.</summary></entry><entry><title>[Linux] Listening IP shows blank if USE_VHOST = true</title><link href="https://sourceforge.net/p/phpsysinfo/patches/130/" rel="alternate"/><published>2012-05-15T15:15:49Z</published><updated>2012-05-15T15:15:49Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netef4666f47bfe8d7fbf2f38cec17fa254807eff79</id><summary type="html">If USE\_VHOST is set, the listening IP shows blank on Linux.
Fix is to add:
return $this-&amp;gt;sys-&amp;gt;getHostname\(\);
to function \_hostname\(\) in includes/os/class.Linux.php</summary></entry><entry><title>optimization for _timeoutfgets</title><link href="https://sourceforge.net/p/phpsysinfo/patches/129/" rel="alternate"/><published>2012-04-15T15:50:34Z</published><updated>2012-04-15T15:50:34Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net141a1562cbad54a75b418c2a7dd784db880c31db</id><summary type="html">The stream\_select is called for each one character, that's very inefficient. This patch makes stream\_select will be called for each 4096 characters.</summary></entry><entry><title>Czech typo correction</title><link href="https://sourceforge.net/p/phpsysinfo/patches/128/" rel="alternate"/><published>2012-02-08T17:50:26Z</published><updated>2012-02-08T17:50:26Z</updated><author><name>Tomas Ruzicka</name><uri>https://sourceforge.net/u/tr3027/</uri></author><id>https://sourceforge.net3a0d6253216ff49fe06dd9c2ad9c4b3591d39d6c</id><summary type="html">Index: trunk/language/cz.xml
===================================================================
\--- trunk/language/cz.xml       \(revision 533\)
+++ trunk/language/cz.xml       \(working copy\)
@@ -244,7 +244,7 @@
&amp;lt;exp&amp;gt;Napětí na baterii&amp;lt;/exp&amp;gt;
&amp;lt;/expression&amp;gt;
&amp;lt;expression id="080" name="ups\_battery\_charge\_percent"&amp;gt;
\-    &amp;lt;exp&amp;gt;Stav naybtí&amp;lt;/exp&amp;gt;
\+    &amp;lt;exp&amp;gt;Stav nabití&amp;lt;/exp&amp;gt;
&amp;lt;/expression&amp;gt;
&amp;lt;expression id="081" name="ups\_time\_left\_minutes"&amp;gt;
&amp;lt;exp&amp;gt;Zbývající záložní čas&amp;lt;/exp&amp;gt;
</summary></entry><entry><title>Update language files for Czech</title><link href="https://sourceforge.net/p/phpsysinfo/patches/127/" rel="alternate"/><published>2011-12-18T21:56:12Z</published><updated>2011-12-18T21:56:12Z</updated><author><name>Tomas Ruzicka</name><uri>https://sourceforge.net/u/tr3027/</uri></author><id>https://sourceforge.netf29a2c53efd48790081a431194cafd0f96e864ef</id><summary type="html">Just updated the main cz.xml and added translations forthe new plugins UpdateNotifier and SNMPPInfo...</summary></entry><entry><title>Network Usage test version</title><link href="https://sourceforge.net/p/phpsysinfo/patches/126/" rel="alternate"/><published>2011-03-23T00:48:26Z</published><updated>2011-03-23T00:48:26Z</updated><author><name>Mieczyslaw Nalewaj</name><uri>https://sourceforge.net/u/namiltd/</uri></author><id>https://sourceforge.net8a8f39d1e024915e41d9c04f5c2242bd1fa470ec</id><summary type="html">Network Usage extension \(for linux only\). Version for tests, uses: ethtool and ifconfig.
If not root execute: chmod 4755 /sbin/ethtool
Tested only on Linux:
Template: phpsysinfo
Language: en

Execute before using:
chmod 4755 /sbin/ethtool

Please test it.
</summary></entry><entry><title>Chinese translation</title><link href="https://sourceforge.net/p/phpsysinfo/patches/125/" rel="alternate"/><published>2011-02-06T16:43:29Z</published><updated>2011-02-06T16:43:29Z</updated><author><name>Frisa</name><uri>https://sourceforge.net/u/frisa/</uri></author><id>https://sourceforge.net3da452e90acfa4eaa79d85805bf37d525398c1ef</id><summary type="html">Update For 1.0.8&amp;9
Add follow in language\sc.xml
&amp;lt;/expression&amp;gt;
&amp;lt;expression id="094" name="virtualization"&amp;gt;
&amp;lt;exp&amp;gt;虚拟化&amp;lt;/exp&amp;gt;</summary></entry><entry><title>Danish translation</title><link href="https://sourceforge.net/p/phpsysinfo/patches/124/" rel="alternate"/><published>2011-02-02T11:08:33Z</published><updated>2011-02-02T11:08:33Z</updated><author><name>Jens Pedersen</name><uri>https://sourceforge.net/u/donkanut/</uri></author><id>https://sourceforge.netd63aa26a9533f673f18431c8effec09eef35180f</id><summary type="html">Minor bugfix \(IP-adressse corrected to IP-adresse\)

Several new expressions, that didn't exist in earlier version of phpSysInfo added/translated...

Same author as the first \(at this moment also current\) version of danish translation.

</summary></entry></feed>