ADSM-L

Re: [ADSM-L] Colorful console mode output

2009-08-22 03:34:22
Subject: Re: [ADSM-L] Colorful console mode output
From: Yudi Darmadi <yudi AT NIAGAPRIMA DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Sat, 22 Aug 2009 12:44:22 +0700
What about windows console? What modification should i do in order to make
that script runs?


Best Regards,


Yudi Darmadi
PT Niagaprima Paramitra
Jl. KH Ahmad Dahlan No.25  Kebayoran Baru, Jakarta Selatan 12130
Phone: 021-72799949; Fax: 021-72799950; Mobile: 081905530830
http://www.niagaprima.com

----- Original Message -----
From: "Stef Coene" <stef.coene AT DOCUM DOT ORG>
To: <ADSM-L AT VM.MARIST DOT EDU>
Sent: Saturday, August 22, 2009 11:59 AM
Subject: Re: [ADSM-L] Colorful console mode output


On Saturday 22 August 2009, Michael Green wrote:
If you are like me and find it helpful to have administrative client
running in console mode (dsmadmc -console) while performing
administrative work on your server, you might find this little script
(below) handy. I also have a habit of leaving dsmadmc -console running
for prolonged periods of time in background and then when a problem
strikes I scroll the buffer up in order to see where and why it all
started. IMHO it's more convinient then fishing the details with 'q
act'.
All good, but one of the great inconveniences with 'dsmadmc -console'
that it doesn't pre/append timestamps to its messages as they enter
terminal. Also they are all of the same color (whatever foreground
color of your terminal is set to) and since the vast majority of the
messages are of ANR????I kind it might be difficult to spot, for
example, the error messages which under normal conditions are few and
far between.
Nice scripts (I have something similar), but I had to replace ^[ with \033
for
the colors to work on my linux box.


Stef