Mat*_*Mat 19
使用--show-limits参数.它将列出您系统的现有限制.
$ xargs --show-limits
Your environment variables take up 4108 bytes
POSIX upper limit on argument length (this system): 2090996
POSIX smallest allowable upper limit on argument length (all systems): 4096
Maximum length of command we could actually use: 2086888
Size of command buffer we are actually using: 131072
Run Code Online (Sandbox Code Playgroud)
组大小取决于传入的每个参数的长度和上面列出的限制.
从xargs手册页中,供参考:
POSIX标准允许实现限制exec函数的参数大小.此限制可能低至4096字节,包括环境的大小.要使脚本可移植,它们不能依赖更大的值.但是,我知道没有实施,其实际限制很小.--show-limits选项可用于发现当前系统的实际有效限制.
| 归档时间: |
|
| 查看次数: |
6418 次 |
| 最近记录: |