Understanding Load Average on Linux – Linux Hint

Load average is a measurement of the amount of work versus free CPU cycles available on a system processor. In this article I’ll define the term, demonstrate how Linux calculates this value, then provide insight into how to interpret system load.

Before we dive into Linux load averages, we must explore the different ways load is calculated and address the most common measurement of CPU load – a percentage.

Windows calculates load differently from Linux, and since Windows has been historically more popular on the desktop, the Windows definition of load is generally understood by most computer users. Most Windows users have seen the system load in the task manager displayed as a percentage ranging from 0% to 100%.

In Windows this is derived by examining how “busy” the System Idle Process is and using the inverse to represent the system load. For example, if the idle thread is executing 99% of the time, CPU load in Windows would be 1%. This value is easy to understand but provides less overall detail about the true status of the system.

In Linux, the load average is instead is represented by a decimal number starting at 0.00. The value can be roughly defined as the number of processes over the past minute that had to wait their turn for execution. Unlike Windows, Linux load average is not an instant measurement. Load is given in three values – the one minute average, the five minute average, and the fifteen minute average.

Understanding Load Average in Linux

At first, this extra layer of detail seems unnecessary if you simply want to know the current state of CPU load in your system. But since the averages of three time periods are given, rather than an instant measurement, you can get a more complete idea of the change of system load over time in a single glance of three numbers

Displaying the load average is simple. On the command line, you can use a variety of commands. I simply use the “w” command:

root@virgo [~]# w
21:08:43 up 38 days, 4:34, 4 users, load average: 3.11, 2.75, 2.70

The rest of the command will display who’s logged on and what they’re executing, but for our purposes this information is irrelevant so I’ve clipped it from the above display.

In an ideal system, no process should be held up by another process (or thread), but in a single processor system, this occurs when the load goes above 1.00.

The words “single processor system” are incredibly important here. Unless you’re running an ancient computer, your machine probably has multiple CPU cores. In the machine I’m on, I have 16 cores:

In this case, a load average of 3.11 is not alarming at all. It simply means that a bit more than three processes were ready to execute and CPU cores were present to handle their execution. On this particular system, the load would have to reach 16 to be considered at “100%”.

To translate this to a percent-based system load, you could use this simple, if not obtuse, command:

cat /proc/loadavg | cut -c 1-4 | echo “scale=2; ($(</dev/stdin)/`nproc`)*100” | bc -l

This command sequences isolates the 1-minute average via cut and echos it, divided by the number of CPU cores, through bc, a command-line calculator, to derive the percentage.

This value is by no means scientific but does provide a rough approximation of CPU load in percent.

A Minute to Learn, a Lifetime to Master

In the previous section I put the “100%” example of a load of 16.0 on a 16 CPU core system in quotes because the calculation of load in Linux is a bit more nebulous than Windows. The system administrator must keep in mind that:

  • Load is expressed in waiting processes and threads
  • It is not an instantaneous value, rather an average, and
  • It’s interpretation must include the number of CPU cores, and
  • May over-inflate I/O waits like disk reads

Because of this, getting a handle of CPU load on a Linux system is not entirely an empirical matter. Even if it were, CPU load alone is not an adequate measurement of overall system resource utilization. As such, an experienced Linux administrator will consider CPU load in concert with other values such as I/O wait and the percentage of kernel versus system time.

I/O Wait

I/O wait is most easily seen via the “top” command:

In the screenshot above I have highlighted the I/O wait value. This is a percentage of time that the CPU was waiting on input or output commands to complete. This is usually indicative of high disk activity. While a high wait percentage alone may not significantly degrade CPU-bound tasks, it will reduce I/O performance for other tasks and will make the system feel sluggish.

High I/O wait without any obvious cause might indicate a problem with a disk. Use the “dmesg” command to see if any errors have occurred.

Kernel vs. System Time

The above highlighted values represent the user and kernel (system) time. This is a breakdown of the overall consumption of CPU time by users (i.e. applications, etc.) and the kernel (i.e. interaction with system devices). Higher user time will indicate more CPU usage by programs where higher kernel time will indicate more system-level processing.

A Fairly Average Load

Learning the relationship of load average to actual system performance takes time, but before long you’ll see a distinct correlation. Armed with the intricacies of system performance metrics, you’ll be able to make better decisions about hardware upgrades and program resource utilization.

Source

Kaku – web technologies-based music player

YouTube-tools

Kaku – web technologies-based music player

My CD collection has taken over my spare room. With very little space to store more, I’m gradually spending more time using streaming services.

Linux is blessed with a mouthwatering array of excellent open source music players. But I’m always on the look out for fresh and innovative music players.

Kaku bills itself as the next generation music client. Is that self-proclaimed hype? The software is written in JavaScript.

Installation

Users are well catered for irrespective of their operating system, as the project offers binaries for Linux, Mac OS X, and Windows.

For Linux, there’s official packages for Debian/Ubuntu (32- and 64-bit). For other distros, there may be packages available from their respective repositories.

The developer also provides an AppImage (32- and 64-bit) which makes it easy to run the software. AppImage is a format for distributing portable software on Linux without needing superuser permissions to install the application. All that’s required is to download the AppImage, and make the file executable by typing:

$ chmod u+x ./Kaku-2.0.1-x86_64.AppImage

In operation

Here’s an image of Kaku in action.

Kaku

First thing you might notice from the above screenshot is that Kaku replaces the maximize, minimize, and close buttons with Mac style buttons. I prefer my applications to have a consistent look and feel, but it’s not a big issue.

At the top right of the window, there’s a search bar. By default, Kaku displays results from YouTube, but there’s also the option to search Vimeo, SoundCloud, MixCloud, or all of them. Videos can be displayed in a list view or a icon view. By default, you’re presented with the top ranking YouTube music videos.

At the bottom left, there’s a small window that displays the video. There’s the standard playback buttons and playback bar together with the option to cast the output to a device, and toggle TV mode. You can make videos appear full screen or occupy all of the Kaku estate.

Latest News

This section is redundant, useless, and hopefully will be removed in a later release. It shows only release notes for early releases of Kaku. You might (incorrectly) conclude that Kaku hasn’t been updated in years. This isn’t the case; the software is under active development. But even if this section offered details of recent improvements to the software, that information is much better placed on the project’s GitHub page rather than cluttering up the application itself.

