Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
peter_turner
Partner - Specialist
Partner - Specialist

Returning hardware parameters to QV project

Hello Everyone,

I'd like to find the amount of free RAM on my server, and return this to my QV project as a variable from the script.
I've had a look in the manual and did'nt see anything about hardware parameters.

Whats the best way todo this sort of thing? if at all?

Thanks,
Peter.

2 Replies
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Peter,

as far as I know, QlikView doesn't have a built-in function for that. You can develop a VBScript function and get the amount of ram from the system, and then call your VBScript function from the QlikView script. The following URL provides a somewhat relevant example with the VBScript syntax:

http://www.computerperformance.co.uk/vbscript/wmi_memory.htm#Example_1_-_To_Discover_how_much_RAM_there_is_on_NetworkMachine_

peter_turner
Partner - Specialist
Partner - Specialist
Author

Hello Oleg,

Thanks for the info.
I've not used vbs from the script before, how would i pass the value from the vbs into my var?

Thanks,
Peter.