From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1IAG7C-0003Xa-B1 for garchives@archives.gentoo.org; Mon, 16 Jul 2007 02:15:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6G2DsnK012318; Mon, 16 Jul 2007 02:13:54 GMT Received: from webmail.icp-qv1-irony3.iinet.net.au (webmail.icp-qv1-irony3.iinet.net.au [203.59.1.108]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6G29WCE007565 for ; Mon, 16 Jul 2007 02:09:33 GMT Received: from 203-59-197-150.dyn.iinet.net.au (HELO moriah.localdomain) ([203.59.197.150]) by outbound.icp-qv1-irony-out1.iinet.net.au with ESMTP; 16 Jul 2007 10:09:28 +0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAGRvmkbLO8WW/2dsb2JhbACBSg X-IronPort-AV: i="4.16,540,1175443200"; d="scan'208"; a="156654048:sNHT3526170222" Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id 4A050A52219 for ; Mon, 16 Jul 2007 10:09:28 +0800 (WST) X-Virus-Scanned: amavisd-new at localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TwsKtqsX5Tpr for ; Mon, 16 Jul 2007 10:09:25 +0800 (WST) Received: from [192.168.50.73] (unknown [192.168.50.73]) by moriah.localdomain (Postfix) with ESMTP id 068677BD7D1 for ; Mon, 16 Jul 2007 10:09:24 +0800 (WST) Subject: Re: [gentoo-user] Collecting bootchart files after boot From: "W.Kenworthy" To: gentoo-user@lists.gentoo.org In-Reply-To: <20070716004957.GA26687@crowfix.com> References: <20070716004957.GA26687@crowfix.com> Content-Type: text/plain Date: Mon, 16 Jul 2007 10:09:24 +0800 Message-Id: <1184551764.4477.43.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 Content-Transfer-Encoding: 7bit X-Archives-Salt: ff09f480-1999-4e4d-9856-fc7f39e98c22 X-Archives-Hash: 8b9e875cf53f5b1f8c73347e6dc79881 untried: create another init.d script with an "after local.start" parameter - I think this works use a batch file to do the saving which includes a sleep command, then trigger it from local.start using nohup - this has worked for me in the past. Billk On Sun, 2007-07-15 at 17:49 -0700, felix@crowfix.com wrote: > I have been collecting bootchart info for each boot, curiousity and no > more. It is interesting sometimes to look at them and see if minor > tweaks can change things, but I have no serious use for the data. > Thus it took me a while to realize that the .png and .tgz files are > not generated until rc has finished the boot, which is after > local.start has run. I have code in local.start to save the current > bootchart.* files in a time-stamped dir for each boot, and they are > all off by one. It is more amusing than alarming. > > I understand why this happens. Is there any way to automatically run > a script like local.start but after rc finishes? I had thought of > putting something in local.stop to copy the current bootchart.* files, > but that smells a bit too kludgery. > > -- > ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. > Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com > GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 > I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- gentoo-user@gentoo.org mailing list