Bug 141579 - logwatch truncates file system usage output
Summary: logwatch truncates file system usage output
Status: CLOSED DUPLICATE of bug 138285
Alias: None
Product: Fedora
Classification: Fedora
Component: logwatch   
(Show other bugs)
Version: 3
Hardware: i686 Linux
Target Milestone: ---
Assignee: Jiri Ryska
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-12-02 09:22 UTC by Antonin Mares
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 19:07:27 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Antonin Mares 2004-12-02 09:22:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
In email recieved every night from logwatch I don't see space usage 
for one filesystem.

Output from logwatch looks like this:
------------------ Disk Space --------------------

/dev/sda1             251M  101M  137M  43% /
/dev/sda2             2.0G  487M  1.4G  26% /usr
/dev/sda5             494M   92M  378M  20% /var

The "df" command gives me following output:
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1               256666    106759    136655  44% /
none                    257320         0    257320   0% /dev/shm
/dev/sda2              2063536    503688   1455024  26% /usr
/dev/sda5               505604     93212    386288  20% /var
                     940651248   1927284 890941668   1% /var/ftp

Version-Release number of selected component (if applicable):

How reproducible:
Didn't try

Steps to Reproduce:


Additional info:

Comment 1 bjorn l. 2004-12-03 00:30:31 UTC
I have the same problem.

I think the issue is in zz-disk_space, where it executes:
   df -h | grep '^/dev/'

If you wanted to remove the tmpfs entries (which start
with "none" in the listing above), then the following
would work:

   df -h -x tmpfs

Comment 2 Jiri Ryska 2004-12-06 14:17:41 UTC

*** This bug has been marked as a duplicate of 138285 ***

Comment 3 Red Hat Bugzilla 2006-02-21 19:07:27 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.