pmod(1)                              Bull                              pmod(1)




NAME

       pmod - add or remove CPUs from CPU areas


SYNOPSIS

       pmod AID -np [-]N [pcreate options]



DESCRIPTION

       pmod modifies the number of allocated CPU for a given CPU area.



OPTIONS

       -np [-]N
              Specifies  the  number of CPUs to allocate or remove (to remove,
              you may specify a negative number).


       [pcreate options]
              To specify how new processors should be allocated, you may spec-
              ify pcreate(1) options.



EXAMPLES

        # pcreate -np 4 --strict
        new area created with id 2
        # pls -l
        AID np   CPUs
        1   16   0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
        2   4    0 1 2 3
        # ~/myjob &
        #
        [+] 134
        # passign 2 134
        # pmod 2 -np 4
        # pls -l
        AID np   CPUs
        1   16   0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
        2   8    0 1 2 3 4 5 6 7
        # pmod 2 -np -6
        # pls -l
        AID np   CPUs
        1   16   0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
        2   2    0 1



SEE ALSO

       pcreate(1), pdestroy(1), passign(1)



Linux                             2003-07-31                           pmod(1)

Man(1) output converted with man2html