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

psutil - golang - Mohamed Fadel #302

Open
10 tasks done
MohamedFadel01 opened this issue Oct 3, 2024 · 0 comments · May be fixed by codescalersinternships/psutil-golang-MohamedFadel#1
Open
10 tasks done

psutil - golang - Mohamed Fadel #302

MohamedFadel01 opened this issue Oct 3, 2024 · 0 comments · May be fixed by codescalersinternships/psutil-golang-MohamedFadel#1

Comments

@MohamedFadel01
Copy link
Member

MohamedFadel01 commented Oct 3, 2024

psutil-go - Human-friendly lib for querying processes, memory info and cpu info

psutil-go is a lightweight, library in Go that provides essential system information similar to psutil in Python.

Requirements

1. CPU Information (cpuinfo)

  • Number of Cores: Detect and return the total number of CPU cores.
    • Vendor
    • Mdoel name
    • Cache Size
    • CPU MHZ

2. Memory Information (meminfo)

  • Total Memory
    • Retrieve the total physical memory available.
  • Used Memory
    • Determine the amount of memory currently in use.
  • Available Memory
    • Fetch the amount of memory available for use.

3. Process Information (/proc Filesystem)

  • List Processes
    • Retrieve a list of all running processes by reading from the /proc filesystem.
    • Basic information: PID, process name.
  • Process Details: everything that's relevant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant