Gnome Process Tree

Introduction

The gnopstree is a program to display via GNOME/GTK the Unix processes as a tree or forest; the roots of the tree are on the left-hand side and the leaf processes (with no children) are on the right-hand side. The status of each process (running, sleeping, stopped, etc.) can be indicated by a color. Different users can appear as different colors too.

Within each level, processes are grouped so that those with the same parent process id are grouped together. Within this, processes are arranged by userid with lower number uid's appearing towards the top. In general, the order of children is the order in which they were spawned, with the older processes appearing towards towards the top.

In contrast to pstree and many tree-widget based programs, the overall tree display uses diagonal lines; some effort is made to effectively use the full 2-dimensional area of the screen by balancing levels and centering the children of a node between their parent. A goal of the program is to give a picture of what's going on. When possible, processes are kept close to their parents so one needn't scroll around too much and so that there isn't a lot of redrawing as processes are created or destroyed.

One can click on a process to get more information (via ps) about that process, send a signal to the process, or set its priority, assuming you have the permission to do so. Since programs of this ilk can consume a bit of CPU on their own, some effort has been made to turn off the update process when the program is iconified or not visible.

Here is a screenshot of the program in action.


Systems Supported

gnopstree uses GNOME/GTK+ and assumes a Unix-like ps structures. See the README file included with the gnopstree distribution for more details.

For an older version of this program which uses Motif instead of GNOME/GTK+, see xps.

Download

Get the latest source (0.76) from here.

This program is covered by the GNU General Public License (GPL). More information about the license can be found here.

Documentation

See the manual page also included with the gnopstree distribution for more details.

A LISA 2000 Conference paper has a bit about the display design behind the program. It gives things to think about and figures showing some of the problems.

Thanks!

This project is hosted by Sourceforge.net. The project home page is here. CVS source is here

Getting Help

Currently there's only one mailing list for help, discussions about code, and anything else concerning gnopstree.


$Id: index.html.in,v 1.3 2003/03/23 01:47:00 rockyb Exp $