Track Coronavirus Disease 2019 (COVID-19) Statistics From Commandline

It is very difficult time for the entire World! The deadly Coronavirus (COVID-19) is spreading very fast across the Globe. All countries are taking various precautions including lock-down and curfew and trying their best to control this infectious disease. The World Health Organization (WHO) website provides many resources, current situation reports, travel advice, protective measures & awareness and answers for all questions related to the Coronavirus disease outbreak. Besides WHO, many NGOs, individuals and volunteers are doing their part by developing tools and apps to track the Novel Coronavirus statistics. This guide explains how to track Coronavirus disease 2019 (COVID-19) statistics from Commandline using Corona-cliCoronavirus-tracker-cli and COVID-19 Tracker CLI on Linux.

1. Corona-cli

Corona-cli is a command line application written in NodeJS. The corona-cli gets you the following details from commandline:

  • Worldwide Coronavirus disease (COVID-19) report,
  • Active daily report of your country’s COVID-19 statistics,
  • Track Coronavirus statistics of US states,
  • Displays the report by country-wise, cases, deaths, active, recovered, critical, no of cases per-million.

Install Corona-cli on Linux

Make sure you have installed Nodejs on your Linux system as described in the following guide.

After installing Nodejs, run the following command to install Corona-cli on your Linux system:

$ npm install -g corona-cli

Track Coronavirus Disease 2019 (COVID-19) Statistics From Commandline Using Corona-cli

When you run Corona-cli without any options, it displays the world-wide Coronavirus statistics in a neat tabular-column format as shown below.

$ corona

Sample output:

Coronavirus Disease 2019 (COVID-19) Statistics From Commandline

As you can see, each column in the above output contains the following details:

  • Country – Name of the country.
  • Cases – Total number of cases in a country.
  • Cases (today) – Cases in 24 hours GMT/UTC.
  • Deaths – Total number of deaths in a country.
  • Deaths (today) – Deaths in 24 hours GMT/UTC.
  • Recovered – Total number of recovered people.
  • Active – Total number of active patients.
  • Critical – Total number of critical patients.
  • Per Million – Affected patients per million.

It is possible to display Coronavirus statistics by country-wise. For instance, to display the Coronavirus statistics data for India, run:

$ corona India
Coronavirus statistics data for India

We can also sort Coronavirus statistics by various types as given below.

$ corona -s country
$ corona -s cases
$ corona -s cases-today
$ corona -s deaths
$ corona -s deaths-today
$ corona -s recovered
$ corona -s active
$ corona -s critical
$ corona -s per-million

If you’re live in United States, you can display the Coronavirus data by states-wise.

$ corona states
Coronavirus data by states-wise in US

To display states data sorted by active cases, run:

$ corona states --sort active

To display states data sorted by Cases today:

$ corona states -s cases-today

To get help, run:

$ corona --help
  Track the Coronavirus disease (COVID-19).

    corona <command> [--option]

    country-name         Get data for a given country
    states               Get data for all USA states

    --xcolor, -x         Single colored output
    --sort, -s           Sort data by type

    corona china
    corona states
    corona -x
    corona --sort cases-today
    corona -s critical

  ❯ You can also run command + option at once:
    corona china -x -s cases

For more details, refer the project’s GitHub page given at the end.

2. Coronavirus-tracker-cli

Coronavirus-tracker-cli tracks the Coronavirus (COVID-19) statistics from command line using curl program. It gets the Coronavirus data from the following two sources:

By default, it uses Worldometers API if the source is not explicitly mentioned.

Track Coronavirus Disease 2019 (COVID-19) Statistics From Commandline Using Coronavirus-tracker-cli

Unlike the previous tool, coronavirus-tracker-cli requires no installation! All you have to do is to use curl command which comes pre-installed with many Linux distributions.

To track the Coronavirus stats globally, simply run:

$ curl

Sample output:

Track Coronavirus Disease 2019 (COVID-19) Statistics From Commandline Using Coronavirus-tracker-cli

As I mentioned already, if no source mentioned, It gets the Cornavirus data from Wordometer API by default.

You can also specify source explicitly like below:

$ curl
$ curl

Filter Cornavirus stats by country-wise:

To display COVID-19 data for a specific country, mention the country name like below.

$ curl 
$ curl

Filter Cornavirus stats by country-wise from specific source:

$ curl
$ curl

Display top affected countries

To display top ten affected countries by COVID-19, run:

$ curl
Track Top ten affected countries by COVID-19 Using Coronavirus-tracker-cli

