← 返回命令列表

Linux command

mux 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create

mux -c [muxer_name1] [muxer_name2]

Example

mux -s [100]

Read input

mux -i [input_muxer_name]

Write output

mux -o [output_muxer_name]

说明

mux is part of the Interception Tools suite for multiplexing streams of input events. A muxer must be created first with -c, then used as the input or output of a given pipeline. Besides combining multiple pipelines into one, mux can duplicate them (using multiple -o options) and act as a switch based on activity in other pipelines (using multiple -i options). The tool is commonly used with udevmon and other Interception Tools components for keyboard remapping, event filtering, and input device manipulation at a low level.

参数

-h
Show help message and exit
-c _name_
Create a muxer with specified name (repeatable)
-s _size_
Set muxer queue size; default is 100
-i _name_
Read input from named muxer; can be repeated for switch mode
-o _name_
Write output to named muxer; can be repeated

FAQ

What is the mux command used for?

mux is part of the Interception Tools suite for multiplexing streams of input events. A muxer must be created first with -c, then used as the input or output of a given pipeline. Besides combining multiple pipelines into one, mux can duplicate them (using multiple -o options) and act as a switch based on activity in other pipelines (using multiple -i options). The tool is commonly used with udevmon and other Interception Tools components for keyboard remapping, event filtering, and input device manipulation at a low level.

How do I run a basic mux example?

Run `mux -c [muxer_name1] [muxer_name2]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -h do in mux?

Show help message and exit