Tag Archives: Examples

Chef notifies and subscribes explained with examples

  Chef notifies and subscribes explained with examples A notification is a property on a resource that listens to other resources in the resource collection and then takes actions based on the notification type (notifies or subscribes).   Timers A timer specifies the point during the chef-client run at which a notification is run. The… Read More »

20 pmap Commands Examples in Linux / UNIX | pmap Commands Tutorial

You can find the memory used by a program (process) by looking into /proc directory or using standard command such as ps or top. However, you must calculate all memory usage by hand i.e. add Shared Memory + mapped file + total virtual memory size of the process + Resident Set Size + non-swapped physical… Read More »

20 mpstat Commands Examples in Linux / UNIX | mpstat Commands Tutorial

If you are using SMP (Multiple CPU) system, use mpstat command to display the utilization of each CPU individually. mpstat Report processors related statistics which includes Collecting and displays performance statistics for all logical processors in the system.. This display CPU statistics of individual CPU (or) Core. How to install mpstat? 1. Ensure you are… Read More »

20 iostat Commands Examples in Linux / UNIX | iostat Commands Tutorial

iostat command is a command that used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates. The iostat create reports that can be used to change system configuration to better balance the input/output between physical disks. You can use iostat command which report… Read More »

20 vmstat Commands Examples in Linux / UNIX | vmstat Commands Tutorials

vmstat – Report virtual memory statistics. vmstat is a tool that collects and reports data about your system’s memory, swap, and processor resource utilization in real time. It can be used to determine the root cause of performance and issues related to memory use. vmstat reports information about processes, memory, paging, block IO, traps, and… Read More »

20 Xargs Commands Examples in Linux / UNIX | Xargs Commands Tutorials

Under Development The xargs command is extremely useful when we combine it with other commands.This tutorials explains the usage of xargs command using few simple examples. 1. Xargs Basic Example The xargs command (by default) expects the input from stdin, and executes /bin/echo command over the input. When you execute xargs without any argument, or… Read More »

Understand Ant command line arguments with Examples

Several tasks take arguments that will be passed to another process on the command line. To make it easier to specify arguments that contain space characters, nested arg elements can be used. value – a single command-line argument; can contain space characters. file – The name of a file as a single command-line argument; will… Read More »

Ant command line arguments – Examples – Summary

Ant command line arguments Several tasks take arguments that will be passed to another process on the command line. To make it easier to specify arguments that contain space characters, nested arg elements can be used. value – a single command-line argument; can contain space characters. file – The name of a file as a… Read More »