Search Results

You’re taken to this section whenever you use the search bar, or click Search Results (unless you’re in TV mode). Videos that match your search criteria are easily added to the play queue. The search bar displays even in TV mode, but search results are not displayed.

Play Queue

This section is populated by clicking the “Add to Play Queue” button, which is shown in Home and Search Results. The video currently being played is highlighted in light blue. Right click on a video gives the option to add it to a playlist. You’ll need to have a playlist created first though.

History

As you might have guessed, this section shows a history of videos that you’ve watched. You can click on any entry and replay that video. Right click on a video gives the option to add it to a playlist.

Settings

This section lets you configure the application. I’ll cover the configuration options in the next page.

Online DJ

Does the prospect of becoming a DJ entice you? This section lets you become your own DJ, offering your choice of music videos to listeners (known as guests). When you create a room, a room key is generated. You share this key with your guests which gives them access to your room. As the DJ, what you play will be offered to your guests. By joining the room, you can also text chat with everyone in the room. Neat!

Other Features

Before looking at some of the other functionality, let’s discuss memory usage.

I recently put Headset under the microscope. Like Kaku, Headset is a YouTube player although it’s implemented in a very different way.

One thing that cropped up with Headset was its excessive memory usage, sometimes topping 1GB of RAM. Kaku is much more frugal with memory, consuming less than 300MB in typical usage.

Kaku

The settings section offers the following functionality:

  • Enable desktop notifications.
  • Keep Kaku on top. Unlike vlc, this feature actually works!
  • Enable Chatroom. The chatroom is available with the Online DJ functionality.
  • Internationalization support – translations are available for Arabic, Chinese, Czech, Dutch, French, German, Italian, Portuguese, Portuguese (Brazilian), Russian, Spanish, and other languages.
  • Choose the Top Ranking for different countries. Bizarrely, the application defaults to United Arab Emirates.
  • Change the default searcher: YouTube, Vimeo, SoundCloud, Mixcloud, or all of them.
  • Default track format: Best Video, or Best Audio.
  • Import YouTube playlists.
  • Backup data locally or to Dropbox.
  • Sync data locally or from Dropbox.
  • Update Player.
  • Reset the database.

The software also offers playlists, with the ability to rename/remove them.

Summary

Kaku is a capable but not a great music/video player. There’s a good range of streaming services available to use. And it’s much more pleasurable to watch music videos using Kaku than on the streaming service website itself. While the software works well, it’s a tad rough round the edges and idiosyncratic.

Overall, I’m left with the feeling of meh! The Online DJ functionality and text chat functionality is innovative, although it’s clunky.

There’s lots of functionality I’d love added. I’d like shuffle playback, better keyboard shortcuts, an option to choose the playback resolution, and tons more. While the software purports to show the best video quality available, this clearly isn’t the case.

The player is under active development. I’ll be keeping my eagle eyes on new releases.

Website: kaku.rocks
Support: GitHub code repository
Developer: Chia-Lung Chen and contributors
License: MIT License

Source

Compact i.MX6 UL gateway offers WiFi, 4G, LoRa, and ZigBee

Forlinx’s “FCU1101” is a compact embedded gateway with -35 to 70℃ support that runs Linux on an i.MX6 UL and offers 4x isolated RS485 ports, a LAN port, and WiFi, 4G, LoRa, and ZigBee.

A year ago, the wireless studded, serial connected FCU1101 might have been called an IoT gateway, but the name seems to be going out of fashion. A similar system with a more powerful processor than the FCU1101‘s power-efficient, Cortex-A7 based NXP i.MX6 UltraLite (UL) might today be called an edge server. Forlinx calls its mini-PC sized, 105 x 100 x 33mm device what we used to call them back in the day: an embedded computer.

FCU1101 without antennas

The FCU1101 is notable for being one of the few embedded systems we’ve seen without a USB port. Instead, the device turns its limited real estate over to 4x RS485 ports deployed with terminal connectors. The serial ports are 1.5KV-isolated and protected against electrostatic discharge per ESD Level 4. They also support ModBus protocols.

FCU1101 with antennas

The other major component is a set of four wireless radios and three external antennas. The 2.4GHz ZigBee and 433MHz LoRa modems share an antenna. The 4G module and the 802.11b/g/n radio with optional STA and AP mode support have their own antennas.

The antenna for the Netcom 4G module, which lists support only for Chinese carriers, is a tethered, standalone unit to avoid cross-interference. There’s also a SIM slot for 4G and a 10/100 Ethernet port. The spec list suggests there is a similar system available that adds GPS and an audio interface.

FCU1101 front detail view

The FCU1101’s 528MHz, single-core i.MX6 UL SoC is backed up with 256MB LVDDR3 RAM, 256MB to 1GB NAND flash, and a microSD slot. There are also reset and boot buttons, 2x LEDs, and an RTC.

FCU1101 rear detail view

The system supports -35 to 70℃ temperatures (0 to 70℃ when using WiFi), and appears to offer two different power inputs, neither of which are shown in the detail views above. There’s a 12V input that is said to support 9-36V and offer anti-reverse and over-current protection, as well as a 24V input with 12-24V support and reverse protection.

The Linux 3.14.38 stack ships with a Yaffs2 file system, MQTT, and a wide range of web server and network protocol support.

Further information

No pricing or availability information was provided for the FCU1101. More information may be found on the Forlinx FCU1101 product page.

Source

The Linux Foundation Announces 2019 Events Schedule

The Linux Foundation hosts the premier open source events around the world to enable technologists and other leaders to come together and drive innovation

SAN FRANCISCO, January 15, 2019The Linux Foundation, the nonprofit organization enabling mass innovation through open source, today announced its 2019 events schedule. Linux Foundation events are where the creators, maintainers and practitioners of the world’s most important open source projects meet. In 2018, Linux Foundation events attracted more than 32,000 developers, architects, community thought leaders, business executives and other industry professionals from more than 11,000 organizations across 113 countries. New events hosted by the Linux Foundation for 2019 include Cephalocon and gRPC Conf.

