V
V
Valery2013-12-13 03:43:13
linux
Valery, 2013-12-13 03:43:13

How to output steamcmd to console or switch to console with steamcmd running?

I don't even know how to phrase the question.
SteamCMD is running on my ubuntu server.
Now, from my tablet, I connected to the server via openssh and I can’t understand. How to output steamcmd to console or switch to console with steamcmd running?
top says that the process is running, and I need to know if it downloaded the right package or not.
Ctrl+alt+f1 doesn't help

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vmarunin, 2013-12-13
@dtho-dtho

This is not an answer to the question, but a wish "but I should have"
But I run long processes in screen. You can easily hook up to screen and see what's going on there.
Yes, to be honest, I always run screen.
PS Just googling says stackoverflow.com/questions/3425340/how-can-i-capt...
You can grab stdout/err from /proc (assuming proper privileges):
PID=$(pidof my_process) tail
- f /proc/$PID/fd/1
Or grab everything remaining in the buffer to a file:
cat /proc/$PID/fd/1
PS: fd/1 is stdout, fd/2 is stderr.

V
Valery, 2013-12-13
@dtho-dtho

I use Linux not so long ago and I do not quite understand what kind of sreen we are talking about

X
xyyx, 2013-12-13
@xyyx

Very handy thing
itblog.su/linux-screen.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question