Found 1437 Articles for Linux

Does mprotect flush instruction cache on ARM Linux

Satish Kumar
Updated on 14-Mar-2023 16:00:03

152 Views

Introduction When working with ARM-based Linux systems, one of critical functions that programmers often need to use is mprotect. This function is used to protect specific areas of memory from unauthorized access, modifying or executing. However, one of common questions asked by developers is whether mprotect flushes instruction cache on ARM Linux. In this article, we will explore concept of mprotect and its impact on instruction cache on ARM Linux. We will also discuss some examples and scenarios that can help you understand function better. What is mprotect? Mprotect is a function that allows programmers to modify memory protection settings ... Read More

Linux per-process resource limits - a deep Red Hat Mystery

Satish Kumar
Updated on 14-Mar-2023 15:57:13

3K+ Views

Introduction Linux is an open-source operating system that is popular among users and developers because of its flexibility and security. One of features that makes Linux stand out from other operating systems is its per-process resource limits. These limits ensure that a process does not use more resources than necessary and cause other processes to slow down or fail. However, setting and managing these resource limits can be a challenging task, especially for those who are new to Linux operating system. In this article, we will take a closer look at per-process resource limits in Linux and how to set ... Read More

Where is entry of hypercalls in KVM

Satish Kumar
Updated on 14-Mar-2023 15:56:00

361 Views

Introduction Kernel-based Virtual Machine (KVM) is a virtualization infrastructure for Linux that allows multiple operating systems to run simultaneously on a single host machine. It is a popular open-source virtualization technology that leverages hardware virtualization support, such as Intel VT-x and AMD-V, to run multiple virtual machines on same physical hardware. KVM has a modular architecture, with different components responsible for different aspects of virtualization. In this article, we will explore entry of hypercalls in KVM. Hypercalls in KVM A hypercall is a privileged instruction that allows a virtual machine to interact with hypervisor, which is software layer that controls ... Read More

ARM calling conventions on WinCE and Linux

Satish Kumar
Updated on 14-Mar-2023 15:54:15

288 Views

Introduction The architecture of ARM processor has become increasingly popular in embedded systems and mobile devices due to its low power consumption, high performance, and low cost. It is widely used in development of operating systems such as Windows CE and Linux. In this article, we will be discussing ARM calling conventions on Windows CE and Linux. What is a Calling Convention? A calling convention is a set of rules that dictate how function calls are made in a program. These rules are used to define how arguments are passed, how return value is handled, and how stack is managed ... Read More

Easy way of installing Eclipse plugins on Ubuntu

Satish Kumar
Updated on 14-Mar-2023 15:46:34

274 Views

Eclipse is one of most popular integrated development environments (IDEs) used by software developers across globe. It offers a wide range of features, including code editing, debugging, testing, and deployment, making it a versatile tool for developers. However, sometimes developers need to install additional plugins in order to extend functionality of Eclipse. This article will guide you through easy way of installing Eclipse plugins on Ubuntu. Prerequisites Before installing Eclipse plugins, you need to make sure that you have Eclipse installed on your Ubuntu machine. If you don't have Eclipse installed, you can easily download it from official Eclipse website. ... Read More

Multi Pointer X (MPX) support

Satish Kumar
Updated on 14-Mar-2023 15:44:06

147 Views

Multi Pointer X (MPX) support is a feature of X Window System that enables multiple users to interact with a single computer at same time, each with their own keyboard and mouse. This is useful in situations where several people need to work on a single computer simultaneously, such as in collaborative environments or for teaching purposes. In this article, we will explore features and benefits of MPX support, as well as some examples of how it can be used. What is Multi Pointer X (MPX) Support? The X Window System is a popular windowing system used on Unix-like operating ... Read More

How to create multiple level subdomains with apache2 and or PHP

Satish Kumar
Updated on 14-Mar-2023 15:42:10

425 Views

Introduction Subdomains are a great way to divide your website into different sections, making it easier for visitors to navigate and find what they’re looking for. But what if you need to create multiple levels of subdomains, such as blog.example.com or shop.blog.example.com? This can seem daunting, but with Apache2 and/or PHP, it’s actually quite simple. In this article, we’ll walk you through steps of creating multiple level subdomains with examples and sub-headings. What are subdomains? Subdomains are a way of creating a separate section of your website that has its own unique URL. For example, instead of having all of ... Read More

How to align 3 files based on first column value

Satish Kumar
Updated on 14-Mar-2023 15:40:17

56 Views

Introduction When working with data, it is often necessary to align multiple files based on a shared column. In this article, we will discuss process of aligning three files based on first column value. We will provide an example of three files and guide you through process of aligning them based on first column value. Why do we need to align three files? In data analysis, we often encounter situations where we need to combine data from multiple sources. In such cases, it is necessary to align data from different files based on a shared column. This is important because ... Read More

Cross compile Static Library from Linux for windows

Satish Kumar
Updated on 14-Mar-2023 15:38:54

1K+ Views

Introduction When developing software, there is a high chance that software might be used in various operating systems. Therefore, it is important to build software in a cross-platform manner to ensure compatibility with multiple operating systems. In this article, we will focus on cross-compiling static libraries from Linux for Windows. What is a Static Library? A static library is a file that contains pre-compiled code that can be linked with an executable program to create a single, self-contained executable. code in a static library is linked directly into executable, which makes it faster and more efficient than dynamic libraries. What ... Read More

How to check whether a process with a given PID is running

Satish Kumar
Updated on 14-Mar-2023 15:37:17

12K+ Views

Introduction As a system administrator or developer, it's important to be able to monitor and manage processes running on your system. One of key pieces of information you need to know is whether a particular process is currently running. In this article, we'll explore different ways to check whether a process with a given PID is running. What is a PID? Before we dive into ways to check if a process with a given PID is running, let's first define what a PID is. A PID (Process Identifier) is a unique identification number assigned to each process running on a ... Read More

Advertisements