|
|
missing ptree
Your hint reminded me that I missed ptree whenever I was not using Solaris. I use Solaris, FreeBSD, Darwin, and Linux. On Linux I have pstree which is a lot like ptree on Solaris but I use so many different machines that it is not practical for me to compile pstree on all of them. Hence I wrote a little shell script ptree that I use instead. It is usually mounted somewhere and if not I can easily get it onto the new machine:
ptree:
It uses otree to do its work. This is a generally useful awk script for displaying tree-like output. Put otree in the same directory where you put the ptree script.
otree:
I like my little ptree script so much that I use it even on Solaris. This is mainly because anywhere I can tack on the -o user option and get the username listed as well. Here are some ways to call it:
You can tack on whatever options you like, most work fine. For example on Darwin and BSD I use -c or -www often.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.23 seconds |
|