io-sock
Networking manager
Syntax:
io-sock [-o option[,option...]][-d driver [-d driver...]]
Runs on:
QNX Neutrino
Options:
- -d driver
- Start the specified devs-* driver:
- You can specify driver without the
devs-prefix or the.soextension. For example, to start the devs-em.so driver, specify -d em. - If you want to load a specific version of a driver, specify the full path of the module (e.g., /lib/dll/devs-em.so).
- You can specify driver without the
- -o opt[,opt...]
-
The opt variable can be any of the following:
- prefix
- The path to prepend to the default stack location (/dev/socket). This is useful when you want to run multiple stacks. You can use the SOCK environment variable to specify which stack the client should use. For example, if you specify -o prefix=/alt, set SOCK to /alt.
- config
- The path to a file that contains tunable values. Specify values in the file using the format value_name="value". The file can contain blank lines and comment lines (starting with #). Do not include extra white space in lines that set values.
- netisr_threads
- The number of netisr (kernel network dispatch service) threads to run. Default is 1. -1 specifies the maximum, which is the number of CPUs.
- ignore_usb
- Don't load the io-usb bus handler.
- ignore_pci
- Don't load the pci-server handler.
- ignore_phy
- Don't load the phy-server handler.
- usb_stack
- Path to the USB stack. Default is set by the USB library.
- bootverbose
- Enable verbose boot message logging.
- dtb
- Specify the path to a Device Tree Blob file.
- npnp_pci
- Disable Plug and Play for PCI devices.
- npnp_ofw
- Disable Plug and Play for OFW (Open Firmware Bus) devices.
- npnp_usb
- Disable Plug and Play for USB devices.
- iolevel
- Specify the level of I/O privilege.
- 0 (_NTO_IO_LEVEL_NONE) — Default on AArch64.
- 1 (_NTO_IO_LEVEL_1) — Default on x86_64.
- 2 (_NTO_IO_LEVEL_2)
- foreground
- Stop io-sock from becoming a daemon. Valid only with the diagnostic version of io-sock (io-sock-diag). All logs are still sent to slogger2. For more information, see
Running io-sock with diagnostic features
. - priority
- The io-sock thread priority. Default is 21. For more information, go
to
Threading model and priorities.
Description:
The io-sock utility is the QNX Neutrino network
manager. For more information, go to Starting io-sock and Driver Management.
Configuration file
For the file specified by config:
- Specify values in the file using the format value_name="value".
- The file can contain blank lines and comment lines (starting with #).
- Do not include extra white space in lines that set values.
Tunables.
For example:
# This file can only contain:
# Comment lines beginning with '#'
# Blank lines
# Tunable sysctl with values in '"'
# Example of setting a typed memory region for mbuf allocation
qnx.typed_mem="below4G&sysram"
The command line that starts io-sock and the values read from the configuration file are written to the system logger (slog2), which allows you to obtain the configuration file's location and the values that were present in the file. For example:
Jan 07 09:30:13.095 io_sock.495628 0 -----ONLINE-----
Jan 07 09:30:13.095 io_sock.495628 main_buffer* 1 io-sock -o config=/etc/io-sock.cfg
Jan 07 09:30:13.095 io_sock.495628 main_buffer 1 io-sock fullpath: /sbin/io-sock
Jan 07 09:30:13.095 io_sock.495628 main_buffer 1 io-sock BuildID ee1dea5e444d7d8c1db9a729ec18a2bc
Jan 07 09:30:13.095 io_sock.495628 main_buffer 1 qnx.typed_mem="below4G&sysram"
Jan 07 09:30:13.097 io_sock.495628 main_buffer 1 Copyright (c) 1992-2021 The FreeBSD Project.
Page updated:
