Search results

  1. P

    Bash: Influence amount of pipe data?

    Its a virtual private server and the terms of service say that I should not use the CPU at 100% for a long time (only for bursts). The process take lets say 3h. For me it would be ok to reduce the CPU load to 10%, so the process takes 30h. I found this solution: cpulimit --limit=10 -b...
  2. P

    Bash: Influence amount of pipe data?

    Hello Forum, I have two programs connected with a pipe. The pipe writes every friday text lines (newline ended) to a second process who processes them. Sometimes it takes several hours. Is it possible to set the amount of textlines per second that goes through the pipe? Maybe by putting a third...
  3. P

    How to start shell expansion at a specific point?

    Thanks for the advice :) I could also use cp -n. My problem is more general, because this happens also with other commands. For example if the last processed file was Lnxxxxxx and the next file will be Loxxxxxxxx, I write this expansion: cp L[o-zA-Z]* [M-Z]* But then I always have to check...
  4. P

    How to start shell expansion at a specific point?

    Hello Forum, often I have the problem that I want to process some files with a shell command. Then an error occurs with a file. I fix it and then I want to proceed after the file. Example: cp /mydir/* /otherdir The error occurs with file '/mydir/fffx'. What would be a fine way with shell...
Top