Sierra Toolkit Version of the Day
OperatingSystem.hpp
00001 /*------------------------------------------------------------------------*/
00002 /*                 Copyright 2010 Sandia Corporation.                     */
00003 /*  Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive   */
00004 /*  license for use of this work by or on behalf of the U.S. Government.  */
00005 /*  Export of this program may require a license from the                 */
00006 /*  United States Government.                                             */
00007 /*------------------------------------------------------------------------*/
00008 
00009 #ifndef stk_util_environment_platform_OperatingSystem_hpp
00010 #define stk_util_environment_platform_OperatingSystem_hpp
00011 
00012 namespace stk {
00013 
00018 
00027 std::string hostname();
00028 
00029 
00038 std::string domainname();
00039 
00040 
00049 std::string username();
00050 
00051 
00061 std::string hardware();
00062 
00063 
00073 std::string osname();
00074 
00075 
00085 std::string osversion();
00086 
00087 
00096 int pid();
00097 
00098 
00107 int pgrp();
00108 
00112 
00113 } // namespace stk
00114 
00115 #endif // stk_util_environment_platform_OperatingSystem_hpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends