rename some rlimits
This commit is contained in:
parent
9cfd042c6d
commit
82d6a0a1c5
@ -175,13 +175,13 @@ typedef struct {
|
|||||||
/* RLIMIT_CORE */
|
/* RLIMIT_CORE */
|
||||||
sigar_uint64_t core_cur, core_max;
|
sigar_uint64_t core_cur, core_max;
|
||||||
/* RLIMIT_RSS */
|
/* RLIMIT_RSS */
|
||||||
sigar_uint64_t rss_cur, rss_max;
|
sigar_uint64_t memory_cur, memory_max;
|
||||||
/* RLIMIT_NPROC */
|
/* RLIMIT_NPROC */
|
||||||
sigar_uint64_t processes_cur, processes_max;
|
sigar_uint64_t processes_cur, processes_max;
|
||||||
/* RLIMIT_NOFILE */
|
/* RLIMIT_NOFILE */
|
||||||
sigar_uint64_t open_files_cur, open_files_max;
|
sigar_uint64_t open_files_cur, open_files_max;
|
||||||
/* RLIMIT_AS */
|
/* RLIMIT_AS */
|
||||||
sigar_uint64_t address_space_cur, address_space_max;
|
sigar_uint64_t virtual_memory_cur, virtual_memory_max;
|
||||||
/* RLIM_INFINITY */
|
/* RLIM_INFINITY */
|
||||||
sigar_uint64_t unlimited;
|
sigar_uint64_t unlimited;
|
||||||
} sigar_resource_limit_t;
|
} sigar_resource_limit_t;
|
||||||
|
@ -852,10 +852,10 @@ static rlimit_field_t sigar_rlimits[] = {
|
|||||||
{ RLIMIT_DATA, RlimitOffsets(data) },
|
{ RLIMIT_DATA, RlimitOffsets(data) },
|
||||||
{ RLIMIT_STACK, RlimitOffsets(stack) },
|
{ RLIMIT_STACK, RlimitOffsets(stack) },
|
||||||
{ RLIMIT_CORE, RlimitOffsets(core) },
|
{ RLIMIT_CORE, RlimitOffsets(core) },
|
||||||
{ RLIMIT_RSS, RlimitOffsets(rss) },
|
{ RLIMIT_RSS, RlimitOffsets(memory) },
|
||||||
{ RLIMIT_NPROC, RlimitOffsets(processes) },
|
{ RLIMIT_NPROC, RlimitOffsets(processes) },
|
||||||
{ RLIMIT_NOFILE, RlimitOffsets(open_files) },
|
{ RLIMIT_NOFILE, RlimitOffsets(open_files) },
|
||||||
{ RLIMIT_AS, RlimitOffsets(address_space) },
|
{ RLIMIT_AS, RlimitOffsets(virtual_memory) },
|
||||||
{ -1 }
|
{ -1 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user