From: blik blik <blikb@mail.ru> To: shigorin@gmail.com, ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] Утоснение для, как разделить поток на 128 kbit под каждого пользователя Date: Mon, 24 Dec 2007 22:10:34 +0300 Message-ID: <E1J6sh8-00090x-00.blikb-mail-ru@f52.mail.ru> (raw) In-Reply-To: <20071224160647.GH26614@osdn.org.ua> Было так: ### Gather all DEVICE fields from $1/cbq-* DEVFIELDS=`find $1 -type f -name 'cbq-*' -not -name '*~' \ -maxdepth 1| xargs sed -n 's/#.*//; s/[[:space:]]//g; \ /^DEVICE=[^,]*,[^,]*\(,[^,]*\)\?/ { s/.*=//; p; }'|\ sort -u` [ -z "$DEVFIELDS" ] && cbq_failure "no DEVICE field found in $1/cbq-*!" Сделал так: ### Gather all DEVICE fields from $1/cbq-* DEVFIELDS=`find $1 -name 'cbq-*' -not -name '*~' \ -maxdepth 1 -type f| xargs sed -n 's/#.*//; s/[[:space:]]//g; \ /^DEVICE=[^,]*,[^,]*\(,[^,]*\)\?/ { s/.*=//; p; }'|\ sort -u` [ -z "$DEVFIELDS" ] && cbq_failure "no DEVICE field found in $1/cbq-*!" Ругаться вроде перестало но также не ограничевает канал Что делать?
next prev parent reply other threads:[~2007-12-24 19:10 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-12-24 9:07 blik blik 2007-12-24 15:26 ` Alexey Shabalin 2007-12-24 16:06 ` Michael Shigorin 2007-12-24 19:10 ` blik blik [this message] 2007-12-24 19:17 ` Michael Shigorin 2007-12-24 20:43 ` blik blik 2007-12-24 21:50 ` blik blik 2007-12-25 10:43 ` Michael Shigorin 2007-12-25 15:34 ` blik blik 2007-12-25 15:50 ` blik blik 2007-12-25 9:08 ` Anton Gorlov
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=E1J6sh8-00090x-00.blikb-mail-ru@f52.mail.ru \ --to=blikb@mail.ru \ --cc=shigorin@gmail.com \ --cc=sysadmins@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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git