Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions windows/run_cpu_util.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Sample wrapper for capturing time-series CPU utilization data
# and sending it to the Tidal Accelerator Platform
c:\machine_stats\windows\runner.ps1 `
-UserName Administrator `
-ServersPath "c:\machine_stats\windows\servers.txt" `
-ServerStatsPath "c:\machine_stats\windows\server_stats.ps1" `
-SecurePwdFilePath "c:\machine_stats\windows\SecuredText.txt" `
-CpuUtilizationTimeout 1 `
-CpuUtilizationOnlyValue `
-Measurements `
| tidal request -X POST /api/v1/measurements/import
8 changes: 8 additions & 0 deletions windows/run_tidal_tools.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Sample wrapper for gathering machine statistics (RAM, storage, CPU, etc)
# and sending them to the Tidal Accelerator Platform
c:\machine_stats\windows\runner.ps1 `
-UserName Administrator `
-ServersPath "c:\machine_stats\windows\servers.txt" `
-ServerStatsPath "c:\machine_stats\windows\server_stats.ps1" `
-SecurePwdFilePath "c:\machine_stats\windows\SecuredText.txt" `
| tidal sync servers