source: tags/initial/SH/arb_who

Last change on this file was 2, checked in by oldcode, 24 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 263 bytes
Line 
1#!/bin/sh
2host=`uname -n`
3if test -f /usr/ucb/ps; then
4        /usr/ucb/ps auxw | grep arb_ | grep -v 'sh' | grep -v grep |grep -v '/bin/sh' | sed -e "s/^/$host\:/g"
5else
6        ps -auxw | grep arb | grep -v 'sh' | grep -v grep |grep -v '/bin/sh' | sed -e "s/^/$host\:/g" 
7fi
Note: See TracBrowser for help on using the repository browser.