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

added grabbing hardware info #9482

Merged
merged 3 commits into from
Feb 23, 2024
Merged

added grabbing hardware info #9482

merged 3 commits into from
Feb 23, 2024

Conversation

dvovk
Copy link
Member

@dvovk dvovk commented Feb 21, 2024

  • Collecting CPU info: amount of cores, Mhz and model name
  • Collecting RAM info: total amount, free amount
  • Collecting disk info: file storage type, total size, free size

@dvovk dvovk requested review from AskAlexSharov and mh0lt February 21, 2024 17:33
if err == nil {
for _, partition := range partitions {
if partition.Mountpoint == "/" {
iocounters, err := disk.Usage(partition.Mountpoint)
Copy link
Collaborator

@AskAlexSharov AskAlexSharov Feb 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need somehow understand: on which disk datadir/chaindata/datadir/snapshots/datadir/snapshots/domain folders? (for example if it symlinked to another disk)

something like ls -l datadir/chaindata

@AskAlexSharov AskAlexSharov merged commit 22307bc into devel Feb 23, 2024
7 checks passed
@AskAlexSharov AskAlexSharov deleted the dvovk/sysinfo branch February 23, 2024 03:23
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

Successfully merging this pull request may close these issues.

2 participants