hashcat Forum
Getting status of job that is run with nohup - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: General Help (https://hashcat.net/forum/forum-8.html)
+--- Thread: Getting status of job that is run with nohup (/thread-4839.html)



Getting status of job that is run with nohup - devilsadvocate - 11-23-2015

Can anyone offer some guidance on feeding the character, "s" (without the quotes) to a nohup'd oclHashcat process?  I would like to get a status update sent to either nohup.out (or even the oclHashcat log file).

I can run "pidof oclHashcat64.bin" and get a pid (in Linux, of course).

If I try this, it doesn't give me a status update.  I am following nohup.out with "tail -f nohup.out"

echo s > /proc/8797/fd/0
(8797 would be the pid)

I don't see a status update sent to nohup.out

I am running this on Ubuntu.  My understanding is that /proc/pid/fd/0 is not stdin on all Linux systems and this appears to be the case for Ubuntu.

Any guidance is appreciated.  Thanks.


RE: Getting status of job that is run with nohup - devilsadvocate - 11-23-2015

Found a good workaround with the 'screen' utility.

man screen

Nevermind. Have a good day.