Skip to content

Commit 6c080b7

Browse files
committed
Merge branch 'MrChrisW-fix-cpu-regex' into v2.2.1
2 parents a3e33fc + 6d91850 commit 6c080b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/vmstat/procfs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module ProcFS
1515
# Since Linux 2.6.24:
1616
# guest - which is the time spent running a virtual CPU for guest
1717
# operating systems under the control of the Linux kernel.
18-
CPU_DATA = /cpu(\d)#{'\s+(\d+)' * 4}/.freeze
18+
CPU_DATA = /cpu(\d+)#{'\s+(\d+)' * 4}/.freeze
1919

2020
# Grep the network stats from the procfs.
2121
# @example Format (from /proc/net/dev)

0 commit comments

Comments
 (0)