1<?xml version='1.0'?> 2<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> 4 5<article> 6 <section> 7 <title>udevmonitor</title> 8 <refentry> 9 <refentryinfo> 10 <title>udevmonitor</title> 11 <date>August 2005</date> 12 <productname>udev</productname> 13 </refentryinfo> 14 15 <refmeta> 16 <refentrytitle>udevmonitor</refentrytitle> 17 <manvolnum>8</manvolnum> 18 <refmiscinfo class="version"></refmiscinfo> 19 </refmeta> 20 21 <refnamediv> 22 <refname>udevmonitor</refname> 23 <refpurpose>print the kernel and udev event sequence to the console</refpurpose> 24 </refnamediv> 25 26 <refsynopsisdiv> 27 <cmdsynopsis> 28 <command>udevmonitor</command> 29 <arg><option>--environment</option></arg> 30 <arg><option>--kernel</option></arg> 31 <arg><option>--udev</option></arg> 32 <arg><option>--help</option></arg> 33 </cmdsynopsis> 34 </refsynopsisdiv> 35 36 <refsect1><title>DESCRIPTION</title> 37 <para>udevmonitor listens to the kernel uevents and events sent out by a udev rule 38 and prints the devpath of the event to the console. It can be used to analyze the 39 event timing, by comparing the timestamps of the kernel uevent and the udev event. 40 </para> 41 </refsect1> 42 43 <refsect1><title>OPTIONS</title> 44 <variablelist> 45 <varlistentry> 46 <term><option>--environment</option></term> 47 <listitem> 48 <para>Print the complete environment for all events. Can be used to compare the 49 kernel supplied and the udev added environment values.</para> 50 </listitem> 51 </varlistentry> 52 <varlistentry> 53 <term><option>--kernel</option></term> 54 <listitem> 55 <para>Print the kernel uevents.</para> 56 </listitem> 57 </varlistentry> 58 <varlistentry> 59 <term><option>--udev</option></term> 60 <listitem> 61 <para>Print the udev event after the rule processing.</para> 62 </listitem> 63 </varlistentry> 64 <varlistentry> 65 <term><option>--help</option></term> 66 <listitem> 67 <para>Print usage.</para> 68 </listitem> 69 </varlistentry> 70 </variablelist> 71 </refsect1> 72 73 <refsect1><title>AUTHOR</title> 74 <para>Written by Kay Sievers <email>kay.sievers@vrfy.org</email>.</para> 75 </refsect1> 76 77 <refsect1> 78 <title>SEE ALSO</title> 79 <para><citerefentry> 80 <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum> 81 </citerefentry></para> 82 </refsect1> 83 </refentry> 84 </section> 85</article> 86