[Techtalk] monitoring realtime stuffs on F1 console

Ritesh Raj Sarraf rrs_rhlist at softhome.net
Mon Sep 22 16:56:12 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

and if you need more & more output like say kernel debug messages and all
daemon messages, you can redirect your syslog daemon to do so..
i've got two options on it to say.
a)  redirect output from syslog to one of your vc.
eg.

in syslog.conf add a line.

*.*             /dev/tty8
and restart the syslog daemon.
*.* will allow all messages.

b) another option is a bit lengthy. suppose you are a desktop lover and prefer
working on desktop then:

create a piped object. for that you'll have to:
login as root and
mkfifo /dev/xconsole
chown root.tty /dev/xconsole

in syslog.conf add
*.* |/dev/xconsole

then use xconsole (part of xfree86 server package) to view the /dev/xconsole
contents.
xconsole -f /dev/xconsole

there's a drawback :-( you won't be able to get the output when you fireup the
xconsole command as a general user. for that you'll have to create a program
which changes permission on xconsole on execute.

i'm not sure if anyone would go with the second case. If you do go, mail me.
I'll mail you the source code or else do some googling.

rrs

On Monday 22 September 2003 12:03, Carla Schroder wrote:
> On Sunday 21 September 2003 3:31 pm, Conor Daly wrote:
> > On Sat, Sep 20, 2003 at 07:25:47PM -0700 or so it is rumoured hereabouts,
> >
> > Carla Schroder thought:
> > > On Saturday 20 September 2003 4:34 pm, Conor Daly wrote:
> > > > Try booting to text-only mode (runlevel 3 on RH,
> > > > runlevel 2 on debian?).  Login and then do 'startx'.  You should get
> > > > some of the diagnostics you mentioned back on tty1 at that stage.
> > > >
> > > > Conor
> > >
> > > You are a firken genius,
> >
> >             ^^^^^^^^^^^^^
> >
> > > Amazing how often it's a silly simple answer. :) And now I get to see
> > > the
> >
> >                            ^^^^^
> >
> > First I'm a genius, then I'm silly?  *humph* hake up yer mind eh?
> >
> > :-)
> >
> > Conor
>
> Well, since I have to choose only one.......
> .................................................

- -- 
Ritesh Raj Sarraf.
RESEARCHUT.
PH: 91-11-35207042
www.researchut.com
===================================================================================================================
OH! A FORTUNE.

'Twas midnight on the ocean,		Her children all were orphans,
Not a streetcar was in sight,		Except one a tiny tot,
So I stepped into a cigar store		Who had a home across the way
To ask them for a light.		Above a vacant lot.

The man	behind the counter		As I gazed through the oaken door
Was a woman, old and gray,		A whale went drifting by,
Who used to peddle doughnuts		Its six legs hanging in the air,
On the road to Mandalay.		So I kissed her goodbye.

She said "Good morning, stranger",	This story has a morale
Her eyes were dry with tears,		As you can plainly see,
As she put her head between her feet	Don't mix your gin with whiskey
And stood that way for years.		On the deep and dark blue sea.
		-- Midnight On The Ocean
- -------------------------------------------------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/btxb4Rhi6gTxMLwRAp8eAKCcALw7YuRBIvSNOkTbjm5RioVyDgCgk9ae
KjtqJc4m2ZDn67RzBupxyP8=
=lgm9
-----END PGP SIGNATURE-----



More information about the Techtalk mailing list