[HPADM] Adding the numbers in a column

From: Neil Paniraj (npaniraj@yahoo.com)
Date: Thu Aug 11 2005 - 13:00:11 EDT


Admins:

I need to calculate the contents of a column and get
the grand total of the same. What is the easiest way
to do it? Can some one give me a awk string for that
or a script?

I need to add the second column of a bdf output to get
the diskspace utilized.

Thanks in advance.
NEIL

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:49 EDT