We help IT Professionals succeed at work.

Centos see process

3XLcom
3XLcom asked
on
I was installing a software to my cent os via ssh and it has been drop connection cause of ssh time out.
By the way , when i check for ps aux i should see the command :


root      3062  0.0  0.1  63844  1236 pts/0    S+   17:26   0:00 sh latest


and i want to connect program again how should i do it ?
Comment
Watch Question

CERTIFIED EXPERT

Commented:
Simply login again
CERTIFIED EXPERT
Commented:
And you can use nohup so that if the session times out again, the processes keep running

nohup command

Author

Commented:
i have logged out from ssh so when i log in back the same screen does not come.
nohup not worked i want to return an existing app.
CERTIFIED EXPERT

Commented:
What was the existing app?

Actually, when you logout, the processes running are killed except if they were running in background with either nohup or disown

Also, you can increase your ssh timeout by
echo “7200¿ > /proc/sys/net/ipv4/tcp_keepalive_time

Author

Commented:
ok but i need to go back to app. i was installing centos
CERTIFIED EXPERT

Commented:
You were installing packages or installing the Centos OS?
CERTIFIED EXPERT
Commented:
You need to start again what you were doing.

Author

Commented:
Thanks

Explore More ContentExplore courses, solutions, and other research materials related to this topic.