limit [ -hs ] [ resource [ limit ] ] ...
       Set or display resource limits.  Unless the -s flag
       is given, the limit applies only  the  children  of
       the shell.  If -s is given without other arguments,
       the resource limits of the current shell is set  to
       the previously set resource limits of the children.

       If limit is not specified, print the current  limit
       placed  on resource, otherwise set the limit to the
       specified value.  If the -h flag is given, use hard
       limits  instead  of soft limits.  If no resource is
       given, print all limits.

       resource can be one of:

       memorylocked
              Maximum amount of memory locked in RAM.
       resident
              Maximum resident set size.
       vmemorysize
              Maximum amount of virtual memory.
       descriptors
              Maximum value for a file descriptor.
       coredumpsize
              Maximum size of a core dump.
       stacksize
              Maximum stack size for each process.
       datasize
              Maximum data size (including stack) for each
              process.
       filesize
              Largest single file allowed.
       cputime
              Maximum CPU seconds per process.
       maxproc
              Maximum number of processes.
       addressspace
              Maximum amount of address space used.
       cachedthreads
              Maximum number of cached threads.

       Which   of  these  resource  limits  are  available
       depends on the system.  resource can be abbreviated
       to any unambiguous prefix.

       limit is a number, with an optional scaling factor,
       as follows:

       nh     hours
       nk     kilobytes (default)
       nm     megabytes or minutes
       [mm:]ss
              minutes and seconds
