ClickHouse/src/Common/getCurrentProcessFDCount.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
163 B
C++
Raw Normal View History

2021-10-27 12:26:42 +00:00
#pragma once
/// Get current process file descriptor count
2021-11-12 12:48:42 +00:00
/// @return -1 os doesn't support "lsof" command or some error occurs.
2021-10-27 12:26:42 +00:00
int getCurrentProcessFDCount();