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 bkrike 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: UsRb
  • Content: Threads
  • Order by date
  1. UsRb

    PHP date form

    Hi, I'm sorry if this question is not for this forum. I have php date form like drop down menu, separate for day, month and year. In browser (ffox and IE) day and year appears ok, but month doesn't, it only lists months but there's no drop down menu. This is the case on windows. On linux...
  2. UsRb

    Proliant ML 350 G4p mix different disks

    Hi, I'm not sure if this thread goes here, correct me if I'm wrong. I have this HP server with Smart array 642 controller with 6 slots for Ultra SCSI 320 drives. I also have 4 HP 72GB disks 15k and 2 IBM 73GB 10k. When I put them together, I cannot create RAID because I do not see IBM disks in...
  3. UsRb

    Proliant ML 350 G4p mix different disks

    Hi, I'm not sure if this thread goes here, correct me if I'm wrong. I have this HP server with Smart array 642 controller with 6 slots for Ultra SCSI 320 drives. I also have 4 HP 72GB disks 15k and 2 IBM 73GB 10k. When I put them together, I cannot create RAID because I do not see IBM disks in...
  4. UsRb

    ITDS 6.3 aixaccount object class issue

    Hi2all I installed TDS v6.3 successfully on AIX 6.1. I have created simple tree with organization ou and organizationalunit ou. Now I'm trying to add user for AIX system using AIXaccount object class, but this step fails with: 03/24/11 15:00:29 GLPCOM009E The attribute cn is not allowed for...
  5. UsRb

    test variables based on previous variable count :-)

    Hi2all! I'm reading a file which looks like this: 232,544,7656,548 33,45 344,576,7656 User copies and pastes one line: read i echo $i| sed 's/,/\n/g' | while read i; do command done Now in next step, I need to know how many "words" were in pasted line and based on that count, test them like...
  6. UsRb

    one client disk 2 vios scenario problem

    Hi2all! I have strange problem, using 2 vios scenario and one client partition. On client I see two disks using same PVID, but on different paths, and can not get it to failover when vios 1 is rebooted or turned off. Client: root@hostname #lspv hdisk0 00c5d3402e990f5c rootvg active hdisk1...
  7. UsRb

    migratepv duration

    Hi2all! I need a quick answer from someone experienced with migratepv command and SAN disks. How long aprox does it take to migrate lv to another disk? I know this is hard to answer without exact facts, but what can I expect, 20/50/100 MB/s? Application will be powered off so no read/writes...
  8. UsRb

    2 clusters and NFS question

    Hi2all! I have up and running 2-node 2 clusters. One cluster needs to be NFS server, and the other cluster is NFS client. I know where to export NFS directories controlled with HACMP, but where do I specify NFS mount points to be automatically mounted when cluster with nfs client does failover...
  9. UsRb

    SED remove pathlike string from file

    Hi2all, if I have string "/mbu/data/cms" and I want to delete line that contains that string, I would do following: variable i is automatically created from another file: $i=/mbu/data/cms sed "/$i/d" file Ouput is "sed: 0602-410 The first regular expression cannot be null." because of...
  10. UsRb

    Recursive line append with sed

    Hi2all, I have file 1 which contents are: #PTEDFLE 10.228.101.180 #PTEDFL8 10.228.101.180 #PTEDFLB 10.228.101.180 #PTEDFLF 10.228.101.176 #PTEDFLP 10.228.101.154 #PTEDFLN 10.228.101.154 #PTEDFLM 10.228.101.154 and other file 2 which holds data from first column of file 1. I want to append...
  11. UsRb

    sudo problem

    Hi all I am trying to execute following command as user asterisk, as I want to change password of user itudja: sudo -u itudja passwd Now, he asks me for password of user asterisk before executing passwd command. Can I avoid that and how in sudoers file? Thanx
  12. UsRb

    Execute command through while loop

    Hi, I have following code: while read f; do ssh mbu-ibm-hmc1 lssyscfg -r lpar -m Server-9117-MMA-SN655D340 -F name,state --filter lpar_names=$f; done < 1 1 is a file containing lpar names: mbu-test-uat-cms-dbms-01 mbu-pci-euroit-dbms-03 mbu-pci-euroit-dbms-02 mbu-pci-test-dbms-01...
  13. UsRb

    Add command output after number of existing lines

    If my first command output is 5 lines: lpar1,1024,2048 lpar2,1024,2048 lpar3,2048,4096 lpar4,2048,8192 lpar5,512,1024 Now I execute second command which gives me another 5 lines 1,2,3 2,3,4 3,4,5 4,5,6 5,6,7 I want to add second command's output so it will all be in one line, like this...
  14. UsRb

    Add text before lines in command output

    Hi2all, I have following command in HMC: lssyscfg -r prof -m Server-9117-MMA-SN655D350 -F lpar_name,min_mem,desired_mem --header which gives me the following output: lpar_name,min_mem,desired_mem lpar1,1024,2048 lpar2,1024,2048 lpar3,2048,4096 What I want is to add in the begining of every...
  15. UsRb

    Delete last argument in file

    Hi2all I have listed content of backup directory in file popis.log by date (ls -lt). Now I want that script automatically deletes the oldest directory in popis.log (just one because backup directory fills with one directory every day). How can I specify deletion of last argument in popis.log...
  16. UsRb

    Copy contents of a file script

    Hi 2 everyone I am trying to make a script that goes like this: ls directory >> 1.log ls directory1 >> 2.log diff -e 1.log 2.log >3.log Now, the content of 3.log is a list of files I want that files to copy from one directory to another. How? Thanx in advance....

Part and Inventory Search

Back
Top