The Linux Foundation’s 2019 events will gather more than 35,000 open source influencers to learn from each other about new trends in open source and share knowledge of best practices across projects dealing with operating systems, cloud applications, containers, IoT, networking, data processing, security, storage, AI, software architecture, edge computing and more. Events are hosted by the Linux Foundation and its projects, including Automotive Grade Linux, Cloud Foundry, the Cloud Native Computing Foundation and Kubernetes, Hyperledger, LF Networking and ONAP. The events also looking at the business side of open source, gathering managers and technical leaders to learn about compliance, governance, building an open source office and other areas.

“Linux Foundation events bring open source leaders, technologists and enthusiasts together in locations around the world to work together, network and advance how open source is expanding and developing in various industries,” said Jim Zemlin, Executive Director at the Linux Foundation. “Our events proudly accelerate progress and creativity within the larger community and provide in-person contact that is vital to successful collaboration.”

With a new year comes several new co-located events. After incorporating what was previously known as LinuxCon + ContainerCon + CloudOpen (LC3), the event in Shanghai June 24-26, KubeCon + CloudNativeCon + Open Source Summit China – will now be the largest open source conference in China. Also, Embedded Linux Conference North America will now be co-located with Open Source Summit North America, as Embedded Linux Conference Europe has been with Open Source Summit Europe for several years.

The complete schedule and descriptions of all 2019 events follows below.

The Linux Foundation’s 2019 Schedule of Events
Automotive Grade Linux (AGL) All Member Meeting
March 5-6, 2019
Tokyo, Japan
The Automotive Grade Linux (AGL) All Member Meeting takes place bi-annually and brings the AGL community together to learn about the latest developments, share best practices and collaborate to drive rapid innovation across the industry.

Open Source Leadership Summit
March 12-14, 2019
Half Moon Bay, California
The Linux Foundation Open Source Leadership Summit is the premier forum where open source leaders convene to drive digital transformation with open source technologies and learn how to collaboratively manage the largest shared technology investment of our time. An intimate, by invitation only event, Open Source Leadership Summit fosters innovation, growth and partnerships among the leading projects and corporations working in open technology development.

gRPC Conf 2019
March 21, 2019
Sunnyvale, California
Experts will discuss real-world implementations of gRPC, best practices for developers, and topic expert deep dives. This is a must-attend event for those using gRPC in their applications today as well as those considering gRPC for their enterprise microservices.

Cloud Foundry Summit
April 2-4, 2019
Philadelphia, Pennsylvania
From startups to the Fortune 500, Cloud Foundry is used by businesses around the globe to automate, scale and manage cloud apps throughout their lifecycle. Whether they are a contributor or committer building the platform, or using the platform to attain business goals, Cloud Foundry Summit is where developers, operators, CIOs and other IT professionals go to share best practices and innovate together.

Open Networking Summit North America
April 3-5, 2019
San Jose, California
Open Networking Summit is the industry’s premier open networking event, gathering enterprises, service providers and cloud providers across the ecosystem to share learnings, highlight innovation and discuss the future of Open Source Networking, including SDN, NFV, orchestration and the automation of cloud, network, & IoT services.

Linux Storage, Filesystem and Memory Management Summit
April 30-May 2, 2019
San Juan, Puerto Rico
The Linux Storage, Filesystem & Memory Management Summit gathers the foremost development and research experts and kernel subsystem maintainers to map out and implement improvements to the Linux filesystem, storage and memory management subsystems that will find their way into the mainline kernel and Linux distributions in the next 24-48 months.

Cephalocon
May 19-20, 2019
Barcelona, Spain
Cephalocon Barcelona aims to bring together more than 800 technologists and adopters from across the globe to showcase Ceph’s history and its future, demonstrate real-world applications, and highlight vendor solutions.

KubeCon + CloudNativeCon Europe
May 20-23, 2019
Barcelona, Spain
The Cloud Native Computing Foundation’s flagship conference gathers adopters and technologists from leading open source and cloud native communities. Join developers using Kubernetes, Prometheus, OpenTracing, Fluentd, gRPC, containerd, rkt, CNI, Envoy, Jaeger, Notary, TUF, Vitess, CoreDNS, NATS, Linkerd, Helm, Harbor and etcd as the community gathers for four days to further the education and advancement of cloud native computing.

KubeCon + CloudNativeCon + Open Source Summit China
June 24-26, 2019
Shanghai, China
In 2019, KubeCon + CloudNativeCon and Open Source Summit combine together for one event in China. KubeCon + CloudNativeCon gathers all CNCF projects under one roof. Join leading technologists from open source cloud native communities to further the advancement of cloud native computing. Previously known as LinuxCon + CloudOpen + ContainerCon China (LC3), Open Source Summit gathers technologists and open source industry leaders to collaborate, share information and learn about the newest and most interesting open source technologies, including Linux, IoT, blockchain, AI, networking, and more.

Open Source Summit Japan
July 17-19, 2019
Tokyo, Japan
Open Source Summit Japan is the leading conference in Japan connecting the open source ecosystem under one roof, providing a forum for technologists and open source industry leaders to collaborate and share information, learn about the latest in open source technologies and find out how to gain a competitive advantage by using innovative open solutions.

Automotive Linux Summit
July 17-19, 2019
Tokyo, Japan
Automotive Linux Summit connects the developer community driving the innovation in automotive Linux together with the vendors and users providing and using the code in order to drive the future of embedded devices in the automotive arena.

Linux Security Summit North America
August 19-21, 2019
San Diego, California
The Linux Security Summit (LSS) is a technical forum for collaboration between Linux developers, researchers, and end users with the primary aim of fostering community efforts in analyzing and solving Linux security challenges. LSS is where key Linux security community members and maintainers gather to present and discuss their work and research to peers, joined by those who wish to keep up with the latest in Linux security development and who would like to provide input to the development process.

Open Source Summit + Embedded Linux Conference North America
August 21-23, 2019
San Diego, California
Open Source Summit North America connects the open source ecosystem under one roof. It’s a unique environment for cross-collaboration between developers, sysadmins, devops, architects and others who are driving technology forward. Embedded Linux Conference (ELC) is the premier vendor-neutral technical conference where developers working on embedded Linux and industrial IoT products and deployments gather for education and collaboration, paving the way for innovation. For the first time in 2019, Embedded Linux Conference North America will co-locate with Open Source Summit North America.

Linux Plumbers Conference
September 9-11, 2019
Lisbon, Portugal
The Linux Plumbers Conference is the premier event for developers working at all levels of the plumbing layer and beyond.

