Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, handle, core usage, netstat' ordered by Date

Disable or Enable SSH on an VMware ESXi host 1.2.25

Using PowerCLI, Connect to vCenter and start or stop the SSH service on a host. Notet that , the computer running this script must have PowerCLI, and vCenter credentails are required during script execution. tags:$HypervisorPlatform="VMware",$SSHenabled
Created: 2019-10-04
Modified: 2019-10-04
Creator: mc
Downloads: 37

Show proceses locking a file 1.3.3

For any file on the target computer for which the user provides the full path, displays a list of processes with open handles to the file. This is useful for determining which process is locking the file, preventing its deletion or editing in another program. The action makes use of Sysinternals handle.exe, which is downloaded, extracted into a temporary location and deleted after completion. tags:troubleshooting, handle, disk
Created: 2018-12-11
Modified: 2019-04-03
Creator: Guy Leech
Downloads: 105

Sample and display CPU core usage 1.5.10

Show the average usage for each CPU over a specified period of time. Can help to spot overloaded or over specified vCPU allocations for computers although the SBA should be run a number of times, particularly when under peak usage/load. Arguments: Capture Period - the number of seconds to monitor CPU usage for tags:CPU,Core usage,vCPU,
Created: 2018-09-29
Modified: 2018-11-21
Creator: Guy Leech
Downloads: 257

Show network connections established in session 1.5.7

Shows established network connections for all processes in a selected user session sorted on the most connections by processing netstat -ano output. Arguments: Show Top - Show the top n connections (default 1000) Resolve IP to Name - Show DNS names rather than IP addresses (default false) Resolve IP via RIPE - Use internet registrar API to resolve non-DNS resolvable names (default false) tags:Network connections,netstat
Created: 2018-08-21
Modified: 2018-11-20
Creator: Guy Leech
Downloads: 167

Show network connections 1.6.25

Shows established network connections for all processes sorted on the most connections by processing netstat -ano output. Arguments: Show Top - Show the top n connections (default 1000) Resolve IP to Name - Show DNS names rather than IP addresses (default false) Resolve IP via RIPE - Use internet registrar API to resolve non-DNS resolvable names (default false) tags:Network connections,netstat
Created: 2018-08-21
Modified: 2018-11-20
Creator: Guy Leech
Downloads: 192

Show process network connections 1.6.14

Shows established network connections for a process sorted on the most connections by processing netstat -ano output. Arguments: Show Top - Show the top n connections (default 1000) Resolve IP to Name - Show DNS names rather than IP addresses (default false) Resolve IP via RIPE - Use internet registrar API to resolve non-DNS resolvable names (default false) tags:Network connections,netstat
Created: 2018-08-21
Modified: 2018-11-20
Creator: Guy Leech
Downloads: 179