Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shybovycha/proc_stat
Application which outputs each process running states to the X window. It uses Xlib for output and Qt for data processing
https://github.com/shybovycha/proc_stat
Last synced: about 1 month ago
JSON representation
Application which outputs each process running states to the X window. It uses Xlib for output and Qt for data processing
- Host: GitHub
- URL: https://github.com/shybovycha/proc_stat
- Owner: shybovycha
- Created: 2012-01-28T18:00:47.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-02-02T08:00:27.000Z (almost 13 years ago)
- Last Synced: 2024-11-03T21:57:48.860Z (3 months ago)
- Language: C++
- Homepage:
- Size: 316 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
h1. 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":http://developer.qt.nokia.com/ libraries and Unix-like OS to link application with "Xlib":http://en.wikipedia.org/wiki/Xlib .
h2. 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*.
h2. 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.