Besides using Curl command, it is possible to install it using npm package manager.

Please note that coronavirus-tracker-cli will conflict with the corona-cli tool. Because both uses the same executable name i.e. corona. So it is recommended to remove the previous one if it is already installed and then install coronavirus-tracker-cli.

$ npm uninstall -g corona-cli

Make sure you have installed NodeJS. After installing Nodejs, run the folllowing command to install Coronavirus-tracker-cli:

$ npm install coronavirus-tracker-cli -g

Now track the Coronavirus stats globally using command:

$ corona

Get Coronavirus data from specific source:

$ corona --source=1


corona -s=1

Get Coronavirus data country-wise:

$ corona India

Display top N countries afftected by Coronavirus:

$ corona --top=10


corona -t=10

For more details, refer the project’s GitHub page given at the end.

3. COVID-19 Tracker CLI

COVID-19 Tracker CLI is yet another command line program to track Coronavirus Disease 2019 (COVID-19) cases around the world. It is also written in NodeJS. It uses Worldometer API to collect the COVID-19 data.

Concerning about the features, we can list the following:

  • Real-Time updates.
  • Optimized application.
  • Fast response time (~< 100ms).
  • Simple layout and easy to understand.
  • By country query.
    • e.g. (/country).
  • Windows CMD support.
    • e.g. (/cmd or /cmd/country).
  • Plain or Basic version.
    • e.g. (/plain or /plain/country) or (/basic, /basic/country).
  • Random health saying on footer.
  • No installation required!
  • Free and Open source!!

Track Coronavirus Disease 2019 (COVID-19) Statistics From Commandline Using COVID-19 Tracker CLI

As I already mentioned, COVID-19 Tracker CLI doesn’t require any installation. All you need to do is Curl or Wget commands. Both are comes pre-installed in most Linux distributions.

To track COVID-19 data worldwide, simply run:

$ curl


$ wget -i && cat index.html

Sample output:

Track Coronavirus Disease 2019 (COVID-19) Statistics From Commandline Using COVID-19 Tracker CLI

As you can see in the above outputs, COVID-19 Tracker CLI program displays the COVID-19 global cases in a simple tabular-column format with the following details:

  • Total number COVID-19 cases,
  • Total number of deaths,
  • Total number of recovered cases,
  • Mortality rate in %.
  • Recovered rate in %.

There is also a random health saying or precaution message at the bottom. Very cool!

You can also track the COVID-19 cases by country-wise by mentioning the country name like below.

$ curl
Track the COVID-19 cases by country-wise Using COVID-19 Tracker CLI

To me tracking COVID-19 cases with curl command is much better than wget method. Anyway, you can use any method that suits for you.

For more details, look at the project’s GitHub page given at the end.

Useful online resources that provides live Coronavirus statistics

If you don’t want to install anything, use the following online resources to track the Coronavirus data from an Internet-connected desktop/mobile/tablet:

Stay informed about Coronavirus:

Protect yourself from Coronavirus

There is a popular proverb – “Prevention is better than cure.”. I fully concur with it. Since there is currently no vaccine to prevent coronavirus disease, follow all advises suggested by the WHO, Doctors and local healthcare authorities to protect yourself and your family from Coronavirus:

  1. Wash your hands frequently with soap and water or with an alcohol-based solution.
  2. Maintain social-distancing (at least 1 metre from others).
  3. Cover your mouth/nose with your elbow while coughing and sneezing.
  4. Avoid touching your face, particularly eyes, nose and mouth.
  5. Stay in your HOME as much as possible.


  1. Corona-cli GitHub Repository
  2. Coronavirus-tracker-cli GitHub Repository
  3. COVID-19 Tracker CLI GitHub Repository


3 Ways to Analyze Memory Dump (.dmp) File Windows 7/8/10

The dreaded blue screen of death (BSoD) has been around since Windows 95. It is scary in a way that this blue screen can happen anytime without the user expecting it and there is no way to recover from this blue screen other than restarting the computer. Obviously the biggest problem is actually when you are working on something important and haven’t got a chance to save it. An unexpected blue screen will just cause you to lose all or some parts of your work depending on how often it is being saved. Other than that, the blue screen on an older Windows does look a bit scary with all the text and technical information on screen. Fortunately the blue screen on Windows 8.1 doesn’t look so frightening.

blue screen in windows

