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: *

  1. horse123

    how to define time when using crontab -e

    Hi All, I would like to automatically execute a process every two hours with crontab. Initailly I defined it as: 120 7-20 * * * /sirsi/john/program_script_2 which has error "time bound" so I changed it to: 59 7-20 * * * /sirsi/john/program_script_2 But I really want to process it every two...
  2. horse123

    Buffer size cannot be 0

    Dear all, I'm running a report on Unix (SunOS 5.9 sun4u sparc SUNW,Sun-Fire-880)based application. Whe running the report, which was meant to backup application files, it gave an error "dd: buffer size cannot be zero"; as a result, all the scheduled reports were wiped out. Could anyone give me...
  3. horse123

    Unix sort problem

    Dear All, When I sort a file in GBK format(Chinese simplified GBK2312) on SunOS 5.9,there was an error: sort: can't read file_name: Illegal byte sequence I would appreciate it very much if anyone could help me with this problem and indicate how to fix it. Thank you very much John
  4. horse123

    printer prints unreadable chars

    Hi, I'm not sure whether my question can suit this forum. Anyway, we have an application for Chinese customers which after finishing some processes will print out a receipt. The application supports both GBK and UTF_8 character sets. However, the printout was unreadable. While usng notepad or...
  5. horse123

    create a filesystem on Sun Solaris 5

    Hi, What are the procedures and associated commands to create a filesystem on Un Solaris 5. Thank you. John
  6. horse123

    can't access/login a database

    Hi All, I imported a database into SQL Server 7,structure only. When I tried to connect to it via my application development tool(Uniface IDF), it generated an error "1556-Logon to database/network failed,status -9". I think there might be user right issue. I knew there was a "fix user script"...
  7. horse123

    installation of SQL server 7 and 2000

    Hi All, I have already installed SQL Server 2000 on my computer, for some reason I need to install SQL Server 7 on the same computer. Am I allowed to ...? Thanks in advance.
  8. horse123

    merge two files with same first column but different second column

    Hi All, I've got two files, The first one is a newer file which has two columns,the first column is separated from the second column by || for example,A101||load all| The other file has got three columns,for example, A101||????|load all| (the middle part is Chinese translation). There are...
  9. horse123

    cannot fork, too many processes

    Hi, We are running an application to access Oracle database on a Unix Solaris 5 Server. There are 65 -85 users and we get message as "cannot fork, too many processes" no more users can login the application. I checked the swap space got the following info: dev...
  10. horse123

    dual installation of Windows2000 server and Linux

    Is this the answer to my query from smartq??
  11. horse123

    dual installation of Windows2000 server and Linux

    Dear all,I'm not sure if this query has already been answered. Anyway I'd like to have some details regarding dual installation of Windows2000 server and Linux.I don't know which to install first, partition and disk space. Later on I'll also isntall Oracle server which is to be used by both...
  12. horse123

    sorting and outputing only unique records based on first field

    I solved this problem by adding a -u , so sort -t "|" -k 1,1 -u file_name > new_file_name I got an output with the same lines as when I used the following: "sort +0, -1, -u, -t "|" file_name > new_file_name"
  13. horse123

    sorting and outputing only unique records based on first field

    Hi, I've tried using the above command: sort -t "|" -k 1,1 file_name > new_file_name It results an output with same lines as the original file. I wonder ... but how to do with two pipes ||
  14. horse123

    sorting and outputing only unique records based on first field

    Hi I've got a file with about 20,000 records in the following lines (layout): XXXXXXXXX||XXXXX|XXXXX X means alpha-numeric chars I want everything in XXXXXXXXX||, which is a kind of first(field),to be unique and output to a separate file. I first did this with "sort file_name | uniq >...
  15. horse123

    How to automatically run a script

    Thank you all for my previous query about killing nonstpped processes. Now I have a script with lines as follows: ps -ef | grep cgiopac > cgio.ps kill -9 `awk '$1==&quot;nobody&quot; && $3==1{print $2}' <cgio.ps` How can I make it run automatically on the Unix server (AIX)? thanks in advance
  16. horse123

    write a script for killing some process

    Thank you all, guys. Now I have a script as follows: ps -ef | grep cgiopac > cgio.ps kill -9 `awk '$1==&quot;nobody&quot; && $3==1{print $2}' <cgio.ps` How can I make it run automatically on the Unix server (AIX)? thanks in advance
  17. horse123

    write a script for killing some process

    Hwo to write a script to killing process with &quot;nobody&quot; and &quot;1&quot; nobody 98208 1 0 13:20:31 - 0:00 cgiopac nobody 104896 1 0 13:17:26 - 0:00 cgiopac nobody 113322 1 0 13:20:18 - 0:00 cgiopac nobody 143702 1 0 13:13:56 -...

Part and Inventory Search

Back
Top