[Bug 1673557] Re: /proc/cpuinfo should be collected

Adam Conrad adconrad at 0c3.net
Thu Mar 16 19:10:41 UTC 2017


Ugly collapsing code:

sed -n '/^processor/,/^$/{/^$/q; p}' /proc/cpuinfo ; foo=$(sed
'/^processor/,/^$/d' /proc/cpuinfo); if [ -n "$foo" ]; then echo -e
"\n$foo"; fi

Prettying that into one line of sed or awk shouldn't technically be
hard, but not my top priority today. :P

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1673557

Title:
  /proc/cpuinfo should be collected

Status in apport package in Ubuntu:
  Triaged
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  apport does not currently collect data from /proc/cpuinfo and this
  would be useful to determine how many users can only run the i386
  version of Ubuntu.

  The general Ubuntu hook, possibly add_kernel_info() could be used,
  should be modified such that the contents of /proc/cpuinfo are
  gathered.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1673557/+subscriptions



More information about the foundations-bugs mailing list