Jump to content

Featured Replies

Posted

I've been writing an QT application for monitoring the /proc file system and am making it available.

 

It works like a file explorer except it only monitors /proc. The proc files system isn't like other fs, like Schroedinger's cat, it only exists when you look in the box. Therefore "normal" filesystem monitoring doesn't work. The application checks the fs for updates once a second and updates the file tree accordingly. This way when a process comes and goes it is reflected in the tree.

 

When a file is selected it is opened in a read-only window that updates on a selected interval. By default and as a minimum value every 10 ms.

 

I haven't written the help yet - it is a simple application and "man proc" can tell you about the material you are seeing.

 

So, if you are interested, you will require git to get the files and libqt4-dev to build the application. Many, if not most, installations will either come with these or have them as part of their package management system.

 

Once you know these dependencies are met it goes like this:

Code:

git clone https://github.com/softsprocket/procwatcher.git

cd procwatcher

qmake

make

./procwatcher

and as they say Bob's your uncle.

 

If you don't wish to install git you can download the files as a zip here: https://github.com/softsprocket/procwatcher/tree/master

 

You will still need: libqt4-dev

 

Enjoy! You might even find it useful.

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...