Found 2065 Articles for Operating System

ELF executable file many zero bytes

Satish Kumar
Updated on 14-Mar-2023 16:19:33

282 Views

Introduction In world of computer programming, an ELF (Executable and Linkable Format) file is a binary file format used in Unix-based operating systems such as Linux, FreeBSD, and Solaris. These files contain executable code and data, which are used to launch programs and libraries. In some cases, however, ELF files may contain many zero bytes. In this article, we will explore why ELF files may contain many zero bytes, their impact on programs, and how to fix this issue. Why ELF files contain many zero bytes? An ELF file consists of a header followed by sections containing executable code, data, ... Read More

Installing Java on Linux using SSH

Satish Kumar
Updated on 14-Mar-2023 17:07:27

1K+ Views

Java is a popular programming language that is widely used for developing various types of software applications. Linux is one of most popular operating systems used for software development due to its stability, security, and open-source nature. In this article, we will discuss how to install Java on Linux using SSH. SSH (Secure Shell) is a secure network protocol used for remote login to a server. It allows users to log in to a remote server and perform various operations using command-line tools. This makes it an excellent choice for installing Java on a Linux machine. We will be using ... Read More

Will linux emit event when monitor connect with D-sub connector

Satish Kumar
Updated on 14-Mar-2023 16:05:37

140 Views

Introduction Linux is an open-source operating system that is popular among developers and system administrators. It is known for its flexibility, reliability, and security features. One of features that make Linux stand out from other operating systems is its ability to interact with various hardware components seamlessly. In this article, we will discuss whether Linux emits events when a monitor is connected with a D-sub connector. We will explore various methods that can be used to detect and manage connection of monitors to Linux-based systems. What is D-sub connector? Before we dive into details of how Linux interacts with monitors ... Read More

Advantages of using JNA over process execution

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

253 Views

Introduction Java Native Access (JNA) is a Java library that provides an interface for accessing native code from Java programs. It enables developers to use functionality of native libraries or applications without need to write native code or deal with complexity of C or C++ programming languages. On other hand, process execution refers to creation of new processes in operating system. In this article, we will discuss advantages of using JNA over process execution, along with some examples. Improved Performance One of main advantages of using JNA over process execution is improved performance. When using process execution, a new process ... Read More

Does mprotect flush instruction cache on ARM Linux

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

142 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

309 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

253 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

246 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

128 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

Advertisements