initial commit

This commit is contained in:
Fabio Scotto di Santolo
2020-07-28 19:28:25 +02:00
commit 4cc88d2f6e
245 changed files with 22820 additions and 0 deletions

13
chapter8/findslot Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/bash
#
# SCRIPT: findslot
# PURPOSE: This script is used to locate a blade server
# within the specified SUN blade chassis.
#
CHAS=$1
HOST=$2
SLOT=`/usr/local/bin/showplatform.exp $CHAS \
| /usr/bin/grep $HOST | cut -f 1 -d " "`
echo $SLOT