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

Open source licensing: What every technologist should know

If you’re a software developer today, you know how to use open source software, but do you know how and why open source licensing started? A little background will help you understand how and why the licenses work the way they do. Read more

Kali Linux 2017.2 Release

We are happy to announce the release of Kali Linux 2017.2, available now for your downloading pleasure. This release is a roll-up of all updates and fixes since our 2017.1 release in April. In tangible terms, if you were to install Kali from your 2017.1 ISO, after logging in to the desktop and running ‘apt update && apt full-upgrade’, you would be faced with something similiar to this daunting message: Read more Also: Kali Linux 2017.2 Released With New Hacking Tools — Download ISO And Torrent Files Here

Open source-based business lessons from a seasoned CEO

The default now is to build from open and in the open. So that's a positive. The downside is that by open source being the default, we may be getting a little lazy. If you remember back 5-10 years, open sourcing was a big deal, and it forced a level of rigor that may have led, in some cases, to founders and early investors taking better approaches to building their company—for example, shifting towards SaaS wherever possible, in part because of the ability to demonstrate clear value versus their own open source. Read more

Keeping up with advances in open source database administration

The world of open source databases is rapidly evolving. It seems like every day brings a new release of an open source technology that might make a database administrator's life easier, if only he or she knew about it. Fortunately, there are many ways to stay on top of what's going on with open source database technology. One such way is the Percona Live Open Source Database Conference, taking place next week in Dublin, Ireland. We've covered Percona Live before, and invite you to take a look back at some of our previous stories. From IoT to big data to working with the cloud, there's plenty to keep up with. Here are a look at a couple of the sessions you might enjoy, as described by the speakers. Read more