Category Archives: Linux Commands

Snap command examples to manage packages on Linux

By | February 18, 2023

What is Snap Snap is a software packaging and deployment system (similar to deb) developed by Canonical for Linux. It has version control capabilities which help maintain multiple releases of a particular application (aka snaps). Though it is a proprietary solution from Canonical, Snap is available for other linux distros like Fedora, CentOS and Manjaro… Read More »

How to Benchmark Hardware on Linux with 7z LZMA Compression

By | November 28, 2022

The 7z LZMA benchmark runs dummy compression and decompression tasks to measure the overall performance of the system. It reports measurements in MIPS (million instructions per second) which give an idea of the computer’s raw processing power counting all factors. 7z LZMA compression is a multi-threaded work-load. This means that it can utilise multiple cores… Read More »

How to monitor cpu power consumption in watts on Ubuntu

By | November 19, 2022

So recently I was looking for a command to check the live power consumption of cpu in watts. I tried different commands like powertop, powerstat, lm-sensors but none of them worked properly. lm-sensors did show the temperatures of individual cores of the cpu, but could not display the watts being consumed in realtime. Other commands… Read More »