system enabled community medium v1.0.0

taskset

Get/set CPU affinity for processes; can spawn a shell.

📋 Live Preview
taskset
taskset

Sandbox: execFile · Timeout: 30s

Capabilities

security.privilege-escalation.shell

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networknone
Disk I/Olow

Examples

Spawn an interactive shell (sudo, unprivileged)

taskset 1 /bin/sh

Documentation

taskset

taskset is a command-line utility. Set or retrieve CPU affinity of a process; can also spawn an interactive shell.

References