unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47749: Feature Request: Make top/htop give usable readings for the packages
@ 2021-04-13 13:10 bo0od
  2021-04-13 23:45 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bo0od @ 2021-04-13 13:10 UTC (permalink / raw)
  To: 47749

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

Hi There,

Using top/htop is helpful to know many info like running packages,memory 
usage...etc

But in guix the problem with any running service it show long path 
/gnu/store/pathxxx/packagename this is not useful as the name of the 
package will be hidden from screen due to its long name. (some 
workaround can be done but its usability disaster)

Can guix give readings to just the package name running without the need 
to mention its path?

check the uploaded images.

ThX!

[-- Attachment #2: htop.png --]
[-- Type: image/png, Size: 119406 bytes --]

[-- Attachment #3: top.png --]
[-- Type: image/png, Size: 74153 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#47749: Feature Request: Make top/htop give usable readings for the packages
  2021-04-13 13:10 bug#47749: Feature Request: Make top/htop give usable readings for the packages bo0od
@ 2021-04-13 23:45 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-04-14  2:21 ` Mark H Weaver
  2021-04-15  6:09 ` Oleg Pykhalov
  2 siblings, 0 replies; 4+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-04-13 23:45 UTC (permalink / raw)
  To: bo0od; +Cc: 47749-done

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

Hi bo0od,

bo0od writes:
> in guix the problem with any running service it show long path
> /gnu/store/pathxxx/packagename this is not useful as the name of 
> the 
> package will be hidden from screen due to its long name.

Indeed.  I added ‘Show program path’ to htop years ago for that 
reason (but for Nix).  It's bound to ‘p’.  Enjoy.

I don't use top.  Perhaps it has a similar option.  If not, maybe 
upstream's willing to add one.

As this is best asked on their bug tracker, I'm closing this bug.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#47749: Feature Request: Make top/htop give usable readings for the packages
  2021-04-13 13:10 bug#47749: Feature Request: Make top/htop give usable readings for the packages bo0od
  2021-04-13 23:45 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-04-14  2:21 ` Mark H Weaver
  2021-04-15  6:09 ` Oleg Pykhalov
  2 siblings, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2021-04-14  2:21 UTC (permalink / raw)
  To: bo0od, 47749

bo0od <bo0od@riseup.net> writes:

> Using top/htop is helpful to know many info like running packages,memory 
> usage...etc
>
> But in guix the problem with any running service it show long path 
> /gnu/store/pathxxx/packagename this is not useful as the name of the 
> package will be hidden from screen due to its long name. (some 
> workaround can be done but its usability disaster)
>
> Can guix give readings to just the package name running without the need 
> to mention its path?

If you press "c" in 'top', it will toggle to a mode that shows only the
command name, without the full path.  Unfortunately, that mode also
suppresses the argument list.

       Mark




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#47749: Feature Request: Make top/htop give usable readings for the packages
  2021-04-13 13:10 bug#47749: Feature Request: Make top/htop give usable readings for the packages bo0od
  2021-04-13 23:45 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-04-14  2:21 ` Mark H Weaver
@ 2021-04-15  6:09 ` Oleg Pykhalov
  2 siblings, 0 replies; 4+ messages in thread
From: Oleg Pykhalov @ 2021-04-15  6:09 UTC (permalink / raw)
  To: bo0od; +Cc: 47749

[-- Attachment #1: Type: text/plain, Size: 213 bytes --]

Hi,

A workaround is use emacs with emacs-vterm and emacs-guix ;-)

‘M-x vterm’ will launch a terminal, then ‘M-x guix-prettify-mode’, then
‘htop’ or ‘top’ will hide the store hash.

Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-15  6:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 13:10 bug#47749: Feature Request: Make top/htop give usable readings for the packages bo0od
2021-04-13 23:45 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-04-14  2:21 ` Mark H Weaver
2021-04-15  6:09 ` Oleg Pykhalov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).