One Day One GNU/Linux Command (ULIMIT)

2 views
Skip to first unread message

Bharathi Subramanian

unread,
May 13, 2008, 2:03:09 AM5/13/08
to GNU/Linux User Group of TCE, VEC-FOSS, GNU/Linux Users Group - Trichy
One Day One GNU/Linux Command
=============================

ulimit - Control the resources available to processes

Summary:

ulimit, Bash built-in command, provides control over the resources
(Virtual Mem, Max no .of process, Core file size, ...) available to
processes started by the shell.

For example, If max no. of user process is set to 5, then that
particular user can't run more then 5 process.

Examples:

$ ulimit -a -- Show All current limits.

$ ulimit -c -- Show core file size.

$ ulimit -c 1000 -- Set new core file size.

$ ulimit -u 5 -- Set max no .of user processes

$ ulimit -n -- Show max open files.

Read: help ulimit

HTH :)
--
Bharathi S


Reply all
Reply to author
Forward
0 new messages