In my example, I am running a command that takes very long to be executed (several hours).
I don't really remember if I entered make or make -j4.
Of course I could stop it and press up key or check history to know it, but that would stop the process and I don't want that to happen (in case it is already doing make -j4).
Is there any way to know which command is being executed without stopping the process?