home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 14929 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.2 KB  |  31 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!ulowell!swlvx2!NMC.ED.RAY.COM!heiser
  3. From: heiser@ferrari.nmc.ed.ray.com (Bill Heiser)
  4. Subject: inaccurate 'du'
  5. Message-ID: <1992Dec23.150128.11732@ferrari.nmc.ed.ray.com>
  6. Organization: Equipment Division, Raytheon Company
  7. Distribution: usa
  8. Date: Wed, 23 Dec 92 15:01:28 GMT
  9. Lines: 20
  10.  
  11. I think I need a vacation.  This question should be tooo simple!
  12.  
  13. Anyway...  Regarding 'du'.  When I do a 'du' of an entire directory
  14. structure, it reports one number, say 503438 (so it's roughly 500 mb).
  15.  
  16. However if I do a du on selected entries in that directory structure,
  17. like du -s */*/abc */*/ddd, each total comes to a numbers that total
  18. much higher than the du of the entire directory.  
  19.  
  20. I've done the du -s such that directories aren't (as far as I can see)
  21. reported twice.  Am I overlooking something obvious here?  I need
  22. to get usage info for certain subdirectory structures, and this should
  23. be an extremely simple task! :-(
  24.  
  25.  
  26. -- 
  27. * Happiness is a hot boiled lobster with drawn butter, a side dish of hot    *
  28. * fresh steamers w/melted butter & a hot corn on the cob with butter & salt  *
  29. Work: heiser@TDWR.ED.RAY.COM
  30. Home: bill@unixland.natick.ma.us
  31.