From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, DNS_FROM_OPENWHOIS, SPF_HELO_PASS,SPF_NEUTRAL autolearn=no version=3.2.5 From: Led To: ALT Linux Team development discussions Date: Thu, 25 Mar 2010 17:26:27 +0200 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201003251726.27280.ledest@gmail.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [devel] Hello new grep! X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 15:28:40 -0000 Archived-At: List-Archive: List-Post: =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9 =ED=EE=E2=FB=E9, "=EF=F0=E0=E2=E8=EB=FC=ED= =FB=E9" grep! $ cat /proc/stat | LC_COLLATE=3Den_US.UTF-8 egrep '^cpu[[:digit:]]+' /proc/= stat cpu0 39641 0 11029 101634 11400 281 243 0 0 cpu1 27475 0 48586 90130 1763 0 3 0 0 cpu2 33675 0 15007 120071 1696 0 7 0 0 cpu3 29776 0 39065 98772 1373 0 6 0 0 $ cat /proc/stat | LC_COLLATE=3Den_US.UTF-8 egrep '^cpu[0-9]+' /proc/stat $ cat /proc/stat | LC_COLLATE=3Den_US.UTF-8 egrep '^cpu[1-2]+' /proc/stat cpu2 34465 0 16070 128355 1701 0 7 0 0 cpu3 31309 0 45963 99936 1373 0 7 0 0 $ cat /proc/stat | LC_COLLATE=3DC egrep '^cpu[0-9]+' /proc/stat cpu0 41141 0 11292 112957 11509 304 253 0 0 cpu1 28968 0 50902 99790 1763 0 3 0 0 cpu2 34755 0 16104 131568 1704 0 7 0 0 cpu3 31766 0 46380 102599 1373 0 7 0 0 $ rpm -q grep grep-2.6-alt1 =2D-=20 Led