Kernel Maintainer Summit
September 12, 2019
Lisbon, Portugal
The Linux Kernel Summit brings together the world’s leading core kernel developers to discuss the state of the existing kernel and plan the next development cycle.

Cloud Foundry Summit Europe
September 11-12, 2019
The Hague, The Netherlands
From startups to the Fortune 500, Cloud Foundry is used by businesses around the globe to automate, scale and manage cloud apps throughout their lifecycle. Whether they are a contributor or committer building the platform, or using the platform to attain business goals, Cloud Foundry Summit Europe is where developers, operators, CIOs and other IT professionals go to share best practices and innovate together.

Open Networking Summit Europe
September 23-25, 2019
Antwerp, Belgium
Open Networking Summit Europe is the industry’s premier open networking event, gathering enterprises, service providers and cloud providers across the ecosystem to share learnings, highlight innovation and discuss the future of Open Source Networking, including SDN, NFV, orchestration and the automation of cloud, network, & IoT services.

Open Source Summit + Embedded Linux Conference Europe
October 28-30, 2019
Lyon, France
Open Source Summit Europe is the leading conference for developers, architects, and other technologists – as well as open source community and industry leaders – to collaborate, share information, learn about the latest technologies and gain a competitive advantage by using innovative open solutions. The co-located Embedded Linux Conference is the premier vendor-neutral technical conference where developers working on embedded Linux and industrial IoT products and deployments gather for education and collaboration, paving the way for innovation.

Linux Security Summit Europe
October 31-November 1, 2019
Lyon, France
The Linux Security Summit (LSS) is a technical forum for collaboration between Linux developers, researchers, and end users with the primary aim of fostering community efforts in analyzing and solving Linux security challenges.

KubeCon + CloudNativeCon North America
November 18-21, 2019
San Diego, California
The Cloud Native Computing Foundation’s flagship conference gathers adopters and technologists from leading open source and cloud native communities. Join developers using Kubernetes, Prometheus, Envoy, OpenTracing, Fluentd, gRPC, containerd, rkt, CNI, Jaeger, Notary, TUF, Vitess, CoreDNS, NATS, Linkerd, Helm, Harbor and etcd to learn and advance cloud native computing.

Open FinTech Forum
December 9, 2019
New York, New York
Focusing on the intersection of financial services and open source, Open FinTech Forum will provide CIOs and senior technologists guidance on building internal open source programs as well as an in-depth look at cutting-edge open source technologies, including AI, Blockchain/Distributed Ledger, Kubernetes/Containers, that can be leveraged to drive efficiencies and flexibility.

Event dates and locations will be announced shortly for additional 2019 events including:

  • The API Strategy & Practice Conference (APIStrat)
  • KVM Forum
  • Open Compliance Forum
  • And much more!

Speaking proposals are now being accepted for the following 2019 events:

  • KubeCon + CloudNativeCon Europe (Submission deadline: January 18)
  • Open Networking Summit North America (Submission deadline: January 21)
  • gRPC Conf 2019 (Submission deadline: January 23)
  • Automotive Grade Linux (AGL) All Member Meeting (Submission deadline: January 23)
  • Open Source Leadership Summit (Submission deadline: January 28)
  • Cephalocon (Submission deadline: February 1)
  • KubeCon + CloudNativeCon + Open Source Summit China (Submission deadline: February 15)
  • Automotive Linux Summit (Submission deadline: March 24)
  • Open Source Summit Japan (Submission deadline: March 24)
  • Linux Security Summit North America (Submission details coming soon)
  • Open Source Summit + Embedded Linux Conference North America (Submission deadline: April 2)
  • Linux Plumbers Conference (Submission details coming soon)
  • Kernel Maintainer Summit (Submission details coming soon)
  • Cloud Foundry Summit Europe (Submission details coming soon)
  • Open Networking Summit Europe (Submission deadline: June 16)
  • Open Source Summit + Embedded Linux Conference Europe (Submission deadline: July 1)
  • Linux Security Summit Europe (Submission details coming soon)
  • KubeCon + CloudNativeCon North America (Submission dates: May 6 – July 12)
  • Open FinTech Forum (Submission dates: January 17 – September 22)

Speaking proposals for all events can be submitted at https://linuxfoundation.smapply.io/.

For more information about all Linux Foundation events, please visit: http://events.linuxfoundation.org.

Additional Resources

About The Linux Foundation

The Linux Foundation is the organization of choice for the world’s top developers and companies to build ecosystems that accelerate open technology development and commercial adoption. Together with the worldwide open source community, it is solving the hardest technology problems by creating the largest shared technology investment in history. Founded in 2000, The Linux Foundation today provides tools, training and events to scale any open source project, which together deliver an economic impact not achievable by any one company. More information can be found at www.linuxfoundation.org.

The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our trademark usage page: https://www.linuxfoundation.org/trademark-usage.

Linux is a registered trademark of Linus Torvalds.

Media Contact:
Dan Brown
The Linux Foundation
415-420-7880
dbrown@linuxfoundation.org

Source

How to Use Netcat to Quickly Transfer Files Between Linux Computers | Linux.com

There’s no shortage of software solutions that can help you transfer files between computers. However, if you do this very rarely, the typical solutions such as NFS and SFTP (through OpenSSH) might be overkill. Furthermore, these services are permanently open to receiving and handling incoming connections. Configured incorrectly, this might make your device vulnerable to certain attacks.

netcat, the so-called “TCP/IP swiss army knife,” can be used as an ad-hoc solution for transferring files through local networks or the Internet. It’s also useful for transferring data to/from your virtual machines or containers when they don’t include the feature out of the box. You can even use it as a copy-paste mechanism between two devices.

How to Install netcat on Various Linux Distributions

Most Linux-based operating systems come with this pre-installed. Open a terminal and type:

netcat-command-not-found

If the command is not found, install the package that contains netcat, a BSD variant. There is also GNU’s version of netcat which contains fewer features. You need netcat on both the computer receiving the file and the one sending it.

On Debian-based distributions such as Ubuntu or Linux Mint, install the utility with:

With openSUSE, follow the instructions on this page, specific to your exact distribution.

On Arch Linux enter the following command:

