Need help with script.
#1
Hi.
I use ubuntu 11.10 os with one 6990 card and oclHashcat_0.09. I try to make fully automated system. Write script to start and restore process. Using ssh remote terminal checked all my script and it works perfect. After writing crontab i got 2 problems when oclHashcat-lite64 starts( anyway restore or start new progress ) :
1. Usage CPU 100%
Code:
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                
9112 user      20   0  262m  82m  23m S  101  2.1   0:46.94 oclHashcat-lite
2. Writing tmp file until all hdd space is used.
Second problem I solve - move stdout/stdin to /dev/null
*/10 * * * * /home/user/script > /dev/null 2>&1 </dev/null

Please help me to solve 1st problem.

Thanks in advance

#2
try using screen, it needs a tty otherwise it runs into a cpu burning loop.
#3
any other way start oclHashcat-lite automatically without user activity ?
#4
what's wrong with screen?
#5
computer without monitor Smile
#6
lol http://www.manpagez.com/man/1/screen/
#7
YES!!! It works perfect! Big thanks for help Smile