Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Open Source Articles
Page 80 of 123
Does mprotect flush instruction cache on ARM Linux
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 MoreLinux per-process resource limits - a deep Red Hat Mystery
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 MoreWhere is entry of hypercalls in KVM
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 MoreARM calling conventions on WinCE and Linux
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 MoreMulti Pointer X (MPX) support
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 MoreHow to create multiple level subdomains with apache2 and or PHP
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 MoreHow to align 3 files based on first column value
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 MoreCross compile Static Library from Linux for windows
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 MoreHow to check whether a process with a given PID is running
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 MoreDo network file systems pre-fetch
Introduction In a networked computing environment, file systems allow users to access and manage files across different computers and storage devices. Network file systems (NFS) are a type of file system that enables remote file access and sharing between machines over a network. In NFS, a client machine can access files stored on a remote server as if they were on its local file system. One common question that arises regarding network file systems is whether they pre-fetch data to improve performance. In this article, we will explore concept of pre-fetching in network file systems and provide examples of how ...
Read More