fixed psa a bit more to actually show windows processes too. found it couldn't print...
authorChris Koeritz <fred@gruntose.com>
Fri, 3 Jun 2016 15:17:18 +0000 (11:17 -0400)
committerChris Koeritz <fred@gruntose.com>
Fri, 3 Jun 2016 15:17:18 +0000 (11:17 -0400)
scripts/core/functions.sh

index c631a0aa342c3e46edc0d0cfa07afaec31f7fc36..b5bbf95d8b08407527a27f5a124e019ba2b13ea6 100644 (file)
@@ -261,7 +261,7 @@ if [ -z "$skip_all" ]; then
         # special case for windows.
         ps | head -1
         for curr in $p; do
-          ps -p $curr | tail -n +2
+          ps -W -p $curr | tail -n +2
         done
       else
         # normal OSes can handle a nice simple query.