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

Model Linux #738

Open
vorburger opened this issue Jun 26, 2024 · 2 comments
Open

Model Linux #738

vorburger opened this issue Jun 26, 2024 · 2 comments
Assignees
Labels
model/🐧 Models of Linux

Comments

@vorburger
Copy link
Member

vorburger commented Jun 26, 2024

Prefer reading /sys, notably /sys/class, instead of ls* tools:

  1. systemd systemctl --output=json (incl. Journal Message Catalogs, eventually)

  2. Process with java.lang.ProcessHandle

  3. "Machine"

  4. lsmem -json

  5. lsusb

  6. lspci

  7. lshw -json -businfo/-short -numeric

  8. lspower (from /sys/class/power_supply/*)

  9. Kernel

  10. lsmod (from /proc/modules)

  11. ls FS feat (modl): Outline file & directory model (TBD) #309

  12. Users, with lslogins

  13. lsblk (from /sys/block)

  14. lsfd (more modern than lsof)

  15. lsns and "Containers"

  16. lsattr -alpv

  17. lscpu

  18. lslocks

  19. lsirq

  20. lsmdev (mdevctl alias)

https://en.wikipedia.org/wiki/System_resource ?

@vorburger vorburger added the model/🐧 Models of Linux label Jun 26, 2024
@vorburger vorburger self-assigned this Jun 26, 2024
@vorburger
Copy link
Member Author

@vorburger
Copy link
Member Author

Using https://github.com/kellyjonbrazil/jc, just like for #880.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model/🐧 Models of Linux
Projects
None yet
Development

No branches or pull requests

1 participant