When debugging NetworkManager / wpa_supplicant -- fixing logs...

James Cameron quozl at laptop.org
Tue Dec 29 18:10:22 EST 2009


On Tue, Dec 29, 2009 at 04:05:46PM +0100, Martin Langhoff wrote:
> For people still looking at issues lurking in the
> NM/wpa_supplicant/driver interactions, I have written this simple
> script that helps correlate the wpa_supplicant logs (in
> seconds-since-boot) with the NM logs (timestamped by syslog).
> 
>   ? log-secs-to-utc.py < log-in-secs.log > log-in-utc.log

Are you sure about that code?  It doesn't use boottime.
Here's one derived from yours for processing dmesg.

Another fun one is to merge logs from various sources in time order ...
but you must watch for reordering within the second.

-- 
James Cameron
http://quozl.linux.org.au/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg-to-utc.py
Type: text/x-python
Size: 496 bytes
Desc: not available
URL: <http://lists.laptop.org/pipermail/devel/attachments/20091230/ba54d87e/attachment.py>


More information about the Devel mailing list