Anything can cause a blue screen in Windows. It can be from an unstable driver for a hardware device, 3rd party software such as an antivirus/firewall, or even a rootkit based malware. It can also be caused by an attacker exploiting or in another word “nuking” an unpatched Windows. Hardware such as memory, CPU and motherboards that are failing can also randomly cause blue screen.

If the blue screen is caused by software, an inexperienced computer technician will have to spend more time to determine the culprit by going through the process of elimination of disabling all 3rd party programs that startup automatically, enable them one at a time and test until they experience the blue screen. However with the right tools in hand, it can quickly reveal which software is possibly causing the blue screen so you can work towards fixing the problem. Here we have 3 free software that can do that.1. BlueScreenView

BlueScreenView is a small and portable tool developed by NirSoft that is capable of quickly showing you which file caused the blue screen. All you need to do is download the program, run it and it will automatically analyze the minidump files that are created during the blue screen. The top pane shows the dump files while the lower pane shows the offending files that caused the crash. If the blue screen is caused by a third party program, the driver file should be listed in the lower pane.


The drivers that are found in crash stack will be highlighted and those are the files that you should pay attention to. Double clicking on the driver file listed at the lower pane will show every detail about the file such as the stack addresses, size, time stamp and etc. We can see that it was a system file driver belonged to “Resplendence WhoCrashed Crash Dump Test” that caused the blue screen.

bluescreenview file properties

It is also possible to generate an HTML report for sharing or logging purposes. Do take note that you’ll need to download a separate 64-bit version of BlueScreenView if you intend to run it on a 64-bit version of Windows.

Download BlueScreenView 

2. WhoCrashed

WhoCrashed Home Edition also does pretty much the same thing as BlueScreenView except it tries to be more user friendly. You’ll need to click the Analyze button to start analyzing the minidump files and scroll down to see the crash dump analysis report. It shows you which file probably caused the blue screen and the bug check description helps the user to understand better. As you can see from the screenshot below, it says that the crash appears to be a typical software driver bug and is not likely to be caused by a hardware problem.


The Home Edition is free for home use only. You’ll need to purchase the Pro version if there is a need to run WhoCrashed in a commercial environment and displaying dump details, kernel stacks and loaded modules. Although WhoCrashed comes in a setup installer, it can actually run as a portable program by simply copying the program’s folder to a USB flash drive and run the executable file.

Download WhoCrashed 

3. Manually Analyzing Minidumps

Debugging a program to locate the bug so that the problem can be fixed is not an easy task and not something every IT person is capable of. The 2 tools mentioned above are made to be user friendly so that both beginner and expert can tell which offending driver might have caused the blue screen. Although there are quite a few good third party debuggers, WinDbg, a free debugging tool by Microsoft is commonly used to analyze the minidump file and it involves command line usage.

If you do not have WhoCrashed or BlueScreenView at hand, a simple solution is to analyze the memory dump file online. All you need is a web browser with an internet connection to visit the webpage, upload the .dmp file and wait for a few seconds for a report to be automatically generated. Follow the simple steps below to analyze minidump file online.

3a. Visit OSR Online webpage 

3b. Click the “Browse” button and select the .dmp file which is normally located at C:\Windows\Minidump. If UAC is enabled, you need to copy the .dmp file from the Minidump folder to another location such as Desktop otherwise you’ll receive an error message saying that “You don’t have permission to open this file.”

analyze dmp file online

3c. Once you’ve selected the .dmp file to analyze, click the “Upload Dump” button. The file size of a minidump .dmp file is normally quite small at around 150KB to 300KB so the upload won’t take very long.

3d. On the analysis report, take note of the MODULE_NAME and IMAGE_NAME which shows the file or program that caused the crash in Windows.

osronline dmp crash analysis

Additional Notes: If it is a file from a third party program or a driver for a hardware device, updating or disabling it can stop the blue screen from happening. If it a file from Windows, there are chances that one of the hardware such as memory, CPU or mainboard is failing. You should run a memory test first since it is easy to do that by pressing the Start button and type mdshed which will run the Windows Memory Diagnostic program.
Read More:


The process tracker-store and tracker-miner-fs eats up CPU (Ubuntu, Debian)

Simply change this values using the gsettings witch will disable the constant indexing of Tracker:

gsettings set org.freedesktop.Tracker.Miner.Files crawling-interval -2  
gsettings set org.freedesktop.Tracker.Miner.Files enable-monitors false

The values could be changed using dconf-editor by navigating through org > freedesktop > Tracker > Miner > Files:


After this changes, it is highly recommended to cleanup the database to reclaim some lost space on the disk:

tracker reset --hard # old command: tracker-control -r