Re: Bug in `man sched_setaffinity`

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

 



On 2/14/19 5:46 PM, Bernd Petrovitsch wrote:
> Hi all!
> 
> In the EXAMPLE section of `man sched_setaffinity` manual page ca nbe
> found (on Ubuntu-Bionic-current).
> ----  snip  ---
>            $ lscpu | grep -i 'core.*:|socket'
>            Thread(s) per core:    2
>            Core(s) per socket:    2
>            Socket(s):             1
> ----  snip  ---
> However, one needs *egrep* (and not "only" *grep) for the '|'
> to work.

Thanks, I changed that to "egrep".

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux