[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

iostdel Kernel Service

Purpose

Removes the registration of an I/O statistics structure used for maintaining I/O statistics on a particular device.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/iostat.h>
void iostdel (devstatp)
union {
        struct ttystat *ttystp;
        struct dkstat  *dkstp;
      } devstatp;

Parameter

devstatp Points to an I/O statistics structure previously registered using the iostadd kernel service.

Description

The iostdel kernel service removes the registration of an I/O statistics structure for a device being terminated. The device's ttystat or dkstat structure should have previously been registered using the iostadd kernel service. Following a return from the iostdel service, the iostat command will no longer display statistics for the device being terminated.

Execution Environment

The iostdel kernel service can be called from the process environment only.

Return Values

The iostdel service has no return values.

Implementation Specifics

The iostdel kernel service is part of Base Operating System (BOS) Runtime.

Related Information

The iostat command.

The iostadd kernel service.

Kernel Extension and Device Driver Management Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]