A number of tools exist that facilitate tracing and debugging a live Linux system. This blog describes how to use one of them, SystemTap, and how one might analyse a live Oracle Linux system using SystemTap.
Click to Read More at Oracle Linux Kernel Development
Getting started with SystemTap on Oracle Linux
Becoming a Linux system administrator: From sales to sysadmin
Becoming a Linux system administrator: From sales to sysadmin
A look back at my journey to becoming a sysadmin—from sales to consulting to developer to sysadmin.
Joachim Haller
Fri, 1/22/2021 at 8:35pm
Image
Photo by 39422Studio from Pexels
In the early 80s, I was working as a salesman in the construction industry. Roofing and insulation had me traveling across Sweden presenting solutions and promoting various materials. Being out on the road was great, and no two days were alike. When I passed a construction site where our crew was working, they would always invite me, and I could pick up tips on new customers or just relax and chat and have a cup of coffee. I was young, free, and endlessly curious.
Topics:
Linux
Linux Administration
Career
Read More at Enable Sysadmin
How to change the identity of a Linux system
Set the hostname on your Linux systems by using the hostnamectl command.
Read More at Enable Sysadmin
5 questions to ask during your next sysadmin interview
If you’re heading to a sysadmin job interview, here are 5 questions to ask.
Read More at Enable Sysadmin
How to replay terminal sessions recorded with the Linux script command
How to replay terminal sessions recorded with the Linux script command
Playback those recorded terminal sessions with the scriptreplay command.
khess
Thu, 1/21/2021 at 2:41pm
Image
Photo by cottonbro from Pexels
In my previous article, How to capture terminal sessions and output with the Linux script command, covering the script command and some common options, you learned how to record your interactive terminal sessions. This follow-up article demonstrates how to replay those recorded terminal sessions.
Topics:
Linux
Command line utilities
Read More at Enable Sysadmin
Quick start guide to Ansible for Linux sysadmins
Quick start guide to Ansible for Linux sysadmins
In this second article, you’ll explore the how-to of Ansible installation.
Pratheek Prabhakaran
Thu, 1/21/2021 at 2:15pm
Image
Photo by eberhard grossgasteiger from Pexels
In this article, I discuss the prerequisites for installing Ansible, Ansible installation using the Satellite server, setting up Ansible for automation, introduction to playbooks, inventory files, and go through a use case for Ansible. Check out the first article, Demystifying Ansible for Linux sysadmins, if you have not already.
Topics:
Linux
Linux Administration
Ansible
Read More at Enable Sysadmin
The Maple Tree, A Modern Data Structure for a Complex Problem
We are always looking to solve hard problems and enhance the Linux Kernel. In this blog post, Oracle Linux kernel engineer Liam Howlett introduces a new data structure that he and Matthew Wilcox are developing.The Linux Memory Management layer supports the very common technique of virtual memory. Linux splits blocks of virtual memory into areas specified by the c structure vm_area_struct. Each vm_area_struct contain information…
Click to Read More at Oracle Linux Kernel Development
The Maple Tree, A Modern Data Structure for a Complex Problem
In recent years, processors have experienced growth in core counts which have pushed software to be multi-threaded and increased contention in the virtual memory data structure. The memory management subsystem uses the mmap_sem lock for write protection of the VMAs. Optimizing the mmap_sem lock into a rw-semaphore helped contention but did not solve the underlying issue. Even with a single threaded program and a well-intended system admin, contention does arise through proc file accesses for application monitoring.
In this blog, we introduce a new data structure that can track gaps, store ranges, and be implemented in an RCU compatible manner. This is the Maple Tree.
Click to Read More at Oracle Linux Kernel Development
How to capture terminal sessions and output with the Linux script command
How to capture terminal sessions and output with the Linux script command
The Linux script command allows you to create replayable terminal sessions by simply entering commands.
khess
Tue, 1/19/2021 at 4:12pm
Image
Photo by Sora Shimazaki from Pexels
The Linux script command creates a typescript file from your terminal session. This means that if you invoke the script command, you are dropped to a “watched and recorded” terminal session subshell that’s saved to an ASCII text file. When created with a timing file, you can replay the session, including output. The purpose of script is that you can easily grab sample output from any command through an interactive session exactly as it’s displayed in your terminal. You can use backspace, edit files, create files, and run simple or complex commands.
Topics:
Linux
Command line utilities
Read More at Enable Sysadmin