logo       

CVS: phpwiki/lib stdlib.php,1.230,1.231: msg#00190

web.wiki.phpwiki.checkins

Subject: CVS: phpwiki/lib stdlib.php,1.230,1.231

Update of /cvsroot/phpwiki/phpwiki/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2576

Modified Files:
stdlib.php
Log Message:
enable ps memory on unix

Index: stdlib.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/stdlib.php,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -2 -b -p -d -r1.230 -r1.231
--- stdlib.php 25 Jan 2005 07:10:51 -0000 1.230
+++ stdlib.php 30 Jan 2005 19:48:52 -0000 1.231
@@ -1901,5 +1901,5 @@ function getMemoryUsage() {
$memstr = exec("pslist $pid|grep -A1 Mem|sed 1d|perl -ane\"print
\$"."F[5]\"");
return (integer) trim($memstr);
- } elseif (0) {
+ } elseif (1) {
$pid = getmypid();
//%MEM: Percentage of total memory in use by this process
@@ -1914,4 +1914,7 @@ function getMemoryUsage() {

// $Log$
+// Revision 1.231 2005/01/30 19:48:52 rurban
+// enable ps memory on unix
+//
// Revision 1.230 2005/01/25 07:10:51 rurban
// add getMemoryUsage to stdlib



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise