The lsdev command displays various information about a system’s hardware as reported by the kernel. It compiles this information from three files in the /proc/ directory: /proc/interrupts — This file lists each logical CPU core and its associated interrupt requests (IRQ). An IRQ is a signal sent by a device to the processor so that […]
Archives for October 2022
lpr Command Examples in Linux
The lpr command submits files for printing. Files supplied at the command-line are sent to the specified printer or to the print queue if the printer is busy. Without specifying the printer to use, the command will send the print job to the default printer, which you can configure with CUPS. The lpr command reads […]
lpr: command not found
The lpr command submits files for printing. Files supplied at the command-line are sent to the specified printer or to the print queue if the printer is busy. Without specifying the printer to use, the command will send the print job to the default printer, which you can configure with CUPS. The lpr command reads […]
udevadm Command Examples in Linux
The udevadm command is used to manage udev. It takes various subcommands, each of which performs a certain task to modify the behavior of the systemd-udevd daemon and related components. Some of these subcommands are described in the following table. Subcommand Used To info Retrieve device information stored in the udev database, as well as […]
udevadm: command not found
The udevadm command is used to manage udev. It takes various subcommands, each of which performs a certain task to modify the behavior of the systemd-udevd daemon and related components. Some of these subcommands are described in the following table. Subcommand Used To info Retrieve device information stored in the udev database, as well as […]
swapoff: command not found
The swapon command is used to activate a swap partition in a specified device. The swapoff command is used to deactivate the swap space on a device. Some of the frequently used swapon and swapoff command options are given in the following table. Option Used To swapon -e Skip non-existent devices. swapon -a Activate all […]
swapon: command not found
The swapon command is used to activate a swap partition in a specified device. The swapoff command is used to deactivate the swap space on a device. Some of the frequently used swapon and swapoff command options are given in the following table. Option Used To swapon -e Skip non-existent devices. swapon -a Activate all […]
mkswap: command not found
The mkswap command is used to create swap space on a storage partition. It is typically used when you wish to move swap space to a different partition than the one that was created during system installation. For example, you might want to save space on a low-capacity boot drive. It provides options to perform […]
vmstat: command not found
The vmstat command displays various statistics about virtual memory, as well as process, CPU, and I/O statistics. By default, the report will provide averages of each statistic since the last system boot, though you can also specify a delay value to sample from a period of time. Some memory-based statistics include: The total virtual memory […]
free: command not found
The free command parses the /proc/meminfo file for easier analysis of memory usage statistics. Its default behavior is to display the following information about system memory and swap space: The total memory. The total used. The total free. The total shared. The total buffered and cached. The total available for starting new apps (estimated). Syntax […]