Linux

/Linux

Ultimate guide to install PHP 7.2 MS SQL drivers on Ubuntu

Hi There, It seems to me that there is not a definitive guide to install MS SQL (Microsoft's PHP MS SQL drivers) on Ubuntu, so here is the 20 steps: Install Ubuntu (tested on 16.04 LTS) sudo -s curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list apt-get update ACCEPT_EULA=Y apt-get install msodbcsql17 apt-get [...]

By | 2018-05-08T22:55:48+00:00 May 8th, 2018|Apache, Linux|0 Comments

Linux: Get CPU Usage in percent

Hi there, Here is how to get the linux CPU usage taken on a weighed across all CPU's.   top -b2 -n2 -p 1 | fgrep "Cpu(s)" | tail -1 | awk -F'id,' -v prefix="$prefix" '{ split($1, vs, ","); v=vs[length(vs)]; sub("%", "", v); printf "%s%.1f%%\n", prefix, 100 - v }'   /Renzo  

By | 2017-03-20T11:58:00+00:00 March 20th, 2017|Linux|Comments Off on Linux: Get CPU Usage in percent

The Danish Joomla spider

Mission: To examine how many joomla sites there are in Denmark Many times i asked myself - how many sites actually runs joomla in e.g. Denmark and i've could't find the answer anywhere. Even extensive search on Google, posting in forums etc.

By | 2018-01-06T01:52:20+00:00 June 29th, 2009|Joomla, Linux|1 Comment