Not sure how to google this (I tried with some things and didn't get much) or how this is even called. This is my typical workflow:
- SSH to a server
- run something there and leave it running in the background (bg command for example)
- exit SSH and come back later
Is there any way I could, when I come back later, see if the process was killed and on what status it was killed (segfault or something else) or get any kind of exit status information of the process I was running? For example, if I run it normally and leave my terminal open, it will print segmentation fault or something else, but I have no idea how to obtain this status once I disconnected and connected back again.