Message boards : Theory Application : Read console from host
Message board moderation
| Author | Message |
|---|---|
|
Send message Joined: 27 Sep 08 Posts: 898 Credit: 770,962,844 RAC: 182,865 |
Did anyone work out a way to read the VM console output from the host operating system? I looked thouhg the files in the slots directory but there isn't anything there. |
|
Send message Joined: 15 Jun 08 Posts: 2724 Credit: 299,002,782 RAC: 71,016 |
The VM consoles usually present a top output or tail logfiles from inside the VM. You can inspect the logfiles of a selected task pressing the "show graphics" button. This requires the BOINC client and the VM running on the same computer. An optional method would be to start a webbrowser on the computer running the task. Check the task's stderr.txt for a line like 2022-12-31 11:47:01 (2379028): Detected: Web Application Enabled (http://localhost:40651) Then copy "http://localhost:40651" to the webbrowser's address line. Be aware that each task gets a random port number. |
|
Send message Joined: 21 Feb 11 Posts: 86 Credit: 578,973 RAC: 0 |
Didn't vm put logs in shared folder at some point in the past? |
|
Send message Joined: 27 Sep 08 Posts: 898 Credit: 770,962,844 RAC: 182,865 |
There is some files in: slots\n\boinc_WUName\Logs they aren't the same as whats show in the Fn-F2 screens of the VM though |
|
Send message Joined: 27 Sep 08 Posts: 898 Credit: 770,962,844 RAC: 182,865 |
I tested it out and it doesn't work as expected. Either the webpage is the wrong one or it never loads up. I can use the screenshot function then OCR the picture to see what the console output but this is sub-optimal I would say. |
©2026 CERN