system

systemd – System and service manager in Linux

1.0 Introduction systemd is the newer init system used in most Linux distributions since 2015. The first widely used init system was the System V init process, sysvinit. Ubuntu introduced the Upstart init system with Ubuntu 6.10 in 2006. Ubuntu fully migrated to systemd with Ubuntu 15.04 in 2015. Indeed, we can see that /sbin/init …

systemd – System and service manager in Linux Read More »

vmstat

The vmstat command prints the system virtual memory statistics for Linux and Unix systems. vmstat prints information about system processes, memory, swap, I/O blocks, interrupts and context switches and the CPU activity. The most common command format is, vmstat [delay [count]] The optional delay parameter tells the time interval between periodic vmstat outputs. If the …

vmstat Read More »

Finding the free and used memory with the free command

Using the free command, the free and used memory in a Linux or Unix system can be found. The free command can be given from the command line as, free And the system responds with an output like, total used free shared buffers cached Mem: 960268 873136 87132 0 14652 168884 -/+ buffers/cache: 689600 270668 …

Finding the free and used memory with the free command Read More »

ps command usage with examples in Linux

The ps command gives information about processes on a Linux or Unix system. Our programs run as processes in the system. Also, for each installed package, there might be one or more processes. So, to know what is happening in the system, the first instinctive action is to find out about processes running in the …

ps command usage with examples in Linux Read More »

Linux process execution time

Execution time A process has an execution time associated with it. The execution time comprises of two parts, the user time and the system time. The user time is the time spent by the CPU in executing instructions in user mode. The system time is the time spent by the CPU in executing instructions on …

Linux process execution time Read More »

Starting a network server after communication interface is up

If you have a program that communicates over the network interface, say, eth0 and you wish to start the program automatically after the system startup, you need to ensure that the program starts after the interface eth0 is up. For Linux systems using the Upstart process management daemon, this can be done by starting the …

Starting a network server after communication interface is up Read More »

Remote Display With the X – Window System

X – Window system is a network-transparent window system. X11 server is the display server that manages the output on the bit-mapped display hardware. An application (or client) does the work and sends requests to the X11 server, or simply, the X server for display. The client application and the X server are usually located …

Remote Display With the X – Window System Read More »