自強不息的駱駝有草吃
ulimit -v 10000000 # At most 10G
The C library interface to ulimit functionality is setrlimit()/getrlimit(). I don't know of a mechanism to set a per user default limit on Linux either.
Fedora 似乎因為執行檔撞名,而沒有提供 id-utils 的套件 ,但這是使用 gj 的必要套件,只好自己編。從官網抓好 tarball ,解開來編譯 (./configure && make)就是了。 但編譯後會遇到錯誤: ./stdio.h:10...
The C library interface to ulimit functionality is setrlimit()/getrlimit(). I don't know of a mechanism to set a per user default limit on Linux either.
回覆刪除