This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Array length or catching errors
- From: Haley Thrapp <haley_thrapp at yahoo dot com>
- To: systemtap at sourceware dot org
- Date: Mon, 1 Oct 2007 15:09:49 -0700 (PDT)
- Subject: Array length or catching errors
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=cN2CPi5Pr42Ms7KeJrdoj4LheFiFTVGjGRs163DxzRjhjdQfmPLZe+gufgKhEz2dWzQZ70YyggDt/N+t36L14KrVV7NT4pG2UDrIyiRmFdvId76TAP69h2gjlai3RlifNqd1he8I0vb9LGlktv+6zzdQip9UO5UNaURO0VpXK9A=;
I have looked through the language reference for System Tap and haven't found what I am looking for. I would like to be able to check the length of my associative array or to be able to catch the error when I have reached MAXMAPENTRIES so that I can exit a bit more gracefully and print out some of the data I am interested in. Is there currently any way to do this? Should I be probing the error somehow?
Haley Thrapp
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting