From owner-freebsd-current@FreeBSD.ORG Thu Oct 7 01:01:34 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57A8016A4CE for ; Thu, 7 Oct 2004 01:01:34 +0000 (GMT) Received: from tethys.ringofsaturn.com (tethys.ringofsaturn.com [66.13.175.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id C620F43D2D for ; Thu, 7 Oct 2004 01:01:33 +0000 (GMT) (envelope-from rnejdl@ringofsaturn.com) Received: from mail.ringofsaturn.com (localhost [127.0.0.1]) i9711WAr004624; Wed, 6 Oct 2004 20:01:33 -0500 (CDT) (envelope-from rnejdl@ringofsaturn.com) Received: from 66.13.175.242 (SquirrelMail authenticated user rnejdl); by mail.ringofsaturn.com with HTTP; Wed, 6 Oct 2004 20:01:33 -0500 (CDT) Message-ID: <61583.66.13.175.242.1097110893.squirrel@mail.ringofsaturn.com> In-Reply-To: <20041006180405.6a3b8407@vixen42.24-119-122-191.cpe.cableone.net> References: <200410060019.i960JSbq012606@bunrab.catwhisker.org> <1F92A08DB846503C2933CB0D@192.168.1.16> <20041006010051.GA53821@sirius.speicher.org> <20041006065433.GB612@loge.nixsys.be> <136a340a041006002068ffbf8d@mail.gmail.com> <20041006114235.79eb1aee@it.buh.tecnik93.com> <136a340a04100604021216f931@mail.gmail.com> <20041006180405.6a3b8407@vixen42.24-119-122-191.cpe.cableone.net> Date: Wed, 6 Oct 2004 20:01:33 -0500 (CDT) From: "Rusty Nejdl" To: "Vulpes Velox" User-Agent: SquirrelMail/1.5.1 [CVS] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on tethys.ringofsaturn.com X-Virus-Status: Clean cc: Nikolay Kalev cc: freebsd-current@freebsd.org Subject: Re: csh is root's shell? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: rnejdl@ringofsaturn.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 01:01:34 -0000 > > How do you get the time thing working? > > > Pasted this into my .cshrc, but it did not have any affect... :/ > set time=(8 "\ Time spent in user mode (CPU seconds) : %Us\ > Time spent in kernel mode (CPU seconds) : %Ss\ > Total time : %Es\ > CPU utilisation (percentage) : %P\ > Times the process was swapped : %W\ > Times of major page faults : %F\ > Times of minor page faults : %R") > > Run something that takes a bit of time and after it is done, it will report that details. In the case above, it has to run for over 8 seconds. For example: [tethys]:/root# cvsrun Subject: tethys.ringofsaturn.com weekly cvsup run output Parsing supfile "/usr/local/etc/cvsup/current-supfile" Connecting to cvsup17.freebsd.org Connected to cvsup17.freebsd.org Server software version: SNAP_16_1h Negotiating file attribute support Exchanging collection information Establishing multiplexed-mode data connection Running Updating collection src-all/cvs Edit src/gnu/lib/libregex/Makefile Add delta 1.28.2.1 2004.10.06.23.36.20 peter Edit src/gnu/usr.bin/cvs/cvsbug/Makefile Add delta 1.19.4.1 2004.10.06.23.40.48 peter Edit src/gnu/usr.bin/cvs/lib/Makefile Add delta 1.25.2.1 2004.10.06.23.40.48 peter Edit src/sys/kern/kern_sig.c Add delta 1.289.2.2 2004.10.06.23.44.16 davidxu Edit src/tools/lib32/build32.sh Add delta 1.1.2.1 2004.10.06.23.37.35 peter Updating collection ports-all/cvs Shutting down connection to server Finished successfully Time spent in user mode (CPU seconds) : 13.649s Time spent in kernel mode (CPU seconds) : 8.480s Total time : 1:23.92s CPU utilisation (percentage) : 26.3% Times the process was swapped : 0 Times of major page faults : 30 Times of minor page faults : 816 [tethys]:/root# Rusty Nejdl