Showing posts with label /proc. Show all posts
Showing posts with label /proc. Show all posts

Thursday, 31 December 2020

Working with the Linux /proc directory

This strange directory contains some interesting & useful stuff.

 

Accessing data contained in its files is pretty easy.

So in this post I explore its treasures with some simple Gambas code.

Wednesday, 27 August 2014

The Linux /sys Directory & the ASUS Backlight

The /sys directory is a bit like the /proc virtual file system which I discussed in my last post.


Continuing the "everything is a file" approach, the /sys directory gives you access to many system components and their parameters.


My prime consideration is whether I can control the display backlight on my laptop.

Wednesday, 20 August 2014

The Linux /proc directory

Within the Linux file system there is an unusual directory.


It contains apparently empty (0 bytes) files, and includes several numbered sub-directories.


So what's that all about?