Changeset View
Changeset View
Standalone View
Standalone View
sys/contrib/openzfs/man/man8/zfs-program.8
.\" This file and its contents are supplied under the terms of the | .\" This file and its contents are supplied under the terms of the | ||||
.\" Common Development and Distribution License ("CDDL"), version 1.0. | .\" Common Development and Distribution License ("CDDL"), version 1.0. | ||||
.\" You may only use this file in accordance with the terms of version | .\" You may only use this file in accordance with the terms of version | ||||
.\" 1.0 of the CDDL. | .\" 1.0 of the CDDL. | ||||
.\" | .\" | ||||
.\" A full copy of the text of the CDDL should have accompanied this | .\" A full copy of the text of the CDDL should have accompanied this | ||||
.\" source. A copy of the CDDL is also available via the Internet at | .\" source. A copy of the CDDL is also available via the Internet at | ||||
.\" http://www.illumos.org/license/CDDL. | .\" http://www.illumos.org/license/CDDL. | ||||
.\" | .\" | ||||
.\" | .\" | ||||
.\" Copyright (c) 2016, 2019 by Delphix. All Rights Reserved. | .\" Copyright (c) 2016, 2019 by Delphix. All Rights Reserved. | ||||
.\" Copyright (c) 2019, 2020 by Christian Schwarz. All Rights Reserved. | .\" Copyright (c) 2019, 2020 by Christian Schwarz. All Rights Reserved. | ||||
.\" Copyright 2020 Joyent, Inc. | .\" Copyright 2020 Joyent, Inc. | ||||
.\" | .\" | ||||
.Dd February 3, 2020 | .Dd January 26, 2021 | ||||
.Dt ZFS-PROGRAM 8 | .Dt ZFS-PROGRAM 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm zfs-program | .Nm zfs-program | ||||
.Nd executes ZFS channel programs | .Nd executes ZFS channel programs | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm zfs | .Nm zfs | ||||
.Cm program | .Cm program | ||||
▲ Show 20 Lines • Show All 261 Lines • ▼ Show 20 Lines | |||||
ENXIO ENOTBLK EMFILE EDOM | ENXIO ENOTBLK EMFILE EDOM | ||||
E2BIG EBUSY ENOTTY ERANGE | E2BIG EBUSY ENOTTY ERANGE | ||||
ENOEXEC EEXIST ETXTBSY EDQUOT | ENOEXEC EEXIST ETXTBSY EDQUOT | ||||
EBADF EXDEV EFBIG | EBADF EXDEV EFBIG | ||||
.Ed | .Ed | ||||
.Ss API Functions | .Ss API Functions | ||||
For detailed descriptions of the exact behavior of any zfs administrative | For detailed descriptions of the exact behavior of any zfs administrative | ||||
operations, see the main | operations, see the main | ||||
.Xr zfs 1 | .Xr zfs 8 | ||||
manual page. | manual page. | ||||
.Bl -tag -width "xx" | .Bl -tag -width "xx" | ||||
.It Em zfs.debug(msg) | .It Em zfs.debug(msg) | ||||
Record a debug message in the zfs_dbgmsg log. | Record a debug message in the zfs_dbgmsg log. | ||||
A log of these messages can be printed via mdb's "::zfs_dbgmsg" command, or | A log of these messages can be printed via mdb's "::zfs_dbgmsg" command, or | ||||
can be monitored live by running: | can be monitored live by running: | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
dtrace -n 'zfs-dbgmsg{trace(stringof(arg0))}' | dtrace -n 'zfs-dbgmsg{trace(stringof(arg0))}' | ||||
▲ Show 20 Lines • Show All 334 Lines • Show Last 20 Lines |