New-MemoryDump
New-MemoryDump
cmdlet enables the user to take a new memory dump of the cache or the NCache service/Web Manager. For NCache service/Web Manager, you need to specify the process ID of the service/Web Manager process. This cmdlet is asynchronous by default - it will not wait for the memory dump to complete, unless explicitly specified.
New-MemoryDump -Server [-CacheName] [-ProcessId] [-WaitForCompletion] [-Port] [-UserId] [-Password] [-NoLogo]
These properties are explained in detail in the Properties section.
Examples
- This command initiates dump generation on server 20.200.20.11 for the cache named demoCache.
New-MemoryDump -Server 20.200.20.11 -CacheName demoCache
- This command initiates dump generation on local server for process ID 1234.
New-MemoryDump -ProcessId 1234
- This command initiates dump generation on server 20.200.20.11 for process ID 1234 and waits for the dump generation to complete.
New-MemoryDump -Server 20.200.20.11 -ProcessId 1234 -WaitForCompletion
Properties
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Server |
<String> |
Specifies the NCache server name/IP where NCache service is running. | - |
-CacheName |
<String> |
Specifies cache name for which the dump needs to be created on the server specified. | - |
-ProcessID |
<Integer> |
Specifies the process id for which dump needs to be created on the server specified. | - |
-WaitForCompletion |
<SwitchParameter> |
If specified, does not exit until the memory dump is captured. | False |
-Port |
<Integer> |
Specifies the server port where NCache server is listening. | 8250 |
-UserId (Enterprise edition only) |
<String> |
Specifies the User Id used to authorize a user if security is enabled on cache server. This User Id must be the same as the active directory user credentials. | - |
-Password (Enterprise edition only) |
<String> |
Specifies the password against the user Id; to authorize a user if security is enabled on cache server. This password must be the same as active directory password. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |