Skip to content

shybovycha/proc_stat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

proc_stat

This project outputs some stats of each process running to the X window.

It uses Xlib for window handling and Qt for data processing (yeah, it sounds non-sense but the job is done well!).

To compile and run this you’ll need Qt4 libraries and Unix-like OS to link application with Xlib .

Compiling

First of all, make sure you’ve got Qt libraries installed. On my Ubuntu laptop i usually use something like this: sudo apt-get install qt4-dev-tools.
Whoa! And you’ll need Xlib development files, as well: sudo apt-get install libx11-dev.

Then, go to the qtmain-build-desktop/ directory and simply run make.

Modifying

If you need something more then providen, you can always modify source code by yourself! For example, to show TTY number or uptime for each process, you should modify regular expression and form a new string for QStringList result list within the void stat() function.

About

Application which outputs each process running states to the X window. It uses Xlib for output and Qt for data processing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published