Open-source News

AOMedia's "AVM" Repository Serves As Reference Implementation For Eventual AV1 Successor

Phoronix - Fri, 05/06/2022 - 19:58
The Alliance for Open Media already has a public repository serving as the reference software implementation for "AVM" as the AOM Video Model as the next-generation codec from this alliance responsible for the excellent AV1...

OpenCL 3.0.11 Released With Two New Extensions

Phoronix - Fri, 05/06/2022 - 19:25
Overnight a new minor revision to the OpenCL 3.0 specification was published...

GCC 12.1 Compiler Released With AVX-512 FP16, Better RISC-V Support, More C++23 Features

Phoronix - Fri, 05/06/2022 - 18:35
GCC 12.1 is out today as the first stable release of GCC 12. It also marks 35 years already since the release of GCC 1.0...

AMDGPU Linux Driver Enabling New "LSDMA" Block

Phoronix - Fri, 05/06/2022 - 18:16
As part of the increasing flow of AMD Radeon Linux graphics driver patches coming out ahead of the RDNA3 launch later this year, a new hardware block exposed by the latest patches is "LSDMA"...

Intel ISPC 1.18 Compiler Brings "Significantly Improved" Xe Graphics Performance

Phoronix - Fri, 05/06/2022 - 17:16
Ahead of Intel's Vision event next week, open-source Intel engineers have released ISPC 1.18 as the newest update to their SPMD Program Compiler...

FreeBSD 13.1-RC6 Released Due To Lingering Bugs

Phoronix - Fri, 05/06/2022 - 16:56
FreeBSD 13.1-RELEASE was supposed to be out by the end of April but lingering bugs have yielded extra release candidates for this latest BSD operating system update...

My favorite open source tool for using crontab

opensource.com - Fri, 05/06/2022 - 15:00
My favorite open source tool for using crontab Kevin Sonney Fri, 05/06/2022 - 03:00 Register or Login to like Register or Login to like

Automation is a hot topic right now. In my day job as a site reliability engineer (SRE), part of my remit is to automate as many repeating tasks as possible. But how many of do that in our daily, not-work, lives? This year, I am focused on automating away the toil so that we can focus on the things that are important.

One of the earliest things I learned about as a fledgling systems administrator was cron. Cron is used far and wide to do things like rotate logs, start and stop services, run utility jobs, and more. It is available on almost all Unix and Linux systems, and is something every sysadmin I know uses to help manage services and servers. Cron can run any console application or script automatically, which makes it very, very flexible.

Image by:

(Kevin Sonney, CC BY-SA 4.0)

I have used cron to fetch email, run filtering programs, make sure a service is running, interact with online games like Habitica, and a lot more.

More Linux resources Linux commands cheat sheet Advanced Linux commands cheat sheet Free online course: RHEL technical overview Linux networking cheat sheet SELinux cheat sheet Linux common commands cheat sheet What are Linux containers? Our latest Linux articles Using cron the traditional way

To get started with cron, you can simply type crontab -e at the command line to open up an editor with the current crontab (or “cron table”) file for yourself (if you do this as root, you get the system crontab). This is where the job schedule is kept, along with when to run things. David Both has written extensively on the format of the file and how to use it, so I'm not going to cover that here. What I am going to say is that for new users, it can be a bit scary, and getting the timing set up is a bit of a pain.

Introducing crontab-ui

There are some fantastic tools out there to help with this. My favorite is crontab-ui, a web frontend written in Node.js that helps manage the crontab file. To install and start crontab-ui for personal use, I used the following commands.

# Make a backup
crontab -l > $HOME/crontab-backup
# Install Crontab UI
npm install -g crontab-ui
# Make a local database directory
mkdir $HOME/crontab-ui
# Start crontab-ui
CRON_DB_PATH=$HOME/crontab-ui crontab-ui

Once this is done, simply point your web browser at http://localhost:8000 and you'll get the crontab-ui web interface. The first thing to do is click “Get from Crontab” to load any existing jobs you may have. Then click Backup so that you can roll back any changes you make from here on out.

 

Image by:

(Kevin Sonney, CC BY-SA 4.0)

 

Adding and editing cron jobs is very simple. Add a name, the full command you want to run, and the time (using cron syntax), and save. As a bonus, you can also capture logs, and set up the mailing of job status to your email of choice.

When you're finished, click Save to Crontab.

I personally really love the logging feature. With crontab-ui, you can view logs at the click of a button, which is useful when troubleshooting.

One thing I do recommend is to not run crontab-ui all the time, at least not publically. While it does have some basic authentication abilities, it really shouldn't be exposed outside your local machine. I don't need to edit my cron jobs frequently (anymore), so I start and stop it on demand.

Try crontab-ui the next time you need to edit your crontab!

Crontab-ui is a web frontend written in Node.js that helps manage the crontab file.

Image by:

Image by Mapbox Uncharted ERG, CC-BY 3.0 US

Automation Linux What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

How To Limit Rate of Connections (Requests) in NGINX

Tecmint - Fri, 05/06/2022 - 12:49
The post How To Limit Rate of Connections (Requests) in NGINX first appeared on Tecmint: Linux Howtos, Tutorials & Guides .

In our last article which is part of our NGINX traffic management series, we discussed how to limit the number of connections in NGINX. In this guide, we will look at how to limit

The post How To Limit Rate of Connections (Requests) in NGINX first appeared on Tecmint: Linux Howtos, Tutorials & Guides.

Mesa 22.2 Lands The Big Removal Of Old GLSL-To-TGSI Path, Now Always Going Through NIR

Phoronix - Fri, 05/06/2022 - 07:50
Emma Anholt's perseverance the past year has paid off in freeing Mesa of the "glsl_to_tgsi" function with now all Mesa drivers going the route of from GLSL to the NIR intermediate representation. For Mesa drivers lacking native NIR consumption, there is then the NIR-to-TGSI path for going back to that traditional Gallium3D IR...

Systemd 251-rc2 Released With More Features

Phoronix - Fri, 05/06/2022 - 03:00
Just over one month after systemd 251-rc1 was released, a second release candidate to this next systemd installment is now available for testing. Systemd 251-rc2 brings yet more features to this Linux init system and service manager...

Pages