Unfortunately, the RedHat family doesn’t include the BSD or GNU variants of netcat. For some odd reason, they decided to go with nmap-ncat. While similar, some command line options are not available, for example -N. This means you will have to replace a line such as nc -vlN 1234 > nc with nc -vl 1234 > nc so that it works on RedHat/Fedora.

To install ncat on RedHat:

And on Fedora:

How to Use netcat to Transfer Files Between Linux Computers

On the computer that will receive the file, find the IP address used on your internal network.

After “src” you will see the internal network IP address of the device. If, for some reason, results are irrelevant, you can also try:

netcat-find-ip-address

In the screenshot offered as an example, the IP is 10.11.12.10.

On the same computer, the one that will receive the file, enter this command:

netcat-receiving-file

And on the computer which will send the file, type this, replacing 10.11.12.10 with the IP you discovered earlier:

netcat-sending-file

Directory and file paths can be absolute or relative. An absolute path is “/home/user/Pictures/file.png.” But if you already are in “/home/user,” you can use the relative path, “Pictures/file.png,” as seen in the screenshot above.

In the first command two parameters were used: -v and -l-v makes the output verbose, printing more details, so you can see what is going on. -l makes the utility “listen” on port 44444, essentially opening a communication channel on the receiving device. If you have firewall rules active, make sure they are not blocking the connection.

In the second command, -N makes netcat close when the transfer is done.

Normally, netcat would output in the terminal everything it receives. > creates a redirect for this output. Instead of printing it on the screen, it sends all output to the file specified after >< works in reverse, taking input from the file specified instead of waiting for input from the keyboard.

If you use the above commands without redirections, e.g., nc -vl 44444 and nc -N 10.11.12.10 44444, you create a rudimentary “chat” between the two devices. If you write something in one terminal and press Enter, it will appear on the other computer. This is how you can copy and paste text from one device to the other. Press Ctrl + D(on the sender) or Ctrl + C (anywhere) to close the connection.

Optimize File Transfers

When you send large files, you can compress them on the fly to speed up the transfer.

On the receiving end enter:

And on the sender, enter the following, replacing 10.11.12.10 with the IP address of your receiving device:

Send and Receive Directories

Obviously, sometimes you may want to send multiple files at once, for example, an entire directory. The following will also compress them before sending through the network.

On the receiving end, use this command:

netcat-receiving-tar-gzipped-directory

On the sending device, use:

netcat-sending-tar-gzipped-directory

Conclusion

Preferably, you would only use this on your local area network. The primary reason is that the network traffic is unencrypted. If you would send this to a server, through the Internet, your data packets could be intercepted along the network path. But if the files you transfer do not contain sensitive data, it’s not a real issue. However, servers usually have SSH preconfigured to accept secure FTP connections, and you can use SFTP instead for file transfers.

Source

PlaidML Deep Learning Framework Benchmarks With OpenCL On NVIDIA & AMD GPUs

Pointed out by a Phoronix reader a few days ago and added to the Phoronix Test Suite is the PlaidML deep learning framework that can run on CPUs using BLAS or also on GPUs and other accelerators via OpenCL. Here are our initial benchmarks of this OpenCL-based deep learning framework that is now being developed as part of Intel’s AI Group and tested across a variety of AMD Radeon and NVIDIA GeForce graphics cards.

Over the weekend I carried out a wide variety of benchmarks with PlaidML and its OpenCL back-end for both NVIDIA and AMD graphics cards. The Radeon tests were done with ROCm 2.0 OpenCL and it was working out fine there without any troubles while also working fine with NVIDIA’s OpenCL driver stack. Benchmarks were done with a variety of neural networks, both training and inference, etc.

The graphics cards available for testing included the 16 following GPUs:

– RX 580

– RX 590

– RX Vega 56

– RX Vega 64

– GTX 980

– GTX 980 Ti

– GTX 1060

– GTX 1070

– GTX 1070 Ti

– GTX 1080

– GTX 1080 Ti

– RTX 2060

– RTX 2070

– RTX 2080

– RTX 2080 Ti

– TITAN RTX

All of the tests were run from an AMD Ryzen Threadripper 2990WX workstation with ASUS ROG ZENITH EXTREME motherboard, 4 x 8GB DDR4-3200 memory, and Samsung 970 EVO 500GB NVMe SSD. Ubuntu 18.10 was running on the system with the Linux 4.20.0 kernel and GCC 8.2 compiler.

These PlaidML benchmarks were carried out using the Phoronix Test Suite. Coming up later this week will be PlaidML CPU benchmarks across a variety of operating systems.
Source

CentOS Install AWS CLI – Linux Hint

Amazon is one of the most popular service providers as far as cloud platforms. Using the service, any business can share computing power, content delivery, database storage and a number of additional functionalities. Thus, Amazon offers the best service for businesses to scale and grow.The most business-friendly offer that comes up with the AWS is the pricing. Instead of charging a ton at the starting of each month/year, Amazon treats them as utilities. You pay just as much as you use them and as long as you use them.

With the adjustable price, AWS offers the best platform for almost any use case – data warehousing, directories to content delivery, deployment tools and much more!

Another important factor of the cloud platform is the security. With AWS, the security is on the strongest level. Broad security certification and accreditation, strong data encryption at rest and in-transit, hardware security modules and strong physical security – every single features guarantee a perfect solution for the IT infrastructure.

Now, for enjoying the feature of the AWS, there’s already a powerful console tool available, known as the AWS CLI. It puts all the controls of multiple AWS services within a single tool. As the name suggests, it’s a console tool.

As of enterprise Linux, CentOS/RHELE is the best choice as it comes up with a large community and professional support. Today, let’s check out setting up the AWS CLI tool on CentOS/RHEL.

Setting up the system

For installing AWS CLI, we need to set up the “pip” first. PIP is essentially the package manager for Python. Using the tool, it’s possible to download and install various Python tools directly on your system.

PIP is available on the EPEL repository, not the default one. Make sure that your system supports the EPEL repo.

sudo yum install epel-release

Make sure that the “yum” database cache up-to-date –

sudo yum update

Now, it’s time to install “pip”!

sudo yum install python-pip

Note – The best way of enjoying the software is using Python 3. Python 2.7 is going to become obsolete at one point and Python 3 is going to prevail for sure. Learn how to set up Python 3 on CentOS.

