I'm blanking on this one. I know there is a better way to do this.
if [ $opt3 -eq "FAILED" -o $opt3 -eq "failed" ]
Something like
if [ $opt3 -eq "FAILED||failed" ]
or
if [ $opt3 -eq "FAILED" -o "failed" ]
but I can't get it to work.
I'm running a P-570 with 20Gigs memory installed and I've ordered an additional 8 Gigs DIMMs. I'm planning on installing the new memory, however the FRUs are different from the new and what is installed and IBM is saying it will not be configurable. I'm running other servers with memory DIMMs...
I'm running a DS4300 with Flash copy to a P-570 with 6 LPARs and I'm thinking through the backup/restore scenario. My thoughts are to bring down the app and oracle, flash the drive, then bring everything back up. Then mount the VG of the flashed drive to a backup LPAR and move it to tape for...
I have a server we cloned that is having some issues using rsh. I think the reason is differences in hostname and netstat -i.
When I issue hostname I get the correct hostname. When I issue netstat -i I still get the old hostname. I've removed the en0 interface and reconfigured it with no...
I'm getting an error trying to add a disk to both my datavg and rootvg. I also get this error while creating a new vg with this disk.
myserver:/> extendvg datavg hdisk4
0516-050 extendvg: Not enough descriptor area space left in this volume
group. Either try adding a smaller PV or use...
I have a list generated by a SQL script. The list is a date and number per line.
Ex: 10-02-04,3234
10-03-04,280
10-04-04,9843
The problem is I need something to compare the date from line 1 to line 2 and if there are the same add the number from line 2 to line 1. The end result...
Hey guys, I have an Expect question. I'm trying to capture the result of a send back to the console after spawning a telnet to another server. Kinda like
spawn telnet servera
send $command
then display the result of the $command back to the console with out all the other login and prompt...
I have a Expect script that works for my prompts but we are thinking about sharing it w/ other UNIX groups within the company. Problem is their prompts are most likely different. So what I need to do is something like this:
expect -exact "login:"
send -- "$user\r" #user...
I have an AIX 5.1 ML03 system that is not incrementing failed login counts past 1 and therefore not locking out users who are past 5 failed attempts. I also tried to do a chuser unsuccessful_login_count=2 user and there is no change. And doing a lsuser "user" does not display the...
I have written an Expect script to go out and run a command on another host which works great. From the command line I call it by
./myExpect <hostname> <myuid> <mypass> <command>
<command> has to be in double quotes if it is more than one word i.e. "touch junk" for Expect to work...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.