From owner-freebsd-performance@FreeBSD.ORG Sat Aug 13 06:35:45 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAE1F16A41F for ; Sat, 13 Aug 2005 06:35:45 +0000 (GMT) (envelope-from chrcoluk@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B53643D45 for ; Sat, 13 Aug 2005 06:35:45 +0000 (GMT) (envelope-from chrcoluk@gmail.com) Received: by wproxy.gmail.com with SMTP id i22so715825wra for ; Fri, 12 Aug 2005 23:35:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FssHBm1ZBUZPTtQHxsorRvQ3h8MOJqFdsW41MAyz8HTKDE+dfKu9IpM915plQdbJA9odd7a12QlzW/8q1G2DGdZxomm2Fkkd/I98Z4DIiZkuO0EDx7QlQnJfKnRqcHS7fjs8Oi5ePWxHB2i/UbxQ8HWS/Tw4IhQqs0UBH9446c4= Received: by 10.54.143.7 with SMTP id q7mr2405428wrd; Fri, 12 Aug 2005 23:35:44 -0700 (PDT) Received: by 10.54.113.3 with HTTP; Fri, 12 Aug 2005 23:35:44 -0700 (PDT) Message-ID: <3aaaa3a05081223352f69a959@mail.gmail.com> Date: Sat, 13 Aug 2005 07:35:44 +0100 From: Chris To: freebsd-performance@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: shell speed/priority X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2005 06:35:45 -0000 Hi I am looking at a way so that any fg apps I run in the shell are higher priority then normal and also to make the shell more responsive during a denial of service attack that saturates cpu. I would guess renice on sshd/bash be appropriate but there are numerous processes of each and if so which ones should I renice. 93898 p2 S 0:00.20 -su (bash) 25726 ?? Ss 0:03.04 /usr/local/sbin/sshd -u0 91543 ?? Ss 0:00.05 sshd: admin [priv] (sshd) Chris