Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../.././../../../usr/man/man9f/kstat2_delete.9f
Real path: /usr/share/man/man9f/kstat2_delete.9f
Zurück
'\" te .\" Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. .TH kstat2_delete 9F "15 Jul 2015" "Oracle Solaris 11.4" "Kernel Functions" .SH NAME kstat2_delete, kstat2_delete_zone \- remove a kstat from the system .SH SYNOPSIS .LP .nf #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); .fi .SH INTERFACE LEVEL .sp .LP Solaris DDI specific (Solaris DDI) .SH PARAMETERS .sp .LP \fBkstat2_delete()\fR function .sp .ne 2 .mk .na \fB\fIksp\fR\fR .ad .RS 7n .rt Pointer to a currently installed \fBkstat2\fR structure. .RE .sp .LP \fBkstat2_delete_zone()\fR function .sp .ne 2 .mk .na \fB\fIks_kid\fR\fR .ad .RS 13n .rt ID of the kstat which is to be removed. .RE .sp .ne 2 .mk .na \fB\fIks_zoneid\fR\fR .ad .RS 13n .rt ID of the zone in which this \fBkstat\fR is visible. .RE .SH DESCRIPTION .sp .LP \fBkstat2_delete()\fR function removes \fIksp\fR from the \fBkstat\fR chain and frees all associated system resources. .sp .LP \fBkstat2_delete_zone()\fR function checks to see if a \fBkstat\fR with the given \fBkstat\fR ID is visible in the zone with ID \fBks_zoneid\fR and then, removes the \fBkstat\fR from the \fBkstat\fR chain and frees all associated system resources. .sp .LP In both cases, if the \fBkstat\fR is found and has the \fBKSTAT2_FLAG_PERSISTENT\fR flag set, the \fBkstat\fR is made dormant rather than being removed from the system. .SH RETURN VALUES .sp .LP None .SH CONTEXT .sp .LP The delete functions can be called from any context. .SH SEE ALSO .sp .LP \fBkstat2_create\fR(9F), \fBkstat2_install\fR(9F), \fBkstat2\fR(9S) .SH NOTES .sp .LP When the \fBkstat2_delete()\fR or \fBkstat2_delete_zone()\fR functions are called, the driver must not be holding the kstat's lock.