The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
find the size of a database by counting all the used pages
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
find the size of a database by counting all the used pages
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
03-10-2009
R.T.
Registered User
Join Date: Mar 2009
Posts: 12
Code:
awk '{A=$1;B=$2;C=C+A*B;print A" x "B" = "A*B};END{print "Total = "C}' filename
Last edited by R.T.; 03-10-2009 at
07:32 PM
.. Reason: dropped a }
R.T.
View Public Profile
Find all posts by R.T.
Find R.T.'s past nominations received
Find R.T.'s present nominations given