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 SkipVought 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: octar
  • Order by date
  1. octar

    Count pattern occurances per line?

    thanks, worked perfect ;-)
  2. octar

    Count pattern occurances per line?

    Hi, I have the following file: DRIVE10 DRIVE1 DRIVE2 DRIVE3 DRIVE4 DRIVE5 DRIVE6 DRIVE7 DRIVE8 DRIVE9 Date T50253 T30544 T30624 T10164 T50245 T50252 T10276 T10287 T10402 T50197 200501100000 T50253 T30559 T50245 T50252 T10276 T10287 T10402 200501100010 ... ... note...
  3. octar

    adding last line of multiple data files with a comma in it

    Brilliant... thankyou all for your help
  4. octar

    adding last line of multiple data files with a comma in it

    NOTE: I have discovered that three lines in the data files are missing the end numbers. eg. 27,234,234,89 01,123,435,32 instead of 27,234,234,890 01,123,435,320 Is it possible to check through the files and add the extra number if we find two number to the right of the comma?? ps. this...
  5. octar

    adding last line of multiple data files with a comma in it

    THanks for your quick response... We are almost there, here is the output from the last few dates I have using the awk script... 20041220 106698573 20041221 106953288 The problem is when I do the following: for i in $(ls *.data);do tail -2 $i;done | sort -n and import into excel I get...
  6. octar

    adding last line of multiple data files with a comma in it

    Hi, I have multiple files of the following format FILE1: Date Size 20041201 15,000 20041202 15,120 FILE2: Date Size 20041201 1,195,040 20041202 2,334,140 ETC... What I need to do is merge them into one file adding each respective line as it goes.. eg. MASTERFILE: Date...
  7. octar

    Merging multiple files into one

    Hi, I have around 300 files that I want to get merged into one file, their format is as follows: file1: DATE SERVERA 20041101 12 20041102 224 20041103 355 20041104 687 20041105 987 file2: DATE SERVERB 20041101 3 20041102 6 20041103 66 20041104 567 20041105 4445 file3: DATE SERVERC 20041101 1...
  8. octar

    lppchk -v error after migration of 4.3.3ML11 to 5.2.0ML3

    Hi, I'm getting the following error... # lppchk -v lppchk: The following filesets need to be installed or corrected to bring the system to a consistent state: bos.rte v<5 (not installed; requisite fileset) Can someone please explain? Current: # oslevel...
  9. octar

    Getting IP address info from a POST ??

    Hi, I have the following file that I'm trying to help a friend out with... basically it's a message board where people put posts in, lately some post are coming in that are not welcome. What I want to do is find out how I can get the IP address of each person that puts a post up?? and...
  10. octar

    Slow Backup over Gigabyte Network

    RCP TESTS: The following script was run on each server, does this point to a network issue or a server issue?? (GBFILE is a 1GB file) rcp $GBFILE anttsm01:/dev/null for HOST in $(cat /home/root/.rhosts | grep _gb); do echo &quot;---- $(hostname) to ${HOST} ---...
  11. octar

    Slow Backup over Gigabyte Network

    note: The gigabyte adapter is ent2 >lsdev -Cc adapter | grep ent ent0 Available 31-08 IBM 10/100 Mbps Ethernet PCI Adapter (23100020) ent1 Available 40-58 IBM 10/100 Mbps Ethernet PCI Adapter (23100020) ent2 Available 11-08 Gigabit Ethernet-SX PCI Adapter (14100401) >entstat...
  12. octar

    Slow Backup over Gigabyte Network

    STEP 1 Change: (As suggested) /usr/sbin/no -o rfc1323=1 /usr/sbin/no -o tcp_sendspace=131072 /usr/sbin/no -o tcp_recvspace=131072 /usr/sbin/no -o udp_sendspace=65536 /usr/sbin/no -o udp_recvspace=65536 LOCAL FTP >vmstat 5 kthr memory...
  13. octar

    Slow Backup over Gigabyte Network

    Hi, I have two model 7026-H80's and a M80 at AIX 4.3.3 ML 11 Recently the network was upgraded to use Gigabyte In doing so the backup times have not improved, I have performed the following tests to try to resolve but still not getting anywhere, can anyone provide advise on this? note: I have...
  14. octar

    rsh access

    I'm having problems using rsh from one sever (server1) to another (asking for password) (server2), the server (server1) is in the (server2) .rhosts file as well as other servers that I use and have no problems with. Is there anything I have overlooked?? thanks ps. I tried a search on the DB...
  15. octar

    Extracting certain blocks of information from a file

    Hi, I would like to grab specific information out of the /etc/qconfig file... what I want is everything in the block starting with printxxx and then pxxx eg. >cat /etc/qconfig print146: device = hp@p146 hp@p146: file =...
  16. octar

    Modify just one field on one line in many files !!!

    Perfect, thanks for your help Dickie Bird
  17. octar

    Modify just one field on one line in many files !!!

    That is nearrly got it, however... there is more then just one instance of + in the file, so this code changes all the + to ! which unfortunatly I don't want. I'm thinking of doing a nested loop eg. for i in printer files for j in cat each printer file when the line starts with...
  18. octar

    Modify just one field on one line in many files !!!

    Hi, I have recently created around 100 printers and need to modify one field in one line of each of the hundred configuration files: FILE: /var/spool/lpd/pio/@local/custom/prt001:hp@p001 FILE: /var/spool/lpd/pio/@local/custom/prt002:hp@p002 : : FILE...
  19. octar

    HACMP Configuration Q's

    Hi, I have a cascading cluster environment: With using printers, I want to know if on failover the printer queues will be taken over or do I have to define them on the system or in a script? Also I have also addedd nfs connections and updated the /etc/exports file along with my scripts, do I...
  20. octar

    Creating Printer Descriptions

    Mike, Thanks for the reference to the files however I want to know if I can get the users to view the location of the printer instead of pointing them to this file? Also can I just update this file with the following for example: desc = hpJetDirect located on level 20 section 5

Part and Inventory Search

Back
Top