M
M
mihail0v2014-06-07 15:17:16
linux
mihail0v, 2014-06-07 15:17:16

How to get the log from the screen (screen), execute commands in it, etc.? (node.js)

Is there a way to connect to a screen, get a log of actions from it and execute commands?
It is desirable that there is a solution in node.js. If there is none, I would like to see other ways to implement this. The main thing is that you can read the log from the web page and execute commands in it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Semyon Voronov, 2014-07-03
@Gineaser

You can get call logs of any system commands through the snoopy library (snoopy logger).
Installation is very simple. The logic of work too. This is an ELF library that is loaded before any executable programs are executed.
For screen logging, take a look at this post

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question