[Swift-commit] r5095 - usertools/persistent-coasters

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Thu Sep 8 10:31:29 CDT 2011


Author: wozniak
Date: 2011-09-08 10:31:29 -0500 (Thu, 08 Sep 2011)
New Revision: 5095

Modified:
   usertools/persistent-coasters/helpers.zsh
Log:
Include p()


Modified: usertools/persistent-coasters/helpers.zsh
===================================================================
--- usertools/persistent-coasters/helpers.zsh	2011-09-08 14:58:32 UTC (rev 5094)
+++ usertools/persistent-coasters/helpers.zsh	2011-09-08 15:31:29 UTC (rev 5095)
@@ -65,6 +65,16 @@
   return 0
 }
 
+p()
+{
+  if [[ `uname` = "SunOS" ]]
+  then
+    ps
+  else
+    ps -H -o ppid,pid,time,cmd | grep --color -v "ps -H\|xload"
+  fi
+}
+
 bail()
 {
   CODE=$1




More information about the Swift-commit mailing list