BSD/Linux Host Information and matlabpoolPlus

Get information about the host on which the Matlab instance is running. Also provides matlabpoolPlus
344 Downloads
Updated 17 Jan 2013

View License

Get information about the host on which the Matlab instance is running.

This package consists of the following commands:

Basic:
getpid: get the Matlab process ID
gethostname: get the hostname of the machine Matlab is running
getuname: returns the system name, node name, system release, system
version, and the machine's hardware platform
getnumprocessors: returns the number of available (local) processors,
i.e. the number of (virtual) CPUs

Additional:
matlabpoolPlus: wrapper around matlabpool that allows to base the number
of created workers on the available number of processors

Please note that this package is not intended to run under Windows. I use
it for automated status reports of long running jobs that I distribute on a
cluster of Linux machines. It should run under any BSD/Unix-style OS.

Cite As

Boris Schauerte (2024). BSD/Linux Host Information and matlabpoolPlus (https://www.mathworks.com/matlabcentral/fileexchange/39563-bsd-linux-host-information-and-matlabpoolplus), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Startup and Shutdown in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.2.0.0

- minor change in matlabpoolPlus.m

1.1.0.0

- added matlabpoolPlus
- added getnumprocessors (and Java variants)

1.0.0.0