Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23216 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 163 invoked by uid 1010); 9 May 2006 12:37:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 148 invoked from network); 9 May 2006 12:37:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2006 12:37:10 -0000 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.184.225 wr-out-0506.google.com Linux 2.4/2.6 Received: from ([64.233.184.225:9903] helo=wr-out-0506.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A8/5E-63885-4FC80644 for ; Tue, 09 May 2006 08:37:08 -0400 Received: by wr-out-0506.google.com with SMTP id i32so1261535wra for ; Tue, 09 May 2006 05:37:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=I/OJCE8t7dvCDm2qRkn0RMr7hjCSP2r4Ag3KdzmLRuZCfnMqmVWqVFDSQXOHp/Ups2dAmaMMrbHFD1CTITGGJiBBlJSnXdu/Z2k0DR0PkMfqAl3E7V7RjWHEspYzTP721KWtvbjSX4+gXKqhZO29U3k3mZU75OcHU5DmPdn1dAw= Received: by 10.65.151.15 with SMTP id d15mr93324qbo; Tue, 09 May 2006 05:37:04 -0700 (PDT) Received: from ?192.168.1.6? ( [72.59.8.142]) by mx.gmail.com with ESMTP id f16sm1464369qba.2006.05.09.05.37.03; Tue, 09 May 2006 05:37:04 -0700 (PDT) In-Reply-To: <409b0b770605082151v34910c07q3d45ddf294bff579@mail.gmail.com> References: <409b0b770605082151v34910c07q3d45ddf294bff579@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v749.3) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <1CAE3F2D-4E93-441B-9E8E-1F4E7C5A101F@prohost.org> Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Tue, 9 May 2006 08:37:00 -0400 To: Senthil Murugan X-Mailer: Apple Mail (2.749.3) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] Getting system statistics From: ilia@prohost.org (Ilia Alshanetsky) Statgrab extension in PECL is what you are looking for. On 9-May-06, at 12:51 AM, Senthil Murugan wrote: > 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Ilia Alshanetsky Advanced Internet Designs Inc. ilia@prohost.org