#####################

Just run the script from the location as specified below

/usr/local/cpanel/bin]# ./dcpumonview


or try


/etc/rc.d/init.d/chkservd restart
service cpanel restart
/scripts/upcp

#####################