There are lots of different I/O ports in use on the Linux system at any time, so your output will most likely differ from this example. With PnP, I/O port conflicts aren’t very common, but it is possible that two devices are assigned the same I/O port. In that case, you can manually override the […]
db_load command – generate db database
The db_load utility reads either the output format used by the dump utilities or (optionally) a flat-text representation created using other tools, and stores it into a Berkeley DB database. Syntax: db_load [-nTV] [-c name=value] [-f file] [-h home] [-t btree | hash | queue | recno] file The input to db_load must be in […]
bsdtar command – Read and write tape archive files
FreeBSD uses a version of tar written from scratch to replace the older GNU tar, called bsdtar. bsdtar can behave completely consistently with GNU tar, and can also behave in strict accordance with POSIX tar. If you’re at all concerned about the differences between GNU tar, POSIX tar, and bsdtar, read man tar(1) for all […]
iotop Command Examples in Linux
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 […]
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 […]