amwproductions
@amwproductions
9 years ago
185 posts
Hello i have 4 CPU on hosting

Me counts 1?

See image
image.jpg
image.jpg  •  325KB


updated by @amwproductions: 10/05/15 04:36:42AM
michael
@michael
9 years ago
7,714 posts
That number '1' is coming back from your server.

The function that goes and gets that number is jrCore_get_proc_info() which is in:
/modules/jrCore/lib/util.php around line 2800

it uses the contents of:
/usr/bin/lscpu
and if thats not obtainable then the contents of:
/proc/cpuinfo
and if thats not obtainable then:
/usr/sbin/sysctl -a hw

To try to figure out what your server is up to.
updated by @michael: 10/28/15 12:28:10PM
amwproductions
@amwproductions
9 years ago
185 posts
Ok i check it out thx

Tags