{
  "slug": "list-processes-by-memory",
  "title": "Find the Processes Using Memory",
  "fixture": "containers/file-lab",
  "command_count": 3,
  "container_tool": "docker",
  "image": "localhost/linuxoneliners-lab:latest",
  "exit_code": 0,
  "elapsed_ms": 232,
  "stdout": "::fixture-ready::\n$ ps -eo pid,comm,%mem,%cpu --sort=-%mem | head\n    PID COMMAND         %MEM %CPU\n     14 ps               0.0  0.0\n     13 bash             0.0  0.0\n      1 bash             0.0 28.5\n     12 timeout          0.0  0.0\n     15 head             0.0  0.0\n::exit-code::0\n$ free -h\n               total        used        free      shared  buff/cache   available\nMem:           125Gi        46Gi       3.8Gi       259Mi        75Gi        79Gi\nSwap:             0B          0B          0B\n::exit-code::0\n$ df -h\nFilesystem      Size  Used Avail Use% Mounted on\noverlay         3.6T  1.2T  2.3T  35% /\ntmpfs            64M     0   64M   0% /dev\nshm              64M     0   64M   0% /dev/shm\ntmpfs            64M  8.0K   64M   1% /tmp\ntmpfs            64M  352K   64M   1% /var\n/dev/nvme0n1p2  3.6T  1.2T  2.3T  35% /lab/demo.sh\ntmpfs            63G     0   63G   0% /proc/asound\ntmpfs            63G     0   63G   0% /proc/acpi\ntmpfs            63G     0   63G   0% /proc/scsi\ntmpfs            63G     0   63G   0% /sys/firmware\ntmpfs            63G     0   63G   0% /sys/devices/virtual/powercap\n::exit-code::0\n",
  "stderr": "",
  "ok": true,
  "security": {
    "network": "none",
    "capabilities": "dropped",
    "no_new_privileges": true,
    "memory": "256m",
    "cpus": "1",
    "pids_limit": 128,
    "tmpfs": [
      "/tmp",
      "/var"
    ]
  }
}