For Python3, you need the “pip3”. It’s specifically for Python 3 platform. Install “pip3” with the following command –

sudo yum install python34-pip

Installing AWS CLI

  • Using “pip” direclty

Update the “pip” or “pip3” first.

sudo pip install –upgrade pip

# OR

sudo pip3 install –upgrade pip

Once the PIP tool is installed, we can install the AWS CLI tool. Just run the following command –

pip3 install awscli –upgrade –user

In the above command, we force the “pip3” to install “awscli”, “upgrade” any outdated component necessary and install the tool in the user’s subdirectories (avoiding file conflicts of the system library).

  • Using the “bundle” installer

This method also uses the “pip” or “pip3” tool from Python, so everything should work just fine as before.

curl “https://s3.amazonaws.com/aws-cli/awscli-bundle.zip” -o “awscli-bundle.zip”

Extract the downloaded file –

unzip awscli-bundle.zip

Now, run the install executable –

sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws

If your user account doesn’t have the permission for performing “sudo” commands, then you should follow the following steps.

curl “https://s3.amazonaws.com/aws-cli/awscli-bundle.zip” -o “awscli-bundle.zip”
unzip awscli-bundle.zip
./awscli-bundle/install -b ~/bin/aws

Now, it’s time to make sure that the environment variables are perfectly set to be able to find out the AWS CLI.

echo $PATH | grep ~/bin

As you can see, “~/bin” is in the PATH environment variable. If not, consider running the following command –

export PATH=~/bin:$PATH

Verifying the installation

Now, the installation is complete. However, we always should make sure that whatever you’ve installed is working properly.

Run the following command –

aws –version

Voila! AWS CLI is installed correctly!

Uninstalling AWS CLI

Depending on your installation process, you can easily uninstall the tool from your system.

  • “pip” or “pip3”

    Run the following command –

    pip uninstall awscli
  • Bundle installer

    Run the following commands –

    sudo rm -rf /usr/local/aws
    sudo rm /usr/local/bin/aws

Enjoy!

Source

VLC Media Player Passes 3 Billion Downloads Mark, AirPlay Support Coming Soon

The open-source VLC Media Player app from VideoLAN reached a major milestone today as it just passed the 3 billion downloads mark on the project’s official website.

VLC is probably the most popular cross-platform media playback application available to date, used by millions of computer users worldwide on all major platforms, including GNU/Linux, Windows, macOS, Android, iOS, Chrome OS, and even Windows Phone OS.

It became one of the most popular media player apps mostly because of its ability to play any type of video without needing a codec pack. Most of the widely used video and audio codecs are incorporated into the application for a hassle-free video playback experience.

But you probably already knew that and already using VLC as your main video player app on your personal computer, tablet, or mobile phones. What you probably didn’t know, is that VLC reached has been downloaded more than 3 billion times on the official website.

The statistics provided by developer VideoLAN aren’t for a specific platform as those are managed via OS app stores, including GNU/Linux distribution repositories. We’re talking here about how many times the app has been downloaded from the official website.

The one billion downloads mark was hit in 2012 and the 2 billion downloads mark in 2016. VideoLAN is present these days at CES 2019 in Las Vegas and celebrated the major milestone with a futuristic countdown at their booth, and said that they’re working on VLC 4, a massive release that would add long-anticipated features.

VLC 3.0.6 is out now, AirPlay support coming soon

The 3 billion downloads mark was probably reached today thanks to the sixth update in the “Vetinari” series. VLC 3.0.6 adds support for 12 bits AV1 decoding, adds HDR support in AV1 if the container provides the metadata, and fixes an issue for DVD subtitles.

You can download VLC 3.0.6 for GNU/Linux, macOS, and Windows right now through our free software portal or directly from the official website if you want to contribute to future download milestones.

Meanwhile, VideoLAN promises to add AirPlay support to VLC for Android, according to developer Jean-Baptiste Kempf (via Variety), allowing users to stream videos from their mobile devices to Apple TVs. AirPlay support should be available in an update next month.

In front of an audience at #CES2019 we reached the 3 billion downloads of #VLC in live. What an amazing journey! See you in a billion 🙂 pic.twitter.com/sncDsiQ1J3
— Ludovic Fauvet (@etixxx) January 10, 2019

Source

Axiomtek announces its first Type 7 module

Axiomtek announced a “CEM700” COM Express Type 7 Basic module with 5th Gen Intel Xeon or Pentium CPUs, 2x 10GBASE-KR, 2x SATA III, plenty of PCIe, extended temperature support, and a new Type 7 carrier board.

The CEM700, which follows earlier Axiomtek COM Express modules such as the Intel Skylake based CEM501, is the company’s first COM Express Type 7 module. Axiomtek is starting its Type 7 adventure with a choice of a server-class, 16-core Xeon D-1500 and quad-core Pentium D1519 processors from Intel’s 5th Generation “Broadwell-DE” family, led by the 16-core, 1.3/2.1GHz Xeon D-1577 and quad-core, 1.5/2.1GH Pentium D1519. No OS support is listed, but Linux is a given with headless Type 7 modules.

CEM700, front and back

Designed for edge computing, microserver, data transmission, and other networking applications, the 125 x 95mm module ships standard with 0 to 60°C or -20 to 70°C support, depending on whether you believe the product page or announcement, and there’s an option for a -40 to 85°C model. There’s also 3.5 Grms vibration resistance and an optional heatpipe cooler and heatspreader.

The CEM700 provides dual DDR4-2400 SO-DIMM slots for up to 32GB RAM plus dual SATA III interfaces for storage. The module features dual 10GBASE-KR interfaces, a single GbE controller, and an NC-SI (Network Controller Sideband Interface) for remote management.

I/O includes 4x USB 3.0, 4x USB 2.0, and 2x serial TX/RX interfaces. You also get single LPC, SMBus, SPI, and I2C interfaces plus 4-in, 4-out DIO.

Expansion interfaces include single PCIe x16 Gen3 and PCIe x8 Gen3 interfaces, as well as 8x PCIe x1 Gen2. Other features include a watchdog timer, hardware monitoring, and Trusted Platform Module (TPM) 2.0. There are 12V AT and ATX inputs, with the latter also spec’d at +5VSB.

CEB94701 carrier

