The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-08-2007
zazzybob's Avatar
zazzybob zazzybob is offline
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Something like this?
Code:
# du -ks /usr/local/jboss4/bin /usr/local/jboss4/server /var/log/jboss | awk '{c+=$1} END {printf "%s KB\n", c}'
1646356 KB
Cheers
ZB
Reply With Quote