Bug#79372: /proc/cpuinfo should be checked in /etc/init.d/atd

2011-01-27 Thread Cyril Brulebois
Ansgar Burchardt (27/01/2011): > Reuben Thomas writes: > > Can this be done? It’s pretty easy, after all: > > > > grep processor /proc/cpuinfo | wc -l Spare pipes! grep -c ^processor /proc/cpuinfo > That is not portable. For example on armel (agricola.d.o) this gives: > > $ grep processor /p

Bug#79372: /proc/cpuinfo should be checked in /etc/init.d/atd

2011-01-27 Thread Ansgar Burchardt
Reuben Thomas writes: > Can this be done? It’s pretty easy, after all: > > grep processor /proc/cpuinfo | wc -l > > gives the number of CPUs. That is not portable. For example on armel (agricola.d.o) this gives: $ grep processor /proc/cpuinfo | wc -l 0 And there is also kfreebsd and Hurd wh

Bug#79372: /proc/cpuinfo should be checked in /etc/init.d/atd

2011-01-27 Thread Reuben Thomas
Package: at Version: 3.1.12-1ubuntu2 Severity: normal Can this be done? It’s pretty easy, after all: grep processor /proc/cpuinfo | wc -l gives the number of CPUs. I can’t find an init script in at’s git repo so no patch, sorry. -- System Information: Debian Release: squeeze/sid APT prefers