From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Carl Christopher Bavington @ Langley" Newsgroups: gmane.os.tru64.managers Subject: sed append a\ problem. Date: Tue, 25 Feb 2003 14:31:24 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1046183528 2883 80.91.224.249 (25 Feb 2003 14:32:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2003 14:32:08 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18ng7p-0000k6-00 for ; Tue, 25 Feb 2003 15:32:05 +0100 Original-Received: (qmail 27540 invoked by uid 5); 25 Feb 2003 14:32:01 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27507 invoked by uid 49493); 25 Feb 2003 14:32:01 -0000 Original-Received: from Carl.Bavington@ntl.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.7/5.0):. Processed in 0.468675 secs); 25 Feb 2003 14:32:01 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 25 Feb 2003 14:32:00 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HAV008WJCD3JR@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 25 Feb 2003 09:31:59 -0500 (EST) Original-Received: from mast-dc0-sm01.private.ntl.com (cabletel1.cableol.net [194.168.3.4]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HAV00C1NCCNDN@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 25 Feb 2003 09:31:36 -0500 (EST) Original-Received: from mast-dc0-se03.private.ntl.com (unverified) by mast-dc0-sm01.private.ntl.com (Content Technologies SMTPRS 4.2.10) with ESMTP id for ; Tue, 25 Feb 2003 14:31:33 +0000 Original-Received: by mast-dc0-se03.private.ntl.com with Internet Mail Service (5.5.2653.19) id ; Tue, 25 Feb 2003 14:31:32 +0000 Content-return: allowed Original-To: "Tru64 Managers Mail Group \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:3428 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3428 Managers, I'm wanting to get vmstat to include the date, which is not a flag. I'm trying not to stick it in a loop with an echo date etc, but instead have a vmstat 5 720 (every 5 seconds for an hour). been piped into sed and appending the date. to each line. I'm having no luck with the syntax, any help much appreciated. Cheers, Carl Bavington Senior Technical Analyst (CAS) Tel: 01753 45(2082) ntl The contents of this email and any attachments are sent for the personal attention of the addressee(s) only and may be confidential. If you are not the intended addressee, any use, disclosure or copying of this email and any attachments is unauthorised - please notify the sender by return and delete the message. Any representations or commitments expressed in this email are subject to contract. ntl Group Limited