To get a live view of the input and output, or short I/O, bandwidth usage of your system, type iotop. iotop needs to be started with the root user. You can use iotop, for example, to learn how fast your hard disk can read and write, then press the q key to exit. Please read […]
Archives for July 2022
Basic Commands to Troubleshoot Performance Issues in Linux
Following is the list of OS commands apart from basic commands that are useful in diagnosing the problems at OS end causing the slow performance. Please note that all the commands mentioned above are tested in a Linux environment only. If you are ready to track down your performance problems, here are some tools to […]
How to Determine Which Process is Writing to Disk in Linux
It’s also possible on Linux to get per process I/O statistics, so you can see exactly who is reading and writing heavily, using a program named iotop. iotop needs to be started with the root user. You can use iotop, for example, to learn how fast your hard disk can read and write, then press […]
/dev/shm permission change after node reboot
Shared memory is a way to shared state between process. Shared memory, as its name implies, is a method to “share” data between processes. Both processes define the same memory area as “shared”, and they can then exchange information simply by writing into it. This (used to be, and still is somewhat) faster than the […]
How to Create a New Directory in Linux
You can use the “mkdir” command to create new directories in Linux. Creating a new directory in Linux is easy — just use the mkdir command: $ mkdir New_Dir $ ls -ld New_Dir drwxrwxr-x. 2 geek geek 21 Mar 6 14:40 New_Dir $ The system creates a new directory named New_Dir . Notice in the […]
Using grep to search in reverse
Imagine that you have a large text file and you are looking for a specific piece of information or want to find every occurrence of something. For me, this is a daily occurrence, as I look through system logs when trying to solve problems. This brings us to the grep command. grep, which is used […]
qemu does not launch : vnc server started
QEMU is a generic and open-source machine emulator and virtualizer. When used as a machine emulator, QEMU can run OSs and programs made for one machine (for example, an ARM board) on a different machine (for example, your own PC). QEMU is really its own virtualization solution that works in user space. Combining it with […]
How to Kill VNC Window Sessions in Linux
VNC (Virtual Network Computer) is a low-bandwidth cross-platform display system. VNC is a system for controlling a computer remotely and sharing desktops over a network using a graphical interface. Access to a remote desktop requires a VNC server installed on the remote system, a VNC viewer on the system from which access is being established […]
Time to live exceeded ping error
Every packet of data that is sent out includes a TTL value within the IP packet header. This refers to the number of hops data can go through before it is discarded. Based on network traffic between hosts, it is possible to predict what OS is running on a system. Every operating system has its […]
What is the difference between insmod and modprobe
During development, you usually use insmod to load a module and it should be given the path of the module to load: $ insmod filename [module-options] It is low-level form of module loading, that forms the base of other module loading methods, and is the one we will use in this book. On the other […]