Thinklogical Router - Configuring the ASCII Interface Uživatelský manuál Strana 4

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 9
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 3
Debugging Aids
The API program has several options that may aid in setup and debugging. These include
logging the incoming ASCII commands, logging the communications to the internal control
process (aka AVR) and appending a comment to the response message that is returned after
each command. This comment contains more details about an error.
All these messages are written to the system log file: /var/log/api located on the router internal
SD card.
These are the command line options to enable the API debug aids:
--debug log a lot of detailed data
--api log the API commands received
--avr log the commands to the internal control process
--clog log connection make/break status
--verbose append a comment to each command response
The '--api' and '--avr' settings may be toggled by sending a system signal to the running API
program. As shown in the help text above, SIGUSR1 will toggle the API setting, and SIGUSR2
will toggle the avr setting. (see the example below for the syntax of the kill command)
Steps for versions V4.0-9 and earlier.
To send a signal to a program, you must know the Process ID (PID) of the program. PIDs may
be listed with the command: 'ps -eF'. A sample is shown below. The second column lists the
PIDs and the last column lists the program command line. You need to find the vxrapi line that
does NOT have the '--serial' option listed. In the example below, there are two such lines each
marked with a ''.
# ps -eF
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 2427 1 0 109 236 0 13:39 ? 00:00:00 /usr/local/sbin/vxrapi –verbose ◄
root 2428 1 0 109 244 0 13:39 ? 00:00:00 /usr/local/sbin/vxrapi --serial
root 2434 2427 0 109 156 0 14:34 ? 00:00:00 /usr/local/sbin/vxrapi –verbose ◄
root 2437 772 0 206 344 0 14:34 pts/0 00:00:00 ps -eF
PID 2427 is the parent process for the network interface (it's PPID is 1). This is the PID that
should receive the signal to toggle the debug mode.
kill -USR1 2427
kill -USR2 2427
Versions 4.0-10 and later can use a simpler method to send
these signals.
killall -USR1 vxrapi
killall -USR2 vxrapi
# ps -eF
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 462 1 0 108 244 0 14:35 ? 00:00:00 /usr/local/sbin/vxrapi --verbose
root 463 453 0 206 344 0 14:35 pts/0 00:00:00 ps -eF
Note that there is only one copy of vxrapi running.
Revision: G
Zobrazit stránku 3
1 2 3 4 5 6 7 8 9

Komentáře k této Příručce

Žádné komentáře

Carrier Supra 950 podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Nie Carrier Supra 950.
Dostarczamy 1 pdf podręczników Carrier Supra 950 do pobrania za darmo według typów dokumentów: Instrukcja Użytkownika


Carrier Supra 950 Instrukcja Użytkownika (2 strony)


Marka: Carrier | Kategoria: No info | Rozmiar: 0.12 MB |

 




Więcej produktów i instrukcji dla Nie Carrier

Modele Rodzaj dokumentu
50PG03-16 Dokumentacja   Carrier 50PG03-16 Specifications, 8 strony
JWL-1221VS Instrukcja Użytkownika   Stand for JWL-1221VS Lathe, 2 strony
30GTN015-035 Dokumentacja   Carrier 30GTN015-035 Specifications, 16 strony
30GTN015-035 Dokumentacja   Carrier 30GTN015-035 Specifications, 12 strony
30GT-911---062 Instrukcja Użytkownika   Installation Instructions, 12 strony
PC211 Instrukcja Użytkownika   Installation Instructions, 2 strony
Miracool 260L Instrukcja Użytkownika   Parts Manual [en] , 36 strony
30HW018-040 Instrukcja Użytkownika   Wiring Diagrams [en] , 12 strony
8FR-13 Instrukcja Użytkownika   Sensor/Actuator cable - SAC-3P- 2,0-PVC/M 8FR B-L - Digi-Key, 6 strony
59SC2A Instrukcja Obsługi   Carrier 59SC2A Instruction manual [en] , 84 strony
62E Instrukcja Użytkownika   62E-3PD - HVACpartners, 68 strony
V60PEPSI/NEUTRAL Instrukcja Użytkownika   Carrier V60PEPSI/NEUTRAL User Manual [pl] , 1 strony
CB425GL 4 Instrukcja Użytkownika   Carrier CB425GL 4 Benutzerhandbuch, 8 strony
CC280LL Instrukcja Użytkownika Carrier CC280LL Használati utasítás, 8 strony
EC4109 Instrukcja Użytkownika   Carrier EC4109 Benutzerhandbuch, 12 strony
EC3809M Instrukcja Użytkownika   Carrier EC3809M Benutzerhandbuch [de] [en] [fr] , 12 strony
EC2709N Instrukcja Użytkownika   Carrier EC4109N Benutzerhandbuch [de] [en] [fr] [it] , 12 strony
EC5109N Instrukcja Użytkownika   Carrier EC5109N Benutzerhandbuch [it] , 12 strony
CB225GL 4 Instrukcja Użytkownika   Carrier CB280MGL Benutzerhandbuch, 8 strony
CB280GL Instrukcja Użytkownika   Carrier CB280GL User Manual, 10 strony