What is the 'free' command?

0126

The free command is a Linux utility that displays information about the system's memory usage. It provides details on total, used, free, shared, buffer/cache, and available memory. The command can be used with various options to customize the output, such as:

  • -h: Display memory in a human-readable format (e.g., GiB, MiB).
  • -s <seconds>: Continuously monitor memory usage at specified intervals.
  • -c <count>: Limit the number of updates when using the -s option.

For example, running free -h will show a summary of memory usage in a format that's easy to read.

0 Comments

no data
Be the first to share your comment!