4 lines
129 B
Bash
4 lines
129 B
Bash
#!/bin/bash
|
|
# Obtener el ID del contenedor actual
|
|
cat /proc/self/cgroup | grep ":cpu:" | sed 's/.*\///' | head -n 1 | cut -c1-12
|