/// 19 Mar 2024, 3:52 am ////// ITS FOSS ///
One can find tons of replacements for top
, a CLI tool that provides a dynamic real-time view of a running system. There is the famous htop
, the asynchronous atop
, which forces the kernel to write a record of running processes, and some lesser known alternatives, such as btop
, the Node.js-based gtop
, and gotop
, built with Go.
But what about the good ol’ ps
?
ps
(Process Status) is an ancient Unix command that displays a snapshot of running processes. It supports Unix options (preceded by one dash, like ps -ef
), BSD options (no dash, like ps aux
), and GNU options (preceded by two dashes, like ps --deselect
), and it’s the most classical CLI tool for monitoring system processes.
ps
is a very well established and reliable command. Nonetheless, it’s an ancient tool, and deserves a modern sibling.
Here’s where procs comes into the picture: procs
is a replacement for ps
written in Rust, and it works on GNU/Linux, BSD, macOS, and Windows.
I found procs a couple of years ago and started using it back then, and I’ve never regretted it since.
What does procs do better?
Let’s do it the other way around. Instead of showing you how to install it and then how to use it, let me first try to convince you to adopt procs.
And then, if you’re convinced, I’ll show you how to install – which is straightforward, trust me.
Running procs
out of the box, you get a nice colourful output:
The default columns are PID, user, TTY, CPU percentage, memory percentage, CPU time, and command line. To close the pager, press the letter Q; arrows, page up, and page down to navigate.
It’s possible to tell procs
to group process together by process tree using the flag --tree
or -t
:
Another cool feature is searching for a process by name. For instance, searching for dnsmasq
:
It’s possible to use boolean operations --and
(or -a
), --or
(or -o
), --nand
(or -d
), and --nor
(or -r
) to combine multiple search strings:
The flag -W
allows to combine other options with a watch
fashion presentation:
You can still control whether colors should be applied (--color
), which pager you want (--pager
), sort ascending (--sorta
) or descending (--sortd
), among other options you can find by calling procs --help
.
It’s also possible to create and set a configuration file for default behaviour – I’m not getting into further details, because the tool’s page already have an extensively detailed explanation.
A cool thing you can do with the configuration file is to change the output columns – you can do it too by passing command line parameters, but it’s way more manageable to do it in a configuration file.
Some interesting column “kinds” you can add to the output are:
Docker
(Docker container name)Env
(environment variables)Nice
(“nice” priority)Processor
StartTime
TcpPort
(bound TCP ports)WorkDir
(process current working directory).
Installing procs
I hope you got a little excited about procs
by now, so let’s see how to install it.
The tool’s page has an Installation section showing how to install procs
onto several different systems, such as NixOS, Snapcraft, Homebrew (macOS), Alpine, Arch Linux, Windows, and Fedora Core, every installation command is quite standard.
For instance, to install on Arch Linux, use the classic pacman command:
sudo pacman -S procs
If you have installed UPT, as suggested in this article, no matter your system, you can install by running:
upt install procs
What if my system doesn’t have the package?
In this case, I hope it has Rust/cargo
(our article also shows how to install cargo
). In this situation, you can install by running:
cargo install procs
It’s going to install procs
in the directory ~/.cargo/bin/
, make sure it’s in your PATH
.
Possible troubleshooting: Permission issues
On macOS, normal users have no access to other users’ processes information. Something similar happens on GNU/Linux, so you need to run procs
as root if you want to allow this functionality.
On GNU/Linux, you can add the users you intend to allow to see other users’ processes information to a dedicated group, let’s call it procs
, and enable it for sudoers:
sudo groupadd procs
cat <<EOF | sudo tee /etc/sudoers.d/procs
%procs ALL= NOPASSWD: /usr/bin/procs
EOF
Replace /usr/bin/procs
by the absolute path of the procs
command, which you can get by running:
which procs
Another things was that I got in trouble with the procs
manpage, both on Arch Linux and on Debian GNU/Linux it wasn’t installed. So if you get the same issue, what I’ve been doing to work around it is to use the --help
flag:
You can also read the manpage online.
Conclusion
As I mentioned earlier, ps command is the classic and it is available on all the Linux systems. However, if you are not restricted to using only the GNU coreutils commands, modern utilities like procs can improve your terminal experience.
Have learned anything new? What about leaving a comment here? Let’s talk! 😉
This article will guide you through simple steps to reset forgotten root password in RHEL-based Linux distributions such as Fedora, CentOS Stream, Rocky and Alma
The post How to Reset Forgotten Root Password in RHEL Systems first appeared on Tecmint: Linux Howtos, Tutorials & Guides./// 18 Mar 2024, 4:46 pm ////// Linux Security ///
/// 18 Mar 2024, 8:41 pm ////// Fedora Magazine ///
Fedora test days are events where anyone can help make certain that changes in Fedora work well in an upcoming release. Fedora community members often participate, and the public is welcome at these events. If you’ve never contributed to Fedora before, this is a perfect way to get started.
There are four upcoming test periods in the next two weeks covering four topics:
- Wed 20 March through Tuesday 26 March, is to test the Podman Desktop.
- Thursday 21 March through Wed 26 March , is to test the Podman 5
- Monday 25 March through Monday 01 April , is to test Fedora CoreOS
- Wed 27 March, is to test Toolbx
Come and test with us to make Fedora 40 even better. Read more below on how to do it.
Podman Desktop
Podman Desktop is an open source graphical tool enabling you to seamlessly work with containers and Kubernetes from your local environment. This is the first time we will be testing Podman Desktop and we will be testing this not just for Fedora but also Windows and Mac OS X. During this test week, from Wed 20 March through Tuesday 26 March, one can start learning about containers and interact with the community by allocating merely a few hours. For advanced testers, we are looking forward to having reports on what may be hampering your regular container workflow with the advent of Podman 5 Changeset
This wiki page sums up all the details one needs to know about this developer tool. Results for the test week can be submitted on the test days app.
Podman 5
Podman is a daemon-less, open source, Linux native tool designed to make it easy to find, run, build, share and deploy applications using Open Containers Initiative (OCI) Containers and Container Images. Podman provides a command line interface (CLI) familiar to anyone who has used the Docker Container Engine. During this test week, from Thursday 21 March through Wed 26 March, the focus will be on testing the changes that might be breaking, as Fedora 40 moves ahead with Podman 5. This test week is an opportunity for anyone to learn and interact with the Podman Community and container tools in general.
This wiki page sums up all that one needs to know. The results can be submitted in the test day app.
Fedora CoreOS
The Fedora 40 CoreOS Test Week focuses on testing FCOS based on Fedora 40. The FCOS next stream is already rebased on Fedora 40 content, which is coming soon to testing and stable. To prepare for the content being promoted to other streams the Fedora CoreOS and QA teams are organizing test days from Monday 25 March through Monday 01 April.
Refer to this wiki page for links to the test cases and materials you’ll need to participate. The FCOS and QA team will meet and communicate with the community sync on a Google Meet at the beginning of test week and async over multiple matrix/element channels. Stay Tuned for more updates!
Toolbx
Recently, Toolbx has been made a release-blocking deliverable and now has release-blocking test criteria. Since Toolbx is very popular and has a variety of usage, we would like to run a test day on Wed 27 March to ensure nothing is broken. This test day encourages people to use containers and run apps in them across all platforms i.e. Workstation , KDE , Silverblue and CoreOS. Toolbx is also affected by the Podman 5 changeset hence we urge all testers to report things which might be breaking for them when they test.
The details for testing are available on this wiki page and results can be submitted in the events page.
How do test days work?
A test day is an event where anyone can help make sure changes in Fedora Linux work well in an upcoming release. Fedora community members often participate, and the public is welcome at these events. If you’ve never contributed before, this is a perfect way to get started.
To contribute, you only need to be able to download test materials (which include some large files) and then read and follow directions step by step.
Detailed information about all the test days is available on the wiki pages mentioned above. If you’re available on or around the days of the events, please do some testing and report your results. All the test day pages receive some final touches which complete about 24 hrs before the test day begins. We urge you to be patient about resources that are, in most cases, uploaded hours before the test day starts.
Come and test with us to make the upcoming Fedora Linux 40 even better.
Asustor Nimbustor 2 Gen2 AS5402T is billed as an enthusiast-grade NAS, with entry-level pricing yet with features often found on more expensive NAS products.
The post Asustor Nimbustor 2 Gen2 AS5402T Review appeared first on LinuxLinks.
/// 18 Mar 2024, 9:39 pm ////// Softpedia ///
/// 7 Mar 2024, 8:20 pm ////// Unixunderground ///
/// 17 Jan 2024, 5:02 am ////// gHacks Technology News ///
Ubuntu 24.04 LTS is expected in April 2024. The new long-term service support release of the popular Linux distribution may receive up to 12 years of support.
The extended support range was announced by Canonical CEO Mark Shuttleworth in an interview with the YouTube channel Destination Linux. The interview begins at 8.46 and the revelation about extended support happens at the 17:36 mark.
Here is the video for you to watch:
Core support for Ubuntu won't change according to Shuttleworth. Ubuntu LTS versions continue to be supported for 5 years and non-LTS releases for 9 months. Ubuntu 23.04 is the current release version, Ubuntu 22.04 LTS the current long-term support release.
Ubuntu Pro subscribers may extend support of LTS versions by an additional 7 years going forward. Ubuntu Pro is available for Home users and Enterprise / business customers. The subscription is free at the time of writing for Home users and starts at $25 per year and machine for Enterprise customers. Server subscriptions start at $500 per month.
Canonical introduced Ubuntu Pro back in January of 2023. Back then, the company announced that subscribers would be able to get 10 years of security updates for Ubuntu Main and more than 20,000 additional packages. Ubuntu Pro promises other advantages, including a kernel livepatch service or optional phone and ticket support.
The livepatch service works through notifications. Canonical releases a security notice when a critical or high Linux kernel vulnerability is found. Systems with livepatch enabled will download and install these patches automatically once they have been released.
Organizations may subscribe to Ubuntu Pro to run a specific LTS version of the Linux distribution for an extended period of time. Canonical has increased the maximum support length by 2 years to 12 years now for Ubuntu Pro subscribers according to Shuttleworth. Extended support will be backdated to previous LTS versions of Ubuntu as well. Shuttleworth calls it "Platinum grade Enterprise commitment".
Support for packages is also improved and has reached the 30,000 packages mark. This means that Ubuntu Main and these packages will be supported by Canonical for up to 12 years.
Closing Words
Ubuntu Pro subscribers may get 12 years of support for their desktops and servers. This extends the previous support period of 10 years by another 2. Enterprise customers who require long-term support benefit from this the most.
Most Home users may want to upgrade their desktop systems regularly to gain access to new features and support for new technologies.
Now You: for how long would you like your OS to be supported?
Thank you for being a Ghacks reader. The post Canonical: up to 12 years of support for Ubuntu 24.04 LTS appeared first on gHacks Technology News.
/// 23 Jan 2024, 5:53 pm ////// FSF News ///
/// 16 Mar 2024, 3:34 pm ////// Slashdot ///
Read more of this story at Slashdot.
/// 13 Mar 2024, 2:25 pm ////// ThisHosting.Rocks ///
/// 10 Mar 2024, 11:19 am ////// Linuxtech ///
In this guide, we will demonstrate how to install Minikube on Linux Mint 21 step by step. Minikube is lightweight single node Kubernetes deployment on your local system. Minikube is generally used for some testing, POCs and learning purposes. It is a good starting point ... Read more
The post How to Install Minikube on Linux Mint 21 Step-by-Step first appeared on LinuxTechi.
/// 5 Mar 2024, 12:46 am ////// Blackmoreops ///
“My little birds are everywhere, even in the North, they whisper to me the strangest stories.” – Lord Varys Meet Whispers, an advanced static code analysis tool meticulously designed to parse various common data formats, unveiling hardcoded credentials, and identifying potentially hazardous functions. Whispers seamlessly integrates into both the command-line interface (CLI) and your Continuous …
The post Whispers: A Powerful Static Code Analysis Tool for Credential Detection appeared first on blackMORE Ops.
/// 2 Mar 2024, 8:08 pm ////// LinuxAndUbuntu ///
The Linux desktop environment has long been a bastion of customization, security, and performance. With the release of KDE Plasma 6.0, the KDE community has taken these qualities to a new level. This major release brings a list of new features and improvements that promise to redefine the Linux desktop experience.
What’s new In KDE Plasma 6.0
Table of Contents
The Transition to Qt 6 and Wayland
One of the most significant changes in Plasma 6.0 is the transition to the latest version of the Qt application framework and the modern Linux graphics platform, Wayland. This move not only enhances the security, efficiency, and performance of Plasma but also improves support for modern hardware. Users will notice a smoother and more reliable user experience that paves the way for future improvements.
The New Overview Effect
The Overview and Desktop Grid effects have been combined into one in Plasma 6.0 with significant improvements to touchpad gestures. This makes multitasking and navigating between applications even more intuitive and seamless.
Colors and High Dynamic Range (HDR)
Plasma on Wayland now has partial support for High Dynamic Range (HDR), providing richer and deeper colors for games, videos, and visual creations. Users can also set an ICC profile for each screen individually with Plasma adjusting the colors accordingly. On top of that, Plasma now supports color blindness correction filters which enhances accessibility for users with color vision deficiencies.
New Wallpaper and Wallpaper Settings
The mesmerizing ‘Scarlet Tree’ wallpaper by axo1otl is now available in Plasma 6.0 which captures the dynamic interplay between the sun’s vibrant energy and the comet’s celestial dance. Users can change their wallpaper from System Settings, with options to change the wallpaper for specific screens or all screens simultaneously.
The Floating Panel
The panel now floats by default in Plasma 6.0 and provides a more modern and flexible user experience. We can also configure panels with an intelligent auto-hide mode (“Dodge Windows”) to make them hide when windows touch them.
Refreshed Breeze Theme
The Breeze theme has been overhauled in Plasma 6.0 to give it a more modern look and feel with fewer frames and more consistent spacing. This refresh enhances the overall aesthetic of Plasma and makes it more visually appealing.
Reorganized Settings
The Settings app has been improved in Plasma 6.0 and makes it more user-friendly. It reduces the number of nested pages.
Buttons have been relocated to the toolbar on many settings pages, enhancing consistency with other applications and creating additional space for content. We can now customize their sound theme with a new default sound theme named “Ocean” introduced to replace the “Oxygen” sound theme.
The Return of the Cube Effect
The famous cube effect which was temporarily removed in previous versions of Plasma due to architectural improvements in KWin, is now back in Plasma 6.0. This effect provides a clear visualization of multiple desktops and is a fun way to showcase Plasma’s capabilities.
Plasma Search
Plasma Search now lets users customize the ordering of search results to provide a more personalized search experience. We can also convert between time zones and making it easier to keep in touch with colleagues, friends, and family in different parts of the world.
Improved Fingerprint Unlock
Plasma 6.0 now supports both password and fingerprint authentication for the lock screen simultaneously to provide users with more flexibility and convenience.
Support for More Islamic Calendars
The calendar applet now supports the Astronomical and Umm al-Qura Calendar in addition to the existing Julian, Milankovic, Chinese Lunar, Indian, Hebrew, Persian, and Islamic Civil calendars.
KDE Gear 24.04
KMail and KOrganizer Enhancements
KMail, the email viewer, now removes ads and tracking code from emails using a more powerful ad blocker written in Rust. The email composer now shows the validity and trust level of OpenPGP keys of recipients and warns users when keys are almost or currently expired.
KOrganizer now lets us send encrypted and signed email invitations which ensures confidentiality in professional settings.
Itinerary
Itinerary is KDE’s travel assistant that has been improved in Plasma 6.0. The default home screen now allows users to organize their preferred applications in a grid and group them.
A welcome screen has been added on the first launch, guiding users through configuring WiFi, timezone, device scaling, and mobile connection settings.
Kdenlive
Kdenlive, the video editor, has been updated to Qt 6 in Gear 24.02 with many applications adopting a more frameless look for their interface.
Dolphin
Dolphin, KDE’s file and folder explorer, has been redesigned in Plasma 6.0. The settings have been reorganized to make them easier to navigate, and accessibility improvements have been made with toolbar buttons and the disk space in the status bar now keyboard-accessible.
Spectacle
KDE’s screenshot utility, Spectacle, has been improved in Plasma 6.0. Recording features have been enhanced with a system tray icon now showing the time recorded. We can now record any arbitrary part of the screen, in addition to the whole screen or an application window.
NeoChat
NeoChat, KDE’s Matrix client, has been updated in Plasma 6.0. A welcome page now lets users choose which account to use and log in to other accounts. Users can register a new account directly from the app, and deactivating a Matrix account is now possible from within NeoChat.
PlasmaTube
PlasmaTube, KDE’s YouTube client, has been updated in Plasma 6.0. We can now search for videos, view video details, and play videos in full screen.
Tokodon
KDE’s Mastodon client, Tokodon, has been updated in Plasma 6.0. Users can now write new posts more easily with the option to set focal points for followers to see in their timelines.
Users can also hide boosts and replies in their main timeline, and reporting and muting accounts are now more accessible.
Download KDE Neon
If you want to use KDE Plasma 6.0, download and test the latest KDE Neon.
Conclusion
So that’s KDE Plasma 6.0. With a great list of new features and improvements, Plasma 6 is now more beautiful than ever. I remember including Plasma in one of my first reviews of the best Linux desktop environments, and I am glad to say that it has maintained its status in the list.
The post KDE Plasma 6.0 Major Release With Incredible New Features appeared first on LinuxAndUbuntu.