Load Average
Linux commands like top, uptime and w report the system load average. For instance, the first line of top command output is something like, top - 04:56:31 up 60 days,…
Linux commands like top, uptime and w report the system load average. For instance, the first line of top command output is something like, top - 04:56:31 up 60 days,…
The Unix top command is useful for monitoring systems continuously for processes that take more system resources like the CPU time and the memory. top periodically updates the display showing…
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…
1. Limiting the width of Linux man command output Quite often, we need to print the output of the Linux man command. One way is to redirect the man command…
Coordinated Universal Time The Coordinated Universal Time (UTC) is the universally accepted time standard based on atomic clocks with leap seconds added judiciously to keep it in tune with the…
Alarm system call The alarm system call arranges for the SIGALRM signal to be sent to the calling process after s seconds. #include <unistd.h> unsigned int alarm (unsigned int s);…
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…
1.0 The system calendar time since the Epoch, 1970-01-01 00:00:00, UTC The Linux kernel maintains a system calendar time, which is initialized from the hardware real time clock (RTC) at…
The hardware clock There are two clocks in a Linux system, the hardware real time clock (RTC) and the Linux system time maintained by the kernel. In this tutorial, we…
The cron daemon helps in running jobs at predefined times periodically. However, the system needs to running at all times so that cron can can execute a job at the…