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

KDevelop 5.0.0 release

Almost two years after the release of KDevelop 4.7, we are happy to announce the immediate availability of KDevelop 5.0. KDevelop is an integrated development environment focusing on support of the C++, Python, PHP and JavaScript/QML programming languages. Many important changes and refactorings were done for version 5.0, ensuring that KDevelop remains maintainable and easy to extend and improve over the next years. Highlights include much improved new C/C++ language support, as well as polishing for Python, PHP and QML/JS. Read more

CoreOS 1068.10.0 Released with Many systemd Fixes, Still Using Linux Kernel 4.6

Today, August 23, 2016, the development team behind the CoreOS security-oriented GNU/Linux operating system have released the CoreOS 1068.10.0 stable update, along with new ISO images for all supported platforms. Read more

SUSE Linux and openSUSE Leap to Offer Better Support for ARM Systems Using EFI

The YaST development team at openSUSE and SUSE is reporting on the latest improvements that should be available in the upcoming openSUSE Leap 42.2 and SUSE Linux Enterprise 12 Service Pack 2 operating systems. Read more

Create modular server-side Java apps direct from mvn modules with diet4j instead of an app server

In the latest release, the diet4j module framework for Java has learned to run modular Java apps using the Apache jsvc daemon (best known from running Tomcat on many Linux distros). If org.example.mydaemon is your top Maven project, all you do is specify it as the root module for your jsvc invocation, and diet4j figures out the dependencies when jsvc starts. An example systemd.service file is available.