The CEM700 is available with a new Type 7 development baseboard called the CEB94701. The 305 x 244mm board offers dual SATA III interfaces, dual 10GBASE-KR SFP+ ports, and a single GbE port.

CEB94701 detail view

The CEB94701 is further equipped with 4x USB 3.0 ports, 2x RS-232/422/485 ports, and 2x TX/RX headers. You’ll find the I2C, DIO, SMBus, fan, and front-panel interfaces aligned along the edge of the board along with a BMC console port and VGA port. A buzzer, and hardware monitoring are also available.

The dev board carries through the PCIe x16 and PCIe x8 (both Gen3) interfaces and offers PCIe x4 and x1 connections. There are also 2x full-size mini-PCIe slots.

The board is powered via a 24-pin ATX connector as well as a 4-pin 12V connector to power the module. A 3V, 220mAH Lithium battery is also onboard. The board supports -20 to 70°C temperatures.

Further information

The CEM700 and CEB94701 Type 7 carrier are “coming soon,” with pricing undisclosed. More information may be found on Axiomtek’s CEM700 and CEB94701 (PDF) product pages.

Source

Blue Collar Linux: Something Borrowed, Something New | Reviews

Sometimes it takes more than a few tweaks to turn an old-style desktop design into a fresh new Linux distribution. That is the case with the public release of Blue Collar Linux.

“The guidance and design were shaped by real people — blue collar people,” Blue Collar developer Steven A. Auringer told LinuxInsider. “Think useful and guided by Joe and Jane Whitebread in Suburbia.”

Blue Collar Linux has been under development for the last four years. Until its public release this week, it has circulated only through an invitation for private use by the developer’s family, friends and associates looking for an alternative to the Windows nightmare.

Another large part of his user base is the University of Wisconsin, where he engages with the math and computer science departments.

This new release is anything but a just-out-of-beta edition. It is very polished and is constantly updated and improved. A growing cadre of users submit bug reports and contribute feature suggestions based on real-world user requests.

Auringer does as not bother with versioning each release, however. Average people do not care about those things, he claims.

“You don’t hear them talking about Windows 10-1824-06b-build257. They use Windows 10,” he noted.

That view in part led Auringer to develop a Linux distro with a goal that responded to typical users who had no interest in learning computer technology. The distro’s goal is to be easy to use and be useful for Joe and Jane Whitebread.

“There are Millions of home systems. Most are not powerful state-of-the-art office systems. There are a lot of older systems sitting on closet shelves waiting to be brought back to life. Some are hand-me-downs. Is Joe or Jane going to spend money to use Windows 10?” asked Auringer.

From Shell Script to OS

Auringer is a retired U.S. Marine with a doctoral degree in applied mathematics and a master’s in computer science. He worked 10-plus years as a senior software engineer.

He started developing Blue Collar Linux as a shell script that would add/delete and configure software/fonts/colors/drivers, etc. He used the scripts and shared them for simplifying automated installation routines. That led to developing his own Linux alternative to the Microsoft Windows nightmare.

Auringer was determined to avoid the frustrations nontechnical users experienced with so many Linux distros — overwhelming software packages and the daunting maze of desktops choices. To remove those barriers, Auringer selected easy, yet powerful, Linux applications. He adopted a one-of-each approach.

“I have looked at over 75 Distros. Most — even the supposed easy ones — assume some level of Linux geekiness. I spent a lot of time listening to my beta users. They want to point, click and go,” he said. “They don’t want to search the Net comparing six programs, downloading and polluting their systems just to solve an easy problem.”

Auringer learned from his beta users that they did NOT want three music players, three video players, four text editors, two video editors, three photo editors, a large complex office suite and Visual Studio IDE to develop software.

Most average people are not going to burn an evening trying to get a program to work, he explained. They are not going to log into blogs, ask questions, try six different answers they don’t understand, and still have a broken system.

For example, they have no idea why removing program A broke program B, or why reinstalling program A does not fix program B. They do not know that it also may have broken program C, Auringer added.

Most average people do not know or care about Xfce, KDE, Gnome or Unity desktops. They do not know or care about what a window manager is, he said.

“They want to turn it on and use it to accomplish a goal without turning it into a hobby,” Auringer maintained.

That is precisely what Blue Collar Linux gives nontechnical users. It is difficult not to love Blue Collar Linux. It has all of the usability boxes checked. It does just what the developer designed it to do: make computing simplified!

Blue Collar Overview

Blue Collar Linux offers both home and small business users an ideal computing platform. They are the developer’s intended user base.

What makes Blue Collar ideal? Installation is uncomplicated. When the process is finished, no tools or setup are required.

The desktop has a simple uncluttered look. You have plenty of options to change the default settings. Personalizing the desktop is easy.

Blue Collar Linux's modified Xfce desktop design

Blue Collar Linux’s modified Xfce desktop design has a panel bar with multiple menu buttons, system icons, and a collection of applets to display information on the bar.

Out of the box, everything works. Nothing is confusing. No time must be spent reading online how-to documents.

Blue Collar is Gnome 3.10/GTK-based and runs the Xfce 4.10-based desktop. However, the modifications Auringer built in specifically for his distro are responsible for the tremendous difference in how Xfce works and looks.

For example, the applications and controls/buttons look like they belong together. Unlike other desktop designs, each application’s appearance reinforces the design and gives users the feeling that it is part of a complete system.

Older Code Base vs. New

Blue Collar has one slight downside that might only be a concern for more tech-savvy users. This distro is based on Ubuntu 14.04.5 LTS, the Trusty Tahr series released in August 2016. Its long-term support ends this April. That means the developer will be issuing an updated release on a newer code base eventually.

In fact, Auringer is working on using Ubuntu 16.04 as a replacement base for Blue Collar Linux. Ubuntu supports 16.04, dubbed “Xenial Xerus,” until April 2021.

Still, he is happy with the continued performance of 14.04.5 and is not rushing to swap it out. Trusty Tahr code works well today and is not going to drop dead on any certain date in the near future, according to the developer. He plans to support critical issues himself if any develop when the long-term support from Ubuntu runs out, rather than rushing to change the code base.

A major advantage of 14.04.5 is the solid support by third-party drivers. Manufacturers and developers of printers, scanners, wireless and other systems have well-developed and tested drivers. Maintaining existing stability counts more than change.

