Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23206 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63897 invoked by uid 1010); 9 May 2006 04:52:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63881 invoked from network); 9 May 2006 04:52:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2006 04:52:04 -0000 X-PHP-List-Original-Sender: zenmurugan@gmail.com X-Host-Fingerprint: 64.233.184.239 wr-out-0506.google.com Linux 2.4/2.6 Received: from ([64.233.184.239:44627] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 2D/7C-63885-4FF10644 for ; Tue, 09 May 2006 00:52:04 -0400 Received: by wr-out-0506.google.com with SMTP id 71so1287950wri for ; Mon, 08 May 2006 21:51:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rChkmdr0DiW9QnMnvPlRlfJAUweA1rqiDwg5jU5+bzTaPb+e+6ndfr71xHWti4wwb4ZvvfH+2HvmRp+ekCgfVWTJlnqlKEeVX3PmeozQkLE+PJ926LvExlH/FA9qd/7N/H/RxPgLXIcyKHaiKi4pGCAXQhGevLOz9rz9dp8GttY= Received: by 10.65.254.8 with SMTP id g8mr1434842qbs; Mon, 08 May 2006 21:51:28 -0700 (PDT) Received: by 10.65.163.19 with HTTP; Mon, 8 May 2006 21:51:28 -0700 (PDT) Message-ID: <409b0b770605082151v34910c07q3d45ddf294bff579@mail.gmail.com> Date: Tue, 9 May 2006 10:21:28 +0530 To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Getting system statistics From: zenmurugan@gmail.com ("Senthil Murugan") Hi, Is there any funciton to get the system related statistics like, meminfo, cpuinfo, etc. I just searched for that option but I could not find it. In case of linux we can use /proc/meminfo but to make the code portable, i am getting little bit worried. Can any one help me in this regard? Thanks, Senthil Murugan