From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Kirkland, Mike # IHTUL" Newsgroups: gmane.os.tru64.managers Subject: Summary: Unix to microsoft excel format Date: Thu, 30 May 2002 18:19:32 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <4242F92CA015D5119B9600600834014241A2EF@claven.cistech.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1022802010 13661 127.0.0.1 (30 May 2002 23:40:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 30 May 2002 23:40:10 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17DZWb-0003Y7-00 for ; Fri, 31 May 2002 01:40:10 +0200 Original-Received: (qmail 12415 invoked by uid 5); 30 May 2002 23:20:47 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12407 invoked from network); 30 May 2002 23:20:47 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 30 May 2002 23:20:47 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GWY009KD66N6P@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 30 May 2002 19:20:47 -0400 (EDT) Original-Received: from smtp1.ndchealth.com ([206.227.220.50]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GWY00B7L668S7@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 30 May 2002 19:20:32 -0400 (EDT) Original-Received: from claven.cistech.com (claven.cistech.com [198.200.166.25]) by smtp1.ndchealth.com (8.11.6/8.11.6) with ESMTP id g4UNKVF06276 for ; Thu, 30 May 2002 19:20:31 -0400 Original-Received: by claven.cistech.com with Internet Mail Service (5.5.2653.19) id ; Thu, 30 May 2002 18:19:33 -0500 Content-return: allowed Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:389 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:389 Thanks to all who replied :)!, Greg Freemyer, Charles Ballowe, Robert Mulley, Glenn Harrison, Mandell Degerness and Mathew Butler. My original question and their replies are below: Hi everyone, I know there is a simple way of formating data on unix so excel can use/import it in. I want to do some system monitoring and produce some graphs, but forgot how it could be done. Thanks, Greg: .csv files i.e. Comma Separated Values Charles: comma delimited or tab delimited text files can be imported into excel, but there's graphing packages out there that can be used on unix. gnuplot is a popular one. I've been known to just write perl + libgd code to draw what I needed. Once code like that is written, your daily cron job can just spit the graphs out to a web page without ever having to go through a MS box and it becomes a largely hands off task. (The windows people here are constantly handing me Excel files with data that they expect me to use in a script or something leaving me to do the format conversion before anything can be done. windows is evil, but i'll spare you that rant.) -charlie Robert: I don't believe there is anyway to save data in excel format. However, if you just save the data tab delimited or as a comma seperated file, then excel will have no problems importing it. Just recently I used tab delimiting and saved the file as .xls which when opened by excel it automatically imported it into the correct columns/rows. Glenn: Typically, you would export the data from your unix app in csv (comma separated values) format. Excel can import this. You can also use tab-delimited and a few others, but csv is the most common. Mandell: The way I do it is to format the data as a CSV (comma separated variable) file. Once I have created the file, I e-mail it to myself with the command: uuencode mydata.csv mydata.csv | Mail -s "MyData File" Mandell.Degerness@gems2.gov.bc.ca Mathew: Just put your UNIX data in comma separated value format (.CSV).