[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] /proc file systeem on AIX



I had to add a "| grep -v :/" to not check NFS mounted filesystems.

On 2/6/06, Frédéric Mangeant <frederic.mangeant (at) steria.com> wrote:
>
> Stef Coene a écrit :
> > Hi,
> >
> > The command df on AIX (I think 5.2 and higher) includes /proc.  And it's
> > useless to monitor this virtual file system.   So I changed my df
> command to:
> >
> > # The sed stuff is to make sure lines are not split into two.
> > df -Ik | grep -v "^/proc" | sed -e '/^[^        ][^     ]*$/{
> > N
> > s/[     ]*\n[   ]*/ /
> > }'
> >
> > This is a bug in the hobbitclient-aix.sh script.
> >
>
> Hi
>
> it should be even better to use this command :
>
> df -Ik | grep "^/dev" | [...]
>
>
> --
>
> Frédéric Mangeant
>
> Steria EDC Sophia-Antipolis
>
>
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe (at) hswn.dk
>
>
>