User Tools

Site Tools


wiki:use_watch_for_repetitive_command_line_actions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:use_watch_for_repetitive_command_line_actions [2021/04/21 17:49] – created walkeradminwiki:use_watch_for_repetitive_command_line_actions [2021/04/21 17:51] (current) walkeradmin
Line 1: Line 1:
-====== Finding Files ======+====== Use Watch for repetitive command line actions ======
 <color darkorange>Apr 2021</color> <color darkorange>Apr 2021</color>
 \\  \\ 
Line 35: Line 35:
 \\  \\ 
     watch "kubectl -n mediakind get pods |grep stream-processor"     watch "kubectl -n mediakind get pods |grep stream-processor"
-\\  
 \\  \\ 
 Now I will see something similar to the following, and it will automatically refresh every 2 seconds. Now I will see something similar to the following, and it will automatically refresh every 2 seconds.
 \\  \\ 
 <file> <file>
-Every 2.0s: kubectl -n mediakind get pods |grep stream-processor                                                                                                                        Wed Apr 21 17:40:43 2021+Every 2.0s: kubectl -n mediakind get pods |grep stream-processor                        Wed Apr 21 17:40:43 2021
  
 mux-bckp-1-stream-processor-mux-65c46756b5-4kvcz               5/    Running mux-bckp-1-stream-processor-mux-65c46756b5-4kvcz               5/    Running
Line 51: Line 50:
 stream-processor-ui-connector-789b688bc5-fg6x7                 1/    Running stream-processor-ui-connector-789b688bc5-fg6x7                 1/    Running
 </file> </file>
 +\\ 
 +\\ 
 +Use <color #ed1c24>CTRL-C</color> to exit <color #ed1c24>Watch</color>.
 +\\ 
 \\  \\ 
 \\  \\ 
  
wiki/use_watch_for_repetitive_command_line_actions.1619027352.txt.gz · Last modified: (external edit)