<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/phpsysinfo/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/phpsysinfo/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 07 Feb 2016 18:34:54 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/phpsysinfo/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Forum moved to Github</title><link>https://sourceforge.net/p/phpsysinfo/patches/132/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mieczysław Nalewaj</dc:creator><pubDate>Sun, 07 Feb 2016 18:34:54 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9dc1279f12550ddfc7ef437eacfb71dd4cf39df3</guid></item><item><title>#131 PSStatus allow wildcard on process names</title><link>https://sourceforge.net/p/phpsysinfo/patches/131/?limit=25#359a</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mieczysław Nalewaj</dc:creator><pubDate>Tue, 29 Oct 2013 07:08:40 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb2e46704b060200705263aefd651ac858861c880</guid></item><item><title>PSStatus allow wildcard on process names</title><link>https://sourceforge.net/p/phpsysinfo/patches/131/</link><description>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.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 19 Aug 2012 11:57:10 -0000</pubDate><guid isPermaLink="false">https://sourceforge.neta084953e0d6d6fd3106c8754e64fa779110310ed</guid></item><item><title>[Linux] Listening IP shows blank if USE_VHOST = true</title><link>https://sourceforge.net/p/phpsysinfo/patches/130/</link><description>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</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 15 May 2012 15:15:49 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netef4666f47bfe8d7fbf2f38cec17fa254807eff79</guid></item><item><title>optimization for _timeoutfgets</title><link>https://sourceforge.net/p/phpsysinfo/patches/129/</link><description>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.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sun, 15 Apr 2012 15:50:34 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net141a1562cbad54a75b418c2a7dd784db880c31db</guid></item><item><title>Czech typo correction</title><link>https://sourceforge.net/p/phpsysinfo/patches/128/</link><description>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;
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tomas Ruzicka</dc:creator><pubDate>Wed, 08 Feb 2012 17:50:26 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3a0d6253216ff49fe06dd9c2ad9c4b3591d39d6c</guid></item><item><title>Update language files for Czech</title><link>https://sourceforge.net/p/phpsysinfo/patches/127/</link><description>Just updated the main cz.xml and added translations forthe new plugins UpdateNotifier and SNMPPInfo...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tomas Ruzicka</dc:creator><pubDate>Sun, 18 Dec 2011 21:56:12 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf29a2c53efd48790081a431194cafd0f96e864ef</guid></item><item><title>Network Usage test version</title><link>https://sourceforge.net/p/phpsysinfo/patches/126/</link><description>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.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mieczyslaw Nalewaj</dc:creator><pubDate>Wed, 23 Mar 2011 00:48:26 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net8a8f39d1e024915e41d9c04f5c2242bd1fa470ec</guid></item><item><title>Chinese translation</title><link>https://sourceforge.net/p/phpsysinfo/patches/125/</link><description>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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frisa</dc:creator><pubDate>Sun, 06 Feb 2011 16:43:29 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3da452e90acfa4eaa79d85805bf37d525398c1ef</guid></item><item><title>Danish translation</title><link>https://sourceforge.net/p/phpsysinfo/patches/124/</link><description>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.

</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jens Pedersen</dc:creator><pubDate>Wed, 02 Feb 2011 11:08:33 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd63aa26a9533f673f18431c8effec09eef35180f</guid></item></channel></rss>