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

Adding 'htop' style system monitoring utility #65

Open
BNelson986 opened this issue Sep 10, 2024 · 3 comments
Open

Adding 'htop' style system monitoring utility #65

BNelson986 opened this issue Sep 10, 2024 · 3 comments

Comments

@BNelson986
Copy link

BNelson986 commented Sep 10, 2024

Creating lscpu to provide user with information regarding cpu architecture and various properties that the OS is being run on.

@BNelson986 BNelson986 changed the title Adding 'lsmod' command Adding 'lscpu' command Sep 10, 2024
@malensek
Copy link
Contributor

This is a cool idea. To be honest, I'm not sure how much work this will be -- I imagine most of it's actually going to be happening in kernel space, with the result being copied out to user space. I'm not super familiar with how this info gets retrieved normally. So, definitely do some research and report back if you can figure out how, say, Linux does this!

@BNelson986
Copy link
Author

On linux it seems that 'lscpu' leverages the information from sysfs, /proc/cpuinfo, and other architecture specific libraries. I'm not sure how to find the file system within our FogOS since 'ls' only lists our terminal commands.

@BNelson986 BNelson986 changed the title Adding 'lscpu' command Adding 'gtop' command Sep 15, 2024
@BNelson986 BNelson986 changed the title Adding 'gtop' command Adding 'htop' style system monitoring utility Sep 15, 2024
@BNelson986
Copy link
Author

After some research it seems that implementing lscpu is going to require much more development than is feasible in the projects timeframe.

Switching to implementing an 'htop' style of system monitor to track mem usage, procs, and more.

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