Script 'ps' like real-time


That is the script I've talk about at the end of the first post of  'Process Managing in Unix based systems' post

#! /bin/bash
psargs=$1 #If you want to assign arguments to the 'ps' command
while [ 1 = 1 ] # Infinite loop to keep running the program until 'Ctrl + c' or other signal
  do
      ps $psargs
      sleep 5 # That is the time to wait until another instance of 'ps' is called
      clear # Clear the terminal until the next loop
done
----------------------------
Si alguno no se entera con el inglés me lo dice y lo pongo todo también en español xD