> Hi, > I have a design question. > I am creating a module that will dispense statistics and debugging > information. > What is the more correct way to dispense this information? The information > will look like a result of ps -ax or dmesg or top, etc... > Use /proc? /sys? use the device /dev? > I want it to be as simple to access as possible. > 10x. I would say, use procfs if you have to dispense it all in a big mess at once, and sysfs if you can break it up hierarchically and provide information in a single-variable-at-a-time manner. Using a misc character device is more appropriate for the situation in which the results are a result of "request-response" with a client where it produces requests of your module with arguments not easily represented by separate procfs files. Of course, I'm new, so add salt to taste. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