Ir al contenido

Client Configuration

Esta página aún no está disponible en tu idioma.

FlagDefaultDescription
-server192.168.0.10:9000Server address in host:port format
-nameSystem hostnameDisplay name shown in the admin panel
-key(none)Pre-shared authentication key (XXXX-XXXX-XXXX format)
FlagDescription
-debugEnable verbose debug logging
-versionPrint version information and exit
-helpPrint help message and exit
Terminal window
# Basic connection
woho-client -server your-server.com:9000
# Custom display name
woho-client -server your-server.com:9000 -name "Production-Web-01"
# With debug logging (for troubleshooting)
woho-client -server your-server.com:9000 -name "Debug-Client" -debug
# With a Pre-Shared Key
woho-client -server your-server.com:9000 -name "Secure-Client" -key ABCD-EFGH-JKMN

Built-in service management for Linux (systemd) and Windows (SCM).

CommandDescription
installCopy binary and register as a system service
uninstallStop and remove the system service
startStart the installed service
stopStop the installed service
statusShow current service status
Terminal window
# Linux (requires root)
sudo woho-client install -server your-server.com:9000 -name "Client-01"
# Linux with Pre-Shared Key
sudo woho-client install -server your-server.com:9000 -name "Client-01" -key ABCD-EFGH-JKMN
Terminal window
# Windows (Administrator PowerShell)
.\woho-client.exe install -server your-server.com:9000 -name "Client-01"

What install does:

PlatformActions
LinuxCopies binary to /usr/local/bin/woho-client, creates systemd unit, creates /var/lib/woho/
WindowsCopies binary to C:\Program Files\woho\, creates Windows service with auto-recovery
Terminal window
sudo woho-client uninstall # Linux
.\woho-client.exe uninstall # Windows (Admin PowerShell)

Stops the service and removes the service configuration. Data files (including the UUID) are not deleted — the same UUID is reused on reinstall.

Terminal window
# Linux
woho-client start
woho-client stop
woho-client status
# Or directly via systemctl
systemctl start woho-client
systemctl stop woho-client
systemctl status woho-client
Terminal window
# Windows
.\woho-client.exe start
.\woho-client.exe stop
.\woho-client.exe status
# Or via sc.exe
sc.exe start woho-client
sc.exe stop woho-client
sc.exe query woho-client

The client uses exponential backoff when reconnecting after a lost connection:

AttemptDelay
11 s
22 s
35 s
410 s
530 s
6+60 s (max)

The backoff resets to 1 s after a successful connection.

ParameterValue
Heartbeat interval30 s
Server idle timeout120 s

If the server receives no data from a client for 120 seconds it treats the connection as stale.

Reported every 5 seconds:

  • CPU usage (%)
  • Memory usage and total
  • Disk usage and total
  • Network bytes in/out

Each client generates a UUID on first run, persisted to disk and reused across restarts.

PlatformConfig directory
Linux / macOS (root)/etc/woho/
Linux / macOS (user)~/.woho/
Windows%APPDATA%\woho\

File name: client_id

When a client connects with -key, the key is saved to the config directory as auth_key. On subsequent starts the client reads this file automatically.

PlatformFile location
Linux / macOS (root)/etc/woho/auth_key
Linux / macOS (user)~/.woho/auth_key
Windows%APPDATA%\woho\auth_key