diff --git a/tldr/linux/turbostat b/tldr/linux/turbostat new file mode 100644 index 00000000..6153d3e4 --- /dev/null +++ b/tldr/linux/turbostat @@ -0,0 +1,29 @@ +--- +syntax: markdown +tags: [tldr, linux] +source: https://github.com/tldr-pages/tldr.git +--- +# turbostat + +> Report processor topology, frequency, temperature, power, and idle statistics. +> More information: . + +- Display statistics every 5 seconds: + +`sudo turbostat` + +- Display statistics every specified amount of seconds: + +`sudo turbostat -i {{n_seconds}}` + +- Do not decode and print the system configuration header information: + +`sudo turbostat --quiet` + +- Display useful information about CPU every 1 second, without header information: + +`sudo turbostat --quiet --interval 1 --cpu 0-{{CPU_thread_count}} --show "PkgWatt","Busy%","Core","CoreTmp","Thermal"` + +- Display help: + +`turbostat --help` diff --git a/tldr/windows/clear-host b/tldr/windows/clear-host index 8e1fdd16..186d96d1 100644 --- a/tldr/windows/clear-host +++ b/tldr/windows/clear-host @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Clear-Host > Clears the screen. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Clear the screen: diff --git a/tldr/windows/get-acl b/tldr/windows/get-acl index 751bdd98..76fa79a2 100644 --- a/tldr/windows/get-acl +++ b/tldr/windows/get-acl @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Get-Acl > Get the security descriptor for a resource, such as a file or registry key. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Display the ACL for a specific directory: diff --git a/tldr/windows/get-childitem b/tldr/windows/get-childitem index f438af94..c202c951 100644 --- a/tldr/windows/get-childitem +++ b/tldr/windows/get-childitem @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Get-ChildItem > List items in a directory. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - List all non-hidden items in the current directory: diff --git a/tldr/windows/get-content b/tldr/windows/get-content index a2560fb2..7cedc7fb 100644 --- a/tldr/windows/get-content +++ b/tldr/windows/get-content @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Get-Content > Get the content of the item at the specified location. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Display the content of a file: diff --git a/tldr/windows/get-date b/tldr/windows/get-date index 72b1c4a4..6b1956f0 100644 --- a/tldr/windows/get-date +++ b/tldr/windows/get-date @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Get-Date > Get the current date and time. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Display the current date and time: diff --git a/tldr/windows/get-filehash b/tldr/windows/get-filehash index 4394a573..a3bbf95b 100644 --- a/tldr/windows/get-filehash +++ b/tldr/windows/get-filehash @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Get-FileHash > Calculate a hash for a file. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Calculate a hash for a specified file using the SHA256 algorithm: diff --git a/tldr/windows/get-history b/tldr/windows/get-history index 1b6e2d0e..4974644c 100644 --- a/tldr/windows/get-history +++ b/tldr/windows/get-history @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Get-History > Display PowerShell command history. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Display the commands history list with ID: diff --git a/tldr/windows/invoke-item b/tldr/windows/invoke-item index d3e2da06..c3ad71ff 100644 --- a/tldr/windows/invoke-item +++ b/tldr/windows/invoke-item @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Invoke-Item > Open files in their respective default programs. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Open a file in its default program: diff --git a/tldr/windows/invoke-webrequest b/tldr/windows/invoke-webrequest index 3dbcb11d..3731af66 100644 --- a/tldr/windows/invoke-webrequest +++ b/tldr/windows/invoke-webrequest @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Invoke-WebRequest > Performs a HTTP/HTTPS request to the Web. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Download the contents of a URL to a file: diff --git a/tldr/windows/measure-command b/tldr/windows/measure-command index 346f1744..8e1da33c 100644 --- a/tldr/windows/measure-command +++ b/tldr/windows/measure-command @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Measure-Command > Measures the time it takes to run script blocks and cmdlets. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Measure the time it takes to run a command: diff --git a/tldr/windows/measure-object b/tldr/windows/measure-object index 765919af..76b2ee1c 100644 --- a/tldr/windows/measure-object +++ b/tldr/windows/measure-object @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Measure-Object > Calculates the numeric properties of objects, and the characters, words, and lines in string objects, such as files of text. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Count the files and folders in a directory: diff --git a/tldr/windows/new-item b/tldr/windows/new-item index 66d61120..a659f7e2 100644 --- a/tldr/windows/new-item +++ b/tldr/windows/new-item @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # New-Item > Create a new file, directory, symbolic link, or a registry entry. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Create a new blank file (equivalent to `touch`): diff --git a/tldr/windows/out-string b/tldr/windows/out-string index ffbdd10a..e678e662 100644 --- a/tldr/windows/out-string +++ b/tldr/windows/out-string @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Out-String > Outputs input objects as a string. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Print host information as string: diff --git a/tldr/windows/resolve-path b/tldr/windows/resolve-path index 334d9858..2d0d325e 100644 --- a/tldr/windows/resolve-path +++ b/tldr/windows/resolve-path @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Resolve-Path > Resolves the wildcard characters in a path, and displays the path contents. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Resolve the home folder path: diff --git a/tldr/windows/select-string b/tldr/windows/select-string index 17e98bda..3dafd7d6 100644 --- a/tldr/windows/select-string +++ b/tldr/windows/select-string @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Select-String > Finds text in strings and files in PowerShell. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > You can use `Select-String` similar to `grep` in UNIX or `findstr.exe` in Windows. > More information: . diff --git a/tldr/windows/set-acl b/tldr/windows/set-acl index 0c774372..02976644 100644 --- a/tldr/windows/set-acl +++ b/tldr/windows/set-acl @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Set-Acl > Changes the security descriptor of a specified item, such as a file or a registry key. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Copy a security descriptor from one file to another: diff --git a/tldr/windows/set-date b/tldr/windows/set-date index 71bd50c5..f87eda4d 100644 --- a/tldr/windows/set-date +++ b/tldr/windows/set-date @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Set-Date > Changes the system time on the computer to a time that you specify. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Add three days to the system date: diff --git a/tldr/windows/set-location b/tldr/windows/set-location index 9bb20656..c4657aab 100644 --- a/tldr/windows/set-location +++ b/tldr/windows/set-location @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Set-Location > Display the current working directory or move to a different directory. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Go to the specified directory: diff --git a/tldr/windows/set-service b/tldr/windows/set-service index f0f59178..9fd362ae 100644 --- a/tldr/windows/set-service +++ b/tldr/windows/set-service @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Set-Service > Starts, stops, and suspends a service, and changes its properties. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Change a display name: diff --git a/tldr/windows/show-markdown b/tldr/windows/show-markdown index d6e817e9..ae42186f 100644 --- a/tldr/windows/show-markdown +++ b/tldr/windows/show-markdown @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Show-Markdown > Shows a Markdown file or string in the console in a friendly way using VT100 escape sequences or in a browser using HTML. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Render markdown to console from a file: diff --git a/tldr/windows/sort-object b/tldr/windows/sort-object index 35e905db..8bccc4ca 100644 --- a/tldr/windows/sort-object +++ b/tldr/windows/sort-object @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Sort-Object > Sorts objects by property values. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Sort the current directory by name: diff --git a/tldr/windows/start-service b/tldr/windows/start-service index 94d675c8..6ca34553 100644 --- a/tldr/windows/start-service +++ b/tldr/windows/start-service @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Start-Service > Starts stopped services. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Start a service by using its name: diff --git a/tldr/windows/stop-service b/tldr/windows/stop-service index 5ec2174a..37d3d5a0 100644 --- a/tldr/windows/stop-service +++ b/tldr/windows/stop-service @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Stop-Service > Stops running services. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Stop a service on the local computer: diff --git a/tldr/windows/tee-object b/tldr/windows/tee-object index 7fe1c676..5e05e4f5 100644 --- a/tldr/windows/tee-object +++ b/tldr/windows/tee-object @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Tee-Object > Saves command output in a file or variable and also sends it down the pipeline. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Output processes to a file and to the console: diff --git a/tldr/windows/test-json b/tldr/windows/test-json index 2f12d664..dfe76528 100644 --- a/tldr/windows/test-json +++ b/tldr/windows/test-json @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Test-Json > Test whether a string is a valid JSON document. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Test if a string from `stdin` is in JSON format: diff --git a/tldr/windows/test-netconnection b/tldr/windows/test-netconnection index cee6e989..137fffcf 100644 --- a/tldr/windows/test-netconnection +++ b/tldr/windows/test-netconnection @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Test-NetConnection > Display diagnostic information for a connection. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Test a connection and display detailed results: diff --git a/tldr/windows/wait-process b/tldr/windows/wait-process index f496d8e0..2029f9bd 100644 --- a/tldr/windows/wait-process +++ b/tldr/windows/wait-process @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Wait-Process > Waits for the processes to be stopped before accepting more input. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Stop a process and wait: diff --git a/tldr/windows/where-object b/tldr/windows/where-object index fad97cb2..77502a92 100644 --- a/tldr/windows/where-object +++ b/tldr/windows/where-object @@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git # Where-Object > Selects objects from a collection based on their property values. -> This command can only be used through PowerShell. +> Note: This command can only be used through PowerShell. > More information: . - Filter aliases by its name: