Go to the SVN repository for this file.
1 #ifndef CORELIB___NCBI_OS_UNIX_P__HPP 2 #define CORELIB___NCBI_OS_UNIX_P__HPP 40 #if !defined(NCBI_OS_UNIX) 41 # error "ncbi_os_unix_p.hpp can be used on UNIX platforms only" 47 #if defined(NCBI_OS_LINUX) 50 # include <sys/types.h> 100 #if defined(NCBI_OS_LINUX) 115 static intGetThreadCount(pid_t pid = 0);
121 static intGetFileDescriptorsCount(pid_t pid = 0);
137CProcStat(pid_t pid = 0);
141 returnm_Parsed &&
size() > 2;
150 returnm_List.at(
n);
154 size_t size(
void)
const 156 returnm_List.size();
161vector<CTempString> m_List;
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
static string GetUserNameByUID(uid_t uid)
Look up user name by given numeric user ID.
static gid_t GetGroupGIDByName(const string &group)
Look up numeric group ID by symbolic group name.
static string GetGroupNameByGID(gid_t gid)
Look up group name by given numeric group ID.
static uid_t GetUserUIDByName(const string &user)
Look up numeric user ID by symbolic user name.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
Defines process management classes.
bool GetMemoryUsage(size_t *total, size_t *resident, size_t *shared)
Front end for a platform-specific configuration summary.
Process memory usage information, in bytes.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4