Systems study of the maintenance function in the local process industry