commad: ulimit
usage:  Modify shell resource limits.

syntax: ulimit [-SHacdefilmnpqrstuvx] [limit]

examples:

1. To print help info of this command

    $ help -m ulimit

2. To print all current limits

    $ ulimit -a

3. To print core file size

    $ ulimit -c

4. To set hard limit of core dump file size to unlimited

    $ ulimit -Hc ulimited

5. To set soft limit of core dump file size limited to 1G

    $ ulimit -Sc 1000000

6. To check the maximum hard limit of core dump file size

    $ ulimit -Hc

7. To check the maximum soft limit of core dump file size

    $ ulimit -Sc

8. To set both hard and soft limit of maximum file size limited to 100MB.

    $ ulimit -f 100000

9. To show max open files

    $ ulimit -n

10. To set max no. of user processes

    $ ulimit -u 5


regards,
dhanasekar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to