dtorkin

Untitled

May 20th, 2025
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.67 KB | None | 0 0
  1.  
  2. dtorkin@ubuntu1:~/Desktop/practice$ sudo ./svm_app
  3. [sudo] пароль для dtorkin:
  4. SVM Multi-Port Server starting...
  5. Message handlers initialized.
  6. SVM: Loading configuration...
  7. Configuration parsed successfully from 'config.ini'.
  8. Found configurations for 4 SVM instances in file.
  9. --- Effective Configuration ---
  10. interface_type = ethernet
  11. UVM Target: 192.168.189.129:8080
  12. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  13. Simulate Control Failure: No
  14. Disconnect After: -1 messages
  15. Simulate Response Timeout: No
  16. Send Warning on Confirm: No (TKS: 1)
  17. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  18. Simulate Control Failure: Yes
  19. Disconnect After: -1 messages
  20. Simulate Response Timeout: No
  21. Send Warning on Confirm: No (TKS: 1)
  22. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  23. Simulate Control Failure: No
  24. Disconnect After: -1 messages
  25. Simulate Response Timeout: Yes
  26. Send Warning on Confirm: No (TKS: 1)
  27. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  28. Simulate Control Failure: No
  29. Disconnect After: 5 messages
  30. Simulate Response Timeout: No
  31. Send Warning on Confirm: No (TKS: 1)
  32. -----------------------------
  33. SVM: Will attempt to start 4 instances based on config.
  34. DEBUG SVM MAIN - Instance 0 Settings: LAK=0x08, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  35. DEBUG SVM MAIN - Instance 1 Settings: LAK=0x09, simulate_control_failure=1, disconnect_after=-1, simulate_timeout=0, send_warning=0, tks=1
  36. DEBUG SVM MAIN - Instance 2 Settings: LAK=0x0A, simulate_control_failure=0, disconnect_after=-1, simulate_timeout=1, send_warning=0, tks=1
  37. DEBUG SVM MAIN - Instance 3 Settings: LAK=0x0B, simulate_control_failure=0, disconnect_after=5, simulate_timeout=0, send_warning=0, tks=1
  38. SVM: Loading configuration...
  39. Configuration parsed successfully from 'config.ini'.
  40. Found configurations for 4 SVM instances in file.
  41. --- Effective Configuration ---
  42. interface_type = ethernet
  43. UVM Target: 192.168.189.129:8080
  44. SVM 0: Port=8080, LAK=0x08 (Loaded: Yes)
  45. Simulate Control Failure: No
  46. Disconnect After: -1 messages
  47. Simulate Response Timeout: No
  48. Send Warning on Confirm: No (TKS: 1)
  49. SVM 1: Port=8081, LAK=0x09 (Loaded: Yes)
  50. Simulate Control Failure: Yes
  51. Disconnect After: -1 messages
  52. Simulate Response Timeout: No
  53. Send Warning on Confirm: No (TKS: 1)
  54. SVM 2: Port=8082, LAK=0x0A (Loaded: Yes)
  55. Simulate Control Failure: No
  56. Disconnect After: -1 messages
  57. Simulate Response Timeout: Yes
  58. Send Warning on Confirm: No (TKS: 1)
  59. SVM 3: Port=8083, LAK=0x0B (Loaded: Yes)
  60. Simulate Control Failure: No
  61. Disconnect After: 5 messages
  62. Simulate Response Timeout: No
  63. Send Warning on Confirm: No (TKS: 1)
  64. -----------------------------
  65. SVM: Will attempt to start 4 instances based on config.
  66. Thread-safe QueuedMessage queue created with capacity 400
  67. SVM: Listener thread 0 initiated for Port 8080 (LAK 0x08).
  68. SVM: Listener thread 1 initiated for Port 8081 (LAK 0x09).
  69. SVM: Listener thread 2 initiated for Port 8082 (LAK 0x0A).
  70. SVM: Listener thread 3 initiated for Port 8083 (LAK 0x0B).
  71. Ethernet: Listening on port 8080 (handle: 3)
  72. Listener thread started for SVM ID 0 (LAK 0x08, Port 8080, Listen FD 3)
  73. Listener (SVM 0): Waiting for connection on port 8080...
  74. Ethernet: Listening on port 8081 (handle: 4)
  75. Listener thread started for SVM ID 1 (LAK 0x09, Port 8081, Listen FD 4)
  76. Listener (SVM 1): Waiting for connection on port 8081...
  77. Ethernet: Listening on port 8083 (handle: 6)
  78. Listener thread started for SVM ID 3 (LAK 0x0B, Port 8083, Listen FD 6)
  79. Listener (SVM 3): Waiting for connection on port 8083...
  80. Ethernet: Listening on port 8082 (handle: 5)
  81. Listener thread started for SVM ID 2 (LAK 0x0A, Port 8082, Listen FD 5)
  82. Listener (SVM 2): Waiting for connection on port 8082...
  83. SVM: Starting common threads (Timer, Sender)...
  84. SVM: All common threads started. 4 listeners active. Running...
  85. SVM Main: Waiting for shutdown signal...
  86. SVM Sender thread started (reads global outgoing queue).
  87. SVM Timer thread started.
  88. Listener (SVM 0): Accepted connection from 192.168.189.128:56556 (Client FD 7)
  89. Thread-safe QueuedMessage queue created with capacity 100
  90. Listener (SVM 0): Instance activated. Worker threads started.
  91. SVM Receiver thread started for instance 0 (handle: 7).
  92. SVM Processor thread started for instance 0.
  93. Listener (SVM 1): Accepted connection from 192.168.189.128:50634 (Client FD 8)
  94. Thread-safe QueuedMessage queue created with capacity 100
  95. Listener (SVM 1): Instance activated. Worker threads started.
  96. SVM Receiver thread started for instance 1 (handle: 8).
  97. SVM Processor thread started for instance 1.
  98. Listener (SVM 2): Accepted connection from 192.168.189.128:55364 (Client FD 10)
  99. Thread-safe QueuedMessage queue created with capacity 100
  100. Listener (SVM 2): Instance activated. Worker threads started.
  101. SVM Receiver thread started for instance 2 (handle: 10).
  102. SVM Processor thread started for instance 2.
  103. Listener (SVM 3): Accepted connection from 192.168.189.128:60160 (Client FD 9)
  104. Thread-safe QueuedMessage queue created with capacity 100
  105. Listener (SVM 3): Instance activated. Worker threads started.
  106. SVM Receiver thread started for instance 3 (handle: 9).
  107. SVM Processor thread started for instance 3.
  108. Получено сообщение через Ethernet: Тип=128, Номер=0, Длина тела=2, Handle=7
  109. Processor (Inst 0): Обработка 'Инициализация канала'
  110. Параметры: LAUVM=0x1, LAK=0x08 (assigned)
  111. SVM (Inst 0): Эмуляция выключения лазера...
  112. Ответ 'Подтверждение инициализации' сформирован (LAK=0x08).
  113. Отправка сообщения через Ethernet: Тип=129, Номер=0, Длина тела=12, Общий размер=18, Handle=7
  114. Получено сообщение через Ethernet: Тип=1, Номер=0, Длина тела=1, Handle=7
  115. Processor (Inst 0): Обработка 'Провести контроль'
  116. SVM (Inst 0): Эмуляция самопроверки...
  117. Ответ 'Подтверждение контроля' сформирован.
  118. Отправка сообщения через Ethernet: Тип=3, Номер=1, Длина тела=8, Общий размер=14, Handle=7
  119. Получено сообщение через Ethernet: Тип=2, Номер=1, Длина тела=1, Handle=7
  120. Processor (Inst 0): Обработка 'Выдать результаты контроля'
  121. Ответ 'Результаты контроля' сформирован.
  122. Отправка сообщения через Ethernet: Тип=4, Номер=2, Длина тела=8, Общий размер=14, Handle=7
  123.  
  124.  
Advertisement
Add Comment
Please, Sign In to add comment