Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

psrset(8) issue



The man page for psrset(8) is rather silent on what the behaviour of

        psrset set_id

should be (in the absence of any other switches). Since the default behaviour is for

        psrset

to list _all_ processor sets and the member CPUs, it would seem to make sense that

        psrset set_id

would list only a single set and its members. However, the actual behavior is to ignore the set_id argument and list all sets:

        {169} psrset -c 4
        {170} psrset
        system processor set 0: processor(s) 0 1 2 3 5 6 7 8 9 10 11 12
        13 14 15 16 17 18 19 20 21 22 23
        user processor set 1: processor(s) 4
        {171} psrset 4
        system processor set 0: processor(s) 0 1 2 3 5 6 7 8 9 10 11 12
        13 14 15 16 17 18 19 20 21 22 23
        user processor set 1: processor(s) 4
        {172}

Is it really the intended behaviour to ignore the set-id argument?


-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index