hashcat Forum
Need help with script. - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Ancient Versions (https://hashcat.net/forum/forum-46.html)
+--- Forum: Very old oclHashcat-lite Support (https://hashcat.net/forum/forum-22.html)
+--- Thread: Need help with script. (/thread-940.html)



Need help with script. - KRiZy - 02-21-2012

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




RE: Need help with script. - atom - 02-21-2012

try using screen, it needs a tty otherwise it runs into a cpu burning loop.


RE: Need help with script. - KRiZy - 02-21-2012

any other way start oclHashcat-lite automatically without user activity ?


RE: Need help with script. - undeath - 02-21-2012

what's wrong with screen?


RE: Need help with script. - KRiZy - 02-21-2012

computer without monitor Smile


RE: Need help with script. - undeath - 02-22-2012

lol http://www.manpagez.com/man/1/screen/


RE: Need help with script. - KRiZy - 02-22-2012

YES!!! It works perfect! Big thanks for help Smile