Re: Is there a way to create kernel log messages via Python?

2012-10-16 Thread Marco Nawijn
On Tuesday, October 16, 2012 5:43:28 AM UTC+2, J wrote: Hi... I have a bit of code that does the following: uses the syslog module to inject a LOG_INFO message into the syslog on my linux machine runs a suspend/resume cycle uses the syslog module to inkect a LOG_INFO

Re: Is there a way to create kernel log messages via Python?

2012-10-16 Thread Jerry Peters
J dreadpiratej...@gmail.com wrote: Hi... I have a bit of code that does the following: uses the syslog module to inject a LOG_INFO message into the syslog on my linux machine runs a suspend/resume cycle uses the syslog module to inkect a LOG_INFO message marking the end of test. Then

Re: Is there a way to create kernel log messages via Python?

2012-10-16 Thread Andrew Cooper
On 16/10/2012 04:43, J wrote: Hi... snip So, what I REALLY want is to inject my start/stop markers into klogd rather than syslogd. This will, I hope, give my markers kernel timestamps rather than syslog timestamps which are not as accurate. So does anyone know of a way to do this?

Is there a way to create kernel log messages via Python?

2012-10-15 Thread J
Hi... I have a bit of code that does the following: uses the syslog module to inject a LOG_INFO message into the syslog on my linux machine runs a suspend/resume cycle uses the syslog module to inkect a LOG_INFO message marking the end of test. Then I parse everything between the start and stop