This program is in alpha, though totally usable.

pscpug will graph the CPU percent of a process.  The process ID of the 
process to watch must be given on the command line.  Optionally, 
the time to wait between each graph redraw can be specified.

Usage is:
pscpug [-w wait time for refresh] pid

...for example:
./pscpug -w1 5054
...will graph the specified PIDs from 0% to 100% cpu usage every second.

The program requires curses or ncurses.



BUILD & INSTALL

make
make install (optional, as root, if you program installed in /usr/local)



KNOWN ISSUES:
* At this point, pscpug is only expected to run on 
  BSD and Linux flavors.  Feel free to try to build and 
  run it on other unix-like OSes, however, the program may
  simply not work at all.
* If you make a command line argument such as -w 0, you'll
  notice that pscpug will run really fast.  It will also eat 
  lots of CPU time.  This is probably a feature.
* If you run pscpug on a dumb terminal, there will be upsettingly
  little information about the process.  Namely, nothing.



TO-DO
* Maybe poll multiple process IDs off the command line, possibly 
  in different colors or something.
* Support for Sun, other bizarre unix flavors.
* Test on other BSDs and Linux distros.  As of now, I've tested it 
  on NetBSD, Mac OS X, and some Linux box.


If you notice any issues, please e-mail me at mercadal@diablonet.net
and tell me what's up.  Thanks!
