Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemManager: show process info in the main window #4

Open
diversys opened this issue Nov 26, 2020 · 7 comments
Open

SystemManager: show process info in the main window #4

diversys opened this issue Nov 26, 2020 · 7 comments

Comments

@diversys
Copy link

This way it is much easier to see what's going on and doesn't require extra clicks.

Example:

image

@X547
Copy link
Owner

X547 commented Nov 26, 2020

Just for interest: what operating system is used in this screenshot? It doesn't look like windows or X11/Wayland based *nix.

@diversys
Copy link
Author

https://github.com/SerenityOS/serenity

Here's a video where the developer implemented said feature:
https://www.youtube.com/watch?v=ofhjmHhzqAU

You might find interesting other videos of him working on Process Manager (now System Monitor) as well as many other parts of his OS :)

@X547
Copy link
Owner

X547 commented Nov 26, 2020

My SystemManager is largely inspired by ProcessHacker. But instead of one application, separate applications are used for processes, services, sockets (not yet published).

@diversys
Copy link
Author

Yeah, I also think that separate apps are better and this app includes too many features. However, it still might be useful to borrow some ideas from. Like list of open files by a process. I don't think there are any apps that can do that on Haiku.

@X547
Copy link
Owner

X547 commented Nov 26, 2020

Like list of open files by a process.

This feature is already implemented in Handles utility and it is planned to be moved in Handles tab of team window (currently stubbed). Unfortunately Haiku kernel do not provide information about opened file names and paths so this information can't be displayed (#15774).

@diversys
Copy link
Author

There is this, not sure how useful it is.

fdinfo --help
Usage: fdinfo <id/pattern> or -[dD] <path-to-device> or -[fF] <file>
  Shows info about the used file descriptors in the system.

  -d    Only shows accesses to the given device
  -D    Likewise, but only shows the teams that access it
  -f    Only shows accesses to the given file
  -F    Likewise, but only shows the teams that access it
fdinfo -D /bin/bash
 1690 /boot/system/servers/debug_server
 1770 /boot/system/Tracker
 1780 /boot/system/Deskbar

@X547
Copy link
Owner

X547 commented Nov 26, 2020

fdinfo -D /bin/bash

This works in opposite direction (file name -> team list). It can't be used to efficiently get file name of FD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants