Skip to main content
added 7 characters in body
Source Link
techraf
  • 4.3k
  • 10
  • 32
  • 43

I think use watchusing watch command is much easier, for example: watch {your command}
In

watch {your command}

In your case, it will be:

watch vcgencmd measure_temp

That

watch vcgencmd measure_temp

That will refresh by 2 seconds, if you want to define the interval by yourself  (5 second maybe), you can type:

watch -n 5

In

watch -n 5 <your command>

In your case, it will be:

watch -n 5 vcgencmd measure_temp

You

watch -n 5 vcgencmd measure_temp

You can cancel that with Ctrl+CCtrl+C.

I think use watch command is much easier, for example: watch {your command}
In your case, it will be:

watch vcgencmd measure_temp

That will refresh by 2 seconds, if you want to define the interval by yourself(5 second maybe), you can type:

watch -n 5

In your case, it will be:

watch -n 5 vcgencmd measure_temp

You can cancel that with Ctrl+C.

I think using watch command is much easier, for example:

watch {your command}

In your case, it will be:

watch vcgencmd measure_temp

That will refresh by 2 seconds, if you want to define the interval by yourself  (5 second maybe), you can type:

watch -n 5 <your command>

In your case, it will be:

watch -n 5 vcgencmd measure_temp

You can cancel that with Ctrl+C.

Source Link

I think use watch command is much easier, for example: watch {your command}
In your case, it will be:

watch vcgencmd measure_temp

That will refresh by 2 seconds, if you want to define the interval by yourself(5 second maybe), you can type:

watch -n 5

In your case, it will be:

watch -n 5 vcgencmd measure_temp

You can cancel that with Ctrl+C.