Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Bedrock Linux This forum is for the discussion of Bedrock Linux.


  Search this Thread
Old 06-30-2019, 06:47 PM   #1
Bedrock Linux Advocate
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo devuanstable;testing;ceres arch )
Posts: 207

Rep: Reputation: 64
Lightbulb Other-Software-Feature-Dreaming: htop, and what

would love to have a stratum column in htop. looks daunting. idk where to start.
Old 06-30-2019, 08:49 PM   #2
Bedrock Linux Founder
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 130

Rep: Reputation: Disabled
Instead of adding a Bedrock specific column to htop's source requiring someone maintain a fork, perhaps attempt to upstream a feature to htop to support custom columns that can call out to some user-set shell command to populate. Maybe set some envvar, e.g. $HTOPPID, as the PID for the corresponding shell command to process. You could include example use cases such as

dpkg -S $(readlink /proc/$HTOPPID/exe) | cut -d: -f1
pacman -Qo $(readlink /proc/$HTOPPID/exe) | awk '{print$(NF-1)}
etc to show which package corresponds to the given process for various distros to sell the feature without appealing to the relatively unknown Bedrock. There are plenty of other use cases, such as finding a corresponding Docker image, number of open file descriptors, et al.

The Bedrock community can then set `brl which $HTOPPID` without having to maintain a fork.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Dreaming about a new application background in LXer Syndicated Linux News 0 07-31-2009 11:32 PM
MSIPVS Vox - Am I Dreaming? Richard Rahl Linux - Hardware 0 08-10-2006 06:41 PM
Dreaming in console... mjjzf General 3 04-25-2004 03:43 AM
I'm dreaming of a Linux media center... resnak Linux - General 4 03-08-2004 09:02 PM > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

All times are GMT -5. The time now is 08:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration