pool.dataset.processes

Return a list of processes using this dataset.

Example return value:

[ {

“pid”: 2520, “name”: “smbd”, “service”: “cifs” }, { “pid”: 97778, “name”: “minio”, “cmdline”: “/usr/local/bin/minio -C /usr/local/etc/minio server –address=0.0.0.0:9000 –quiet /mnt/tank/wk” }

]

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: string

The dataset ID (full path) to list processes for.

Result

Type: array of object

Array of processes currently using the dataset.

No Additional Items
Each item of this array must be:

PoolProcess

Type: object
No Additional Properties

Pid

Type: integer

Process ID of the process using the pool.

Name

Type: string

Name of the process using the pool.

Service


Name of the service if this process belongs to a system service.

Type: string
Type: null

Cmdline


Full command line of the process.

Type: string
Type: null


Required roles: DATASET_READ