2 ################################################################################
5 # RCS: $Header: lspatches,v 1.1 97/04/21 14:23:58 defaria Exp $
6 # Description: Lists patches for a 10.x machine
7 # Author: Andrew DeFaria, California Language Labs
8 # Created: Mon Nov 13 16:14:30 1995
9 # Modified: Mon Nov 13 16:16:56 1995 (Andrew DeFaria) defaria@spock
10 # Language: Korn Shell
12 # (c) Copyright 2001, Andrew@DeFaria.com, all rights reserved
14 ################################################################################
15 # First source the appserver script
16 if [ -x /app/appserver ]; then
21 print -u2 "Patches for $(uname -n):"
22 /usr/sbin/swlist -l product | grep PH
24 for machine in "$@"; do
25 print -u2 "Patches for $machine:"
26 remsh $machine -n /usr/sbin/swlist -l product | grep PH