Thread View: news.software.nntp
2 messages
2 total messages
Started by George Lindholm
Thu, 20 Aug 1998 00:00
INN 2.1: innwatch failes for vxfs partition(s)
Author: George Lindholm
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
26 lines
1528 bytes
1528 bytes
So I finally got the license key to activate vxfs and then found out that
the output of df for the vxfs disk breaks the innwatch.ctl check.
Here is the df output:
news@nntp$ df -k .
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/rootdg/articles
25136200 9325360 15563820 38% /usr/local/news/spool/articles
The problem is that innwatch.ctl assumes that df will only pump out one line of
output so what happens is that the awk expression returns a blank which causes
innwatch to think the partition is out of space. For the moment I've disabled
innwatch until I can find a solution. I'm not an awk user so I don't know if it
possible to come up with a generic expression that will work for all cases.
Thanks
George
--
George.Lindholm@ubc.ca ITServices, UBC
phone: 604.822.4375 For information about Ballroom dance music:
fax: 604.822.5116 http://www.interchange.ubc.ca/lindholm
Re: INN 2.1: innwatch failes for vxfs partition(s)
Author: Steven Bakker
Date: Thu, 27 Aug 1998 00:00
Date: Thu, 27 Aug 1998 00:00
22 lines
1443 bytes
1443 bytes
>>> GL == George Lindholm (lindholm@ucs.ubc.ca) wrote: GL> The problem is that innwatch.ctl assumes that df will only pump out GL> one line of output so what happens is that the awk expression returns GL> a blank which causes innwatch to think the partition is out of space. GL> For the moment I've disabled innwatch until I can find a solution. GL> I'm not an awk user so I don't know if it possible to come up with a GL> generic expression that will work for all cases. Thanks Try using "inndf"; it reports only the number of free kilobytes or inodes, no other junk, so no need to postprocess with awk. The author is Ian Dickinson, and you can find it on the ISC server: ftp://ftp.isc.org/isc/inn/unoff-contrib/inndf.tar.gz The C source contains an example of how to use it in your innwatch.ctl script. Good luck, Steven
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads