ADSM-L

Getting events formatted better????

2002-05-30 21:48:32
Subject: Getting events formatted better????
From: Mark Brown <mark.brown AT MCGILL DOT CA>
Date: Thu, 30 May 2002 21:30:45 -0400
Hello,

I have been using a "q event * * node=* begindate=today-1 enddate=today
begintime=08:00 endtime=06:30 format=detailed"
command for quite a while. I output the info into a web page for
Operations staff to read. I am tired of
having to move the page to the right to see the status. I've got it so
that COMPLETED is green and MISSED is
red and other conditions are blue.

I can use the "select node_name from events ............." for a
different output but I don't like the missing info
from the "q events" command.

I am looking for a script that rearranges the columns from the "q
events" command
to put the node name first and the status second and whatever order I
want the rest.

I've tried using awk and while it works I can't get the columns lined up
nice and neat.

Any help out there for this??

--
 --------------------------------------
 --------------------------------------
|Mark Brown                            |
|Operations Supervisor                 |
|                                      |
|Networking and Communications Services|
|Operations                            |
 ======================================
|Tel      ---> 514-398-2321            |
|Fax      ---> 514-398-6876            |
|E-mail   ---> Mark.Brown AT mcgill DOT ca    |
 --------------------------------------
<Prev in Thread] Current Thread [Next in Thread>
  • Getting events formatted better????, Mark Brown <=