Forum Discussion
Christopher_Boo
Jun 02, 2011Cirrostratus
External Health Monitor for Windows Paged Pool Memory
I've got wmi queries working using wmic.
[admin@bigipltm:Standby] ~ wmic -U domain/user%password //nodeip "select PoolPagedBytes from win32_PerfRawData_PerfOS_Memory"
CLASS: Win32_PerfRaw...
hwidjaja_37598
Jun 02, 2011Altostratus
I just realize that the wmic output was not only number.
Add this egrep command to the end of wmic command in the script:
| egrep '^[0-9]+$'
The line would be like this:
PoolPagedBytes=`wmic -U domain/user%password //nodeip "select PoolPagedBytes from win32_PerfRawData_PerfOS_Memory" | egrep '^[0-9]+$'`
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects