Dear Sandeep, dmesg let's you peek into the kernel log buffer at any time - it's most common use is to log messages after boot up, but it can be used at any time. Try this:
#ifconfig eth0 down #ifconfig eth0 up And run dmesg after this - you'll see that messages appear indicating the status change for the card. Of, course, this only gives you access to the kernel message buffer. If you want to see messages logged by apps., you can use the syslog() function call. Regards, Varun Varma, --------------------------------------------- Mindframe Software & Services Pvt. Ltd., A-50, Sector-39, NOIDA, U.P. - 201301, India http://www.mindsw.com --------------------------------------------- ----- Original Message ----- From: "Sandeep Vasishta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 20, 2002 9:19 AM Subject: Re: [ilugd]: Log Messages > Thanks for your time. One more query: How can dmesg help me because it shows > all the messages when when system is booted first time. > > Regds, > Sandeep > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: http://mobile.msn.com > ================================================ To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org =================================================