source: branches/port5/SH/arb_who

Last change on this file was 3154, checked in by westram, 20 years ago
  • grep for 'arb_' (instead of 'arb' only)
  • 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.