164 views

Description

When you run the df -kP command in the HPUX pattern for filesystem the output may word wrap. This word wrap can cause incorrect parsing of the command.

Cause

The word wrap of the output cause Service Mapping to parse the data incorrectly.



Resolution

Change the parse command output step from "df -kP" to:

df -kP | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n[[:space:]][[:space:]]*/ /g'

Article Information

Last Updated:2020-08-17 15:55:41
Published:2020-08-17