ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Hello new grep!
Date: Thu, 25 Mar 2010 18:39:39 +0300
Message-ID: <20100325153939.GB9648@wo.int.altlinux.org> (raw)
In-Reply-To: <201003251726.27280.ledest@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

On Thu, Mar 25, 2010 at 05:26:27PM +0200, Led wrote:
> Здравствуй новый, "правильный" grep!
> 
> $ cat /proc/stat | LC_COLLATE=en_US.UTF-8 egrep '^cpu[[:digit:]]+' /proc/stat

cat тут немного лишний.

> 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=en_US.UTF-8 egrep '^cpu[0-9]+' /proc/stat

Это, наверное, https://bugzilla.altlinux.org/23228


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-03-25 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 15:26 Led
2010-03-25 15:39 ` Dmitry V. Levin [this message]
2010-03-25 15:52   ` Led
2010-03-25 15:57     ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100325153939.GB9648@wo.int.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git