2005-10-21 20:39:45 +08:00
|
|
|
|
2007-01-12 23:20:48 +08:00
|
|
|
complete -c ulimit -s S -l soft -d (N_ "Set or get soft limit")
|
|
|
|
complete -c ulimit -s H -l hard -d (N_ "Set or get hard limit")
|
|
|
|
|
2006-03-02 00:53:47 +08:00
|
|
|
complete -c ulimit -s a -l all -d (N_ "Set or get all current limits")
|
|
|
|
complete -c ulimit -s c -l core-size -d (N_ "Maximum size of core files created")
|
|
|
|
complete -c ulimit -s d -l data-size -d (N_ "Maximum size of a process's data segment")
|
|
|
|
complete -c ulimit -s f -l file-size -d (N_ "Maximum size of files created by the shell")
|
|
|
|
complete -c ulimit -s l -l lock-size -d (N_ "Maximum size that may be locked into memory")
|
|
|
|
complete -c ulimit -s m -l resident-set-size -d (N_ "Maximum resident set size")
|
|
|
|
complete -c ulimit -s n -l file-descriptor-count -d (N_ "Maximum number of open file descriptors")
|
|
|
|
complete -c ulimit -s s -l stack-size -d (N_ "Maximum stack size")
|
|
|
|
complete -c ulimit -s t -l cpu-time -d (N_ "Maximum amount of cpu time in seconds")
|
|
|
|
complete -c ulimit -s u -l process-count -d (N_ "Maximum number of processes available to a single user")
|
|
|
|
complete -c ulimit -s v -l virtual-memory-size -d (N_ "Maximum amount of virtual memory available to the shell")
|
2007-01-12 23:20:48 +08:00
|
|
|
|
2006-03-02 00:53:47 +08:00
|
|
|
complete -c ulimit -s h -l help -d (N_ "Display help and exit")
|
2007-01-12 23:20:48 +08:00
|
|
|
|
|
|
|
complete -c ulimit -a "unlimited soft hard" -d (N_ "New resource limit")
|