Exercise 01 - Linux Shell Scripting - Get disk usage on all the servers

Problem Statement – Get the information about disk usage from all the servers

  • Create a file which will have list of servers need to be monitored
  • Make sure password less login is enabled
  • Develop a program, which will
  • Iterate through list of servers
  • Accept a command as argument
  • Run the command on the servers iteratively
  • Redirect the output into the file
  • Output format: Timestamp,Server IP,File System,Size,Used,Available,Mount Point
  • Schedule it to run every minute