Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: grepper
  • Content: Threads
  • Order by date
  1. grepper

    IF string matching

    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.
  2. grepper

    P-570 Memory upgrade

    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...
  3. grepper

    Flash Copy/Backup solution

    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...
  4. grepper

    Differences in hostname and netstat -i

    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...
  5. grepper

    Not enought decriptor space?

    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...
  6. grepper

    Need script ideas

    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...
  7. grepper

    Expect exec or something like it question

    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...
  8. grepper

    Expect prompt question

    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...
  9. grepper

    unsuccessful_loging_count not incrementing

    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...
  10. grepper

    Passing a string to another script

    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. &quot;touch junk&quot; for Expect to work...

Part and Inventory Search

Back
Top