dump
dump copied to clipboard
Update softnet.sh
In newer versions of bash (>5.1), you might encounter the error:
line 37: printf: 0x00000000 00000000 00000000: invalid hex number
I have added error handling. I also implemented a check to determine if the server is an LXC container. If it is, then only the allocated (cgroup) CPUs are displayed.