“That is more of a concern to my user base than bleeding edge. They generally don’t know and don’t care what the base version is. All they know is that it never crashes — or worse, locks their box and loses their work,” Auringer said.

He prefers the Xenial Xerus code base to the current 18.04 LTS, AKA Bionic Beaver, released last year and supported to April 2023. The 18.04 code base is “squirrelly, unfinished and generally not recommended, or recommended [only] to experienced users.”

Only experienced users will put up with Bionic Beaver, just to be bleeding edge, he said.

The code base was impressive when it was released. It included an updated kernel and X stack for new installations to support new hardware. Since it has been an integral part of Blue Collar from the start, stability and reliability are of no concern.

Why Xfce Instead of Other Desktops?

There are several answers to the “Why Xfce?” question, noted Auringer, but they all have to do with Xfce having better desktop functionality and adaptability. Since Blue Collar must run on a wide range of legacy computers, a lightweight but powerful desktop environment is essential.

For example, newer options such as LXDE and LXLE are light, but the menus are sparse. Plus, their configuration is limited. Auringer sees the Cinnamon desktop as bloated, slow, buggy, and difficult to configure.

The Mate desktop lacks comments in the menu for new/beginning users — something Xfce’s Whisker Menu provides. Plus, the Whisker menu in Blue Collar Linux lets you add, delete or rearrange your favorite applications in the main menu. You also can resize the main menu.

MenuLibre, a menu-editing tool included in Xfce, makes it easy for Blue Collar users to arrange menu content their way. Xfce is mature; it runs well on minimal hardware and is fast.

Plankless and Dockless

Another major user benefit with the Xfce desktop is the ability to add or remove application launchers on the panel or the desktop itself. An even nicer feature that you will not find in other Xfce systems is the ability to unlock the panel and move it to the top or side if you prefer.

Some Linux distros use both panel bars and a Cairo-style dock or plank-style application launcher. You will not find modifications in Blue Collar Linux built around docks or planks.

They do not work well in general, according to Auringer. Some distros tried Awn or Plank and then dropped it. The Cairo dock has lots of bells and whistles, but nothing to add in terms of functionality or ease of use.

“I have also found that depending on the version and settings, Cairo can be a little unpredictable,” he said.

One more great feature with Blue Collar’s modified Xfce desktop is the triple menu system. Finding and launching applications is fast, thanks to an application search field built into each menu.

The menus live at either end of the panel bar. On the far left is the Whisker menu. At the far right end of the panel is a GNOME-style full-screen display of application icons. With either menu, hover the mouse over an icon to see a brief explanation of what the application does.

Right-click anywhere on the desktop not covered by a window to launch a third style menu. The bottom label cascades a list of installed applications. the rest of the column lists various system actions such as creating folders, UL links and application launchers.

Massive Software Inventory

Auringer’s decision to bundle a single software title for each computing task is a win-win. It actually lets the developer bundle more diverse applications without creating bloat.

His goal is not to make Blue Collar Linux minimalist in terms of its software inventory. To the contrary, this distro comes with more preinstalled titles than I see in most distros, whether they are Xfce systems or not.

The included applications are solid choices. They do not require hours of learning how to use them.

For example, typical users do not need feature-heavy office suites with separate components like spreadsheets and database managers they will never use, argues Auringer. So he includes the Abiword word processor with plugins already enabled.

Preinstalled applications include Homebank for personal finance management; LibreCAD, a professional-strength drafting program; Diagram for creating and editing designs; and RedNoteBook — a tool for keeping notes and daily journal entries and calendar.

Specialty Tools Included

This distro also has Wine, an emulator that lets you run Microsoft Windows programs within the Linux environment. I have used Linux for so many years that I no longer rely on Wine.

However, having Wine preinstalled in Blue Collar Linux gives newcomers to the Linux OS an added comfort zone that lets them continue using familiar programs until they find better Linux alternatives.

It creates a pseudo C: Drive in the Blue Collar directory to show Wine-installed Windows programs. It comes with tools to install and uninstall windows programs as if you were running them on an actual Windows computer

Another great find in Blue Collar Linux is the Parental Controls feature. I test and review hundreds of Linux distros. This is my first time seeing a parental control application. What a great idea for helping children learn responsible computer behavior.

It is as simple to use as creating an alarm in a computer calendar. You can set the number of hours per day a user can access the computer. You can add a check for the approved days of usage in general, as well as allotted times and days to use the Web browser, email client and Instant Messaging applications.

Using It

One of the essential features that a well-designed operating system can provide is access to virtual workspaces. This functionality lets you view different applications or sets of open application windows on separate screens. Some distros make navigating among workspaces confusing and difficult.

Not Blue collar Linux. The standard Xfce desktop does a nice job of handling virtual workspaces. Blue Collar Linux goes well beyond the normal functionality.

This distro includes the Brightside Properties tool, which enhances navigation options for workspace switching.

Blue Collar Linux's Brightside Properties Tool

The Brightside Properties Tool is very handy for adding new features to the Xfce desktop for controlling workspace navigation and hot corner actions.

For instance, rolling the wheel in the workspace switcher moves to other workspaces. So does this keyboard shortcut: CTRL-ALT and left/right or up/down arrow keys.

Other options let you change workstations by moving the mouse pointer off the left or right screen edges, or clicking the mouse wheel down or using the middle mouse button to display a switcher panel on the screen.

With the Brightside tool, you can set a different wallpaper for each workspace. The tool also lets you turn on hot corners, which usually is not a function available with the Xfce desktop.

You can select special actions from a dropdown list that activates when you push the mouse pointer into a chosen corner of the screen. You also can create your own action command using the custom option in the dropdown list.

One more need trick is rolling the mouse wheel on the sound icon in the system tray to raise or lower the volume.

Blue Collar Linux's workspace switcher panel

Click the mouse wheel down or use the middle mouse button to display a switcher panel on the screen.

Bottom Line

Blue Collar Linux is a seasoned operating system that will not disappoint you. It runs well on older computers with less-than-modest resources. It runs superbly on more recent hardware.

Even if you are not a fan of the Xfce desktop environment, give this modified iteration a try. What you find in Blue Collar Linux is not the same old thing. This distro is feature-rich. It is easy to install and easier to use.

Source

WP2Social Auto Publish Powered By : XYZScripts.com