You are currently looking at an older section of the wincent.dev website.
Please check the new version of the site at https://wincent.dev/ for updated content.

wincent knowledge base

« How to file a good bug report | Main | Messaging nil »

December 3, 2004

Building pstree 2.26 on Mac OS X 10.3.6

I just tried grabbing the source to pstree, which is now up to 2.26, but it appears not to be on the FTP server anymore. Luckily you can still grab the source from here.

As is often the case, these instructions presume that you have the Xcode Tools installed, along with wget. There are instructions elsewhere on this site about how to install wget.

# make working directory
mkdir pstree
cd pstree

# fetch source, requires wget wget http://www.thp.uni-duisburg.de/pstree/pstree.tar.gz tar xzf pstree.tar.gz
# build, test and install gcc -O -o pstree pstree.c ./pstree sudo mv pstree /usr/local/bin/

Posted by wincent at December 3, 2004 12:06 AM