Tool tests on the fast track
Jq 1.5
JSON stream editor
Source: https://stedolan.github.io/jq
License: MIT
Alternatives: Sed, Awk
Many programs rely on JSON when it comes to configuring, exchanging, and storing data. Users who want to process JSON files in the shell will be interested in taking a look at Jq. The tool, which is implemented in C, reads files from the standard import, and filters and outputs them in a user-defined format. It does not have any dependencies and is immediately ready for action after downloading and setting the x
flag.
When calling the program, you need to specify a data stream. Command-line parameters influence the way that jq
filters the input. For example, -s
tells the tool not to process each object as it arrives, but first to read everything. In contrast, the -R
parameter tells jq
to expect the data in raw format and pass the data to the filter as simple strings, line by line. The tool interprets spaces as separators. The manual recommends quoting parameters with single quotes to avoid the shell interpreting Jq control elements.
The filtered results are sent to standard output, where again blanks act as separators. Various options format the output, color-highlight various messages, or use tabs as separators. The comprehensive documentation describes all the options in detail and uses examples to explain how users can create simple or advanced filters with regular expressions.
(5 Stars) Jq reliably filters JSON files in the shell. Users are advised to consult the excellent manual before starting to use the tool.
Pen 0.30.0
Load balancer
Source: http://sourceforge.net/projects/penloadbalancer
License: GPLv2
Alternatives: Balance, LVS
On Linux, Windows, OS X, FreeBSD, HP-UX, and Solaris, the Pen load balancer fields requests for TCP and UDP protocols and forwards them to the hosts defined on launching the tool; it supports both IPv4 and IPv6.
To set up simple load distribution, users specify an address and port, on which Pen expects requests after the pen
command. This is then followed by a list of target servers, for which you need to state the IP address, port, and maximum permissible number of connections. All of these values are separated by colons, for example, 128.127.66.142:80:1
.
Pen manages the incoming requests in a table that can handle up to 2,048 clients by default. The -c
option lets you modify this value. Connections that have not been used for a long time are automatically removed to create space for new ones. If a computer fails, Pen contacts the remaining systems and ensures that requests are directed to the servers with the lowest load at the time.
The archive also includes the penctl
tool, which lets admins manage load balancers at run time. It reports the current load status, modifies the parameters of the target systems, or excludes clients from access in a targeted way.
(4 Stars) You should test Pen in your own environment. Because the man page only comes with a couple of application examples, this can be a question of trial and error.
PingChecker 15.8.16
Ping for multiple computers
Source: http://sourceforge.net/projects/pingchecker
License: GPLv3
Alternatives: Nagios, Monitorix
To test whether a computer is reachable on the network, most users resort to ping. However, if you want to test multiple systems in one fell swoop, you can use PingChecker instead. The tool accepts computer names or IP addresses as input, checks whether they are reachable, and summarizes the results in a useful overview.
The current version of the Python tool contains a GUI version in addition to the command-line version. Users can type a list of computers to test manually in either version, or they can pass in a list as a text file. Manual entry in the graphical user interface is restricted to 10 addresses. PingChecker tests all the stated systems, transmitting four pings in each case. At the command line, users can follow the tool's actions live and in color – computers that are reachable are displayed in green, and those that are unreachable are shown in red.
The graphical interface shows the overall results in a new dialog. Additionally, PingChecker creates two text files, ping_results.txt
and ping_results.csv
, which makes it easy to process the results downstream in a database or spreadsheet.
(4 Stars) PingChecker gives you a quick and uncomplicated approach to checking the availability of multiple systems. Most appreciated is the fact that PingChecker automatically writes its results to two text files, which are easily processed downstream.
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
NVIDIA Released Driver for Upcoming NVIDIA 560 GPU for Linux
Not only has NVIDIA released the driver for its upcoming CPU series, it's the first release that defaults to using open-source GPU kernel modules.
-
OpenMandriva Lx 24.07 Released
If you’re into rolling release Linux distributions, OpenMandriva ROME has a new snapshot with a new kernel.
-
Kernel 6.10 Available for General Usage
Linus Torvalds has released the 6.10 kernel and it includes significant performance increases for Intel Core hybrid systems and more.
-
TUXEDO Computers Releases InfinityBook Pro 14 Gen9 Laptop
Sporting either AMD or Intel CPUs, the TUXEDO InfinityBook Pro 14 is an extremely compact, lightweight, sturdy powerhouse.
-
Google Extends Support for Linux Kernels Used for Android
Because the LTS Linux kernel releases are so important to Android, Google has decided to extend the support period beyond that offered by the kernel development team.
-
Linux Mint 22 Stable Delayed
If you're anxious about getting your hands on the stable release of Linux Mint 22, it looks as if you're going to have to wait a bit longer.
-
Nitrux 3.5.1 Available for Install
The latest version of the immutable, systemd-free distribution includes an updated kernel and NVIDIA driver.
-
Debian 12.6 Released with Plenty of Bug Fixes and Updates
The sixth update to Debian "Bookworm" is all about security mitigations and making adjustments for some "serious problems."
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.