top
stress -c 8
Dynamic update client docs here
noip2 -S #Shows status: *Use sudo to run command in root mode # coz first time after creating a configuration it # doesn't without sudo prefixed, yikes!
noip2 # Runs noip2 service. noip2 -h # Shows help from noip2 noip2 -K 702 # Delete an existing configuration running task. sudo noip2 -C # Use this command to create a new config after terminating a existing running process.
IMPORTANT After installation noip2 give read permission to the configuration file to all the users by below command,
and the .profile
file would be able to run use the configuration without any
silly error, yikes!!
sudo chmod +rwx /usr/local/etc/no-ip2.conf
Also, you can use below commands in ~/.profile
file to start noip on boot:
#Sahil's initial startup services.
[ "$(type noip2 2> /dev/null)" ] && [ -z "$(pgrep noip2)" ] && (noip2 &)
#^ this just runs the noip2 service.
watch-pi-temp.sh
watch -n 1 ./pi-temp.sh
# Here n is 1 i.e., interval time, if u omit it default will be 2secs.
pi-temp.sh
#!/bin/bash
# Script: my-pi-temp.sh
# Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3
# Author: Vivek Gite <www.cyberciti.biz> under GPL v2.x+
# -------------------------------------------------------
cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "$(date) @ $(hostname)"
echo "-------------------------------------------"
echo "GPU => $(/opt/vc/bin/vcgencmd measure_temp)"
echo "CPU => $((cpu/1000))'C"
#!/bin/bash
# Script: my-pi-temp.sh
# Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3
# Author: Vivek Gite <www.cyberciti.biz> under GPL v2.x+
# -------------------------------------------------------
cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "$(date) @ $(hostname)"
echo "-------------------------------------------"
echo "GPU => $(/opt/vc/bin/vcgencmd measure_temp)"
echo "CPU => $((cpu/1000))'C"