Found 1437 Articles for Linux

Do network file systems pre-fetch

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

221 Views

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

Monitoring context switches in Linux

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

2K+ Views

Context switching is an essential aspect of modern operating systems that enables them to efficiently manage resources available to them. Context switching is process of switching from one process to another in a multi-tasking environment. operating system does this by saving state of current process and loading state of next process. Monitoring context switches in Linux is a crucial task for system administrators, developers, and users who want to optimize performance of their systems. In this article, we will explore how to monitor context switches in Linux and why it is essential to do so. Understanding Context Switching in Linux ... Read More

Linking with x86 shared library on Linux x64

Satish Kumar
Updated on 03-Mar-2023 15:09:38

272 Views

Introduction Dynamic Link Libraries, also known as Shared Libraries, are collections of compiled code, data, and resources that can be loaded and executed by an application at runtime. Shared libraries are commonly used in development of Linux applications, and are an integral part of x86 architecture. In this article, we will explore process of linking with x86 shared libraries on Linux x64 systems. Understanding x86 Shared Libraries An x86 shared library is a file that contains compiled code, data, and resources that can be shared among multiple applications at runtime. Shared libraries are loaded into memory only when required by ... Read More

How to make a USB device multi-touch enabled

Satish Kumar
Updated on 03-Mar-2023 15:08:10

636 Views

In recent years, touch technology has become increasingly popular, with smartphones, tablets, and laptops offering capability to interact with devices by simply tapping or swiping screen. However, what if you could use touch technology on your computer using a USB device? This is where concept of multi-touch enabled USB devices comes into play. In this article, we will explain what multi-touch enabled USB devices are, how to make a USB device multi-touch enabled, and provide examples of popular multi-touch USB devices in market. What are Multi-touch Enabled USB Devices? Multi-touch enabled USB devices are peripherals that are connected to a ... Read More

How can I use wstring(s) in Linux APIs

Satish Kumar
Updated on 19-Jul-2023 10:45:49

184 Views

Introduction In Linux programming, use of wide character strings is becoming increasingly common. Wide character strings, or wstrings, are a sequence of wide characters, each of which can represent a single Unicode character. This makes them particularly useful when working with text that includes characters from a wide range of languages, as well as text that includes special characters such as accents, symbols, and emojis. In this article, we will explore how to use wstrings in Linux APIs, with examples and explanations. What are wstrings and why use them? A wide character string, or wstring, is a sequence of wide ... Read More

Who called my DBus API in Linux system

Satish Kumar
Updated on 03-Mar-2023 15:02:10

471 Views

Introduction DBus is a widely used message bus system that facilitates communication between different software applications on Linux operating systems. It is used for inter-process communication (IPC) and allows applications to communicate with each other, even if they are running in different contexts. However, it can be difficult to determine which application or process is calling a specific DBus API. In this article, we will explore different methods for identifying caller of a DBus API on Linux. What is DBus? DBus is a message bus system used for inter-process communication (IPC) in Linux systems. It is a low-level, asynchronous protocol ... Read More

Is it possible to share a Cuda context between applications

Satish Kumar
Updated on 03-Mar-2023 15:01:10

609 Views

Introduction CUDA is a parallel computing platform and programming model created by Nvidia. It allows developers to use a CUDA-enabled graphics processing unit (GPU) to accelerate processing tasks in their applications. A CUDA context is a software environment that manages memory and other resources required by a CUDA application. A CUDA context is created when an application calls CUDA API, and it remains active until application releases it. One question that arises is whether it is possible to share a CUDA context between applications. In this article, we will explore this topic and discuss advantages and challenges of sharing a ... Read More

How to run long time process on Udev event

Satish Kumar
Updated on 03-Mar-2023 15:00:11

944 Views

Introduction Udev is a device manager used by modern Linux systems. It detects hardware changes and manages device nodes in /dev directory. Udev provides a flexible way to run scripts or programs in response to device events. This feature can be used to perform various tasks like automounting, launching backup scripts, and running long-running processes. In this article, we will discuss how to run long time processes on Udev events and provide examples to illustrate concepts. Understanding Udev Rules Udev rules are files that specify how Udev should handle device events. A typical rule consists of four parts: a match, ... Read More

Find Unused Fields in Simulink Structure Variables

Satish Kumar
Updated on 03-Mar-2023 14:59:23

209 Views

Introduction Simulink is a popular tool used for modeling and simulating dynamic systems. In Simulink, structure variables are used to store and organize data for easy access and manipulation. However, it is not uncommon for structure variables to contain unused fields, which can make code unnecessarily complex and hard to maintain. In this article, we will discuss how to find unused fields in Simulink structure variables and provide examples to demonstrate process. What are Simulink Structure Variables? In Simulink, a structure variable is a container that holds data in fields. Fields are individual elements of structure that store a single ... Read More

Mechanism of clipboard of xwindow

Satish Kumar
Updated on 03-Mar-2023 14:58:30

200 Views

Introduction X Window System, commonly known as X11 or simply X, is a windowing system for bitmap displays. It was initially designed in mid-1980s to run on Unix-like operating systems. X Window System has a fundamental concept of a clipboard, which is used to transfer data between applications. In this article, we will explore mechanism of clipboard in X Window System. What is a Clipboard? A clipboard is a temporary storage area in memory that allows you to copy and paste text, images, or other data between applications. X Window System uses a clipboard to transfer data between applications. ... Read More

Advertisements