AIX System Resource Controller - the missing command
A striking omission from the set of mksys, chssys, rmsys, lssrc, startsrc, stopsrc etc is a simple way to see the current configuration of a subsystem (for verification, cloning a setup to another machine etc).
Call it catsys or catsrc or something like that...
#!/bin/ksh
if [ $# != 0 ] ; then
if [ "$1" == "-s" ] ; then
shift
fi
odmget -q subsysname=$1 SRCsubsys
else
echo Usage: `basename $0` [-s] {subsystemname}
fi
Kudos to Leon Towns-von Stauber
Labels: aix sysadmin
0 Comments:
Post a Comment
<< Home