svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
kstat2_delete(9f)
kstat2_delete(9F) Kernel Functions kstat2_delete(9F)
NAME
kstat2_delete, kstat2_delete_zone - remove a kstat from the system
SYNOPSIS
#include <sys/types.h>
#include <sys/kstat2.h>
void kstat2_delete(kstat2_t *ksp);
void kstat2_delete_zone(kid_t ks_kid, zoneid_t ks_zoneid);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI)
PARAMETERS
kstat2_delete() function
ksp Pointer to a currently installed kstat2 structure.
kstat2_delete_zone() function
ks_kid ID of the kstat which is to be removed.
ks_zoneid ID of the zone in which this kstat is visible.
DESCRIPTION
kstat2_delete() function removes ksp from the kstat chain and frees all
associated system resources.
kstat2_delete_zone() function checks to see if a kstat with the given
kstat ID is visible in the zone with ID ks_zoneid and then, removes the
kstat from the kstat chain and frees all associated system resources.
In both cases, if the kstat is found and has the KSTAT2_FLAG_PERSISTENT
flag set, the kstat is made dormant rather than being removed from the
system.
RETURN VALUES
None
CONTEXT
The delete functions can be called from any context.
SEE ALSO
kstat2_create(9F), kstat2_install(9F), kstat2(9S)
NOTES
When the kstat2_delete() or kstat2_delete_zone() functions are called,
the driver must not be holding the kstat's lock.
Oracle Solaris 11.4 15 Jul 2015 kstat2_delete(9F)