wow answers!!!!!
shouldn't /proc/meminfo /proc/cpuinfo work on linux? don't have a second to try it, still stuck on windows.
obviously I will have different versions, BUT
i found a scaled down c++ lib for my "problem" but i'm too stoopid to compile it from the console and include all the java JNI include paths.
please help. i can deal with c++ OR with java, but not with both LOL and tomorrow comes c# part for it, don't ask.
so CURRENT problem (and this is modified from the previous c lib, i copied java inlcudes into c:\temp)
C:\MinGW\bin>cpp -D_JNI_IMPLEMENTATION_ -Wl,--kill-at -I C:/temp/include -I C:/T
emp/include/win32 -shared C:/temp/Resource_monitor.cpp C:/MinGW/lib/libpsapi.a
cpp: --kill-at: linker input file unused because linking not done
Please help me to fix this, so I can finally move on!!
Thanks to all for good ideas!
EDIT
when i run the app, i get the linking error
java.lang.UnsatisfiedLinkError: C:\WINDOWS\system32\pr_res.dll: %1 is not a valid Win32 application