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

Add New Methods to help with system orchestration #16

Merged
merged 19 commits into from
Sep 23, 2022

Conversation

PineappleIOnic
Copy link
Member

  • Added getCPUCores()
  • Added UNIX Helper functions
  • Added getCPUUtilisation
  • Added getMemoryTotal()
  • Added getMemoryFree()
  • Added getDiskTotal()
  • Added getDiskFree()
  • Added getDiskStats()
  • Added getIOUsage()
  • Added getNetworkUsage()

Most of these methods are currently Linux only and are currently being iterated on to improve stability.

+ Added getCPUCores()
+ Added UNIX Helper functions
+ Added getCPUUtilisation
+ Added getMemoryTotal()
+ Added getMemoryFree()
+ Added getDiskTotal()
+ Added getDiskFree()
+ Added getDiskStats()
+ Added getIOUsage()
+ Added getNetworkUsage()

Most of these methods are currently Linux only
src/System/System.php Outdated Show resolved Hide resolved
@eldadfux
Copy link
Member

@PineappleIOnic lets add a lot of tests :)

tests/System/SystemTest.php Show resolved Hide resolved
src/System/System.php Outdated Show resolved Hide resolved
src/System/System.php Outdated Show resolved Hide resolved
src/System/System.php Show resolved Hide resolved
src/System/System.php Show resolved Hide resolved
src/System/System.php Outdated Show resolved Hide resolved
src/System/System.php Show resolved Hide resolved
src/System/System.php Outdated Show resolved Hide resolved
src/System/System.php Show resolved Hide resolved
@eldadfux
Copy link
Member

eldadfux commented Aug 6, 2022

Tests are failing.

@PineappleIOnic
Copy link
Member Author

The tests failing appear to be a Travis issue as they complain about an argon2 dependency; all other tests are passing

@eldadfux eldadfux merged commit 698a58a into main Sep 23, 2022
@PineappleIOnic PineappleIOnic deleted the feat-add-new-methods branch September 23, 2022 13:30
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.

5 participants