[DRMAA-WG] Using uname command to identify system configuration
Roger Brobst
rogerb at cadence.com
Mon Oct 26 18:55:33 CDT 2009
> 4. Draft 5 - MonitoringSession interface (see drmaa.org for draft document)
>
. . .
> - MachineOS: Problem: Standardized list of Strings.
> Peter: Common information model by DMTF
> (specifies and updates a list)
> Roger; POSIX (uname -a)
Regarding using the uname command as the basis for
system identification ...
As noted in
http://www.opengroup.org/onlinepubs/009695399/utilities/uname.html
the uname command accepts the following options:
________________
-m Write the name of the hardware type on which the system
is running to standard output.
-r Write the current release level of the operating system
implementation.
-s Write the name of the implementation of the operating system.
-v Write the current version level of this release of the operating
system implementation.
________________
I have concerns that one OS installed on given hardware
might output a different 'hardware type' than a
different OS installed on identical hardware.
It's also worth noting that AIX 5.3 manpages indicate
-r Displays the release number of the operating system.
-v Displays the operating system version.
Thus,
% uname -r
3
% uname -v
5
Whereas on SunOS 5.9,
% uname -r
5.9
% uname -v
Generic_112233-11
More information about the drmaa-wg
mailing list