Language Selection

English French German Italian Portuguese Spanish

Understanding /proc: Part 2

Filed under
HowTos

As it was shown in the first installment of the Understanding /proc series, the /proc filesystem can be extremely useful when it comes to finding out about the processes running on your Linux system (which might have something to do with why the kernel developers decided to name it 'proc'). But /proc is also handy when it comes to learning about the devices on your system. While it is currently being deprecated in favor of the /sys filesystem for device information, /proc can still provide some valuable insight as to what you have attached to (or inside of) your computer.

Before we continue, I think a little clarification is in order. Just what do I mean by a device?

Some would say that a device is anything with a driver. While this would include the expected physical devices like a USB controller, hard drive, or a network card, there are some objects with drivers that aren't physical devices like the null device (/dev/null) or the loopback device ('lo'). Others would argue that a device is only a physical device that you can take, pick apart, or basically just a tangible object.

For the purposes of this article, I choose to go with the latter definition, and not include the so-called "virtual" devices. These will be covered in the fourth and final installment of this series, covering miscellaneous things that one can do with /proc, as well as a few practical 'real-world' scenarios.

Full Story.

More in Tux Machines

Linux Foundation Sysadmins Open-Source Their IT Policies

The Linux Foundation is no stranger to the world of open source and free software -- after all, we are the home of Linux, the world’s most successful free software project. Throughout the Foundation’s history, we have worked not only to promote open-source software, but to spread the collaborative DNA of Linux to new fields in hopes to enable innovation and access for all. Read more

Libreation Of Ireland

The politics of Ireland have been complex but they were using GNU/Linux a lot back in 2008 according to StatCounter but there was a huge drop when “7” emerged. Slowly but surely, GNU/Linux is back in Ireland. Read more

Open Source’s money issue

These past years -and months- we have had several examples how lack of funding can cut a project’s ability to develop, patch and maintain its codebase and by project I mean developers not getting adequate money, if no money at all, for what they do. There is really two sides to the same coin here. There’s the one where an entire industry re-uses entire FOSS stacks or components, sometimes without even acknowledging it licence-wise or even just in name. And there’s the other side, where the same industry will not compensate anyone upstream, because the license terms enables simple reuse and distribution of those software components. Read more

Acer bets on Android gaming with $300 Predator 8 tablet

Is the market ready for an 8-inch slate running Android 5.1 Lollipop designed for gamers? We'll find out starting in November. Read more