#include <jsoncpp/json/json.h>
#include <string_view>
#include <string>
#include <atomic>
#include <iostream>
#include <unistd.h>
#include <sys/stat.h>
#include <fstream>
#include <fcntl.h>
#include <sstream>
#include <mutex>
#include <chrono>
#include <iomanip>
#include <random>
#include <cmath>
#include <thread>
#include <openssl/sha.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <cstring>
#include <openssl/bio.h>
#include <openssl/evp.h>
#include <openssl/buffer.h>
#include <functional>
#include <list>
#include <queue>
#include <sys/epoll.h>
#include <condition_variable>
#include <regex>
#include <unordered_map>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/crypto.h>
#include <signal.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/wait.h>
#include <sys/shm.h>
#include <type_traits>
#include <charconv>
浏览源代码.
| #define ISO8086A "yyyy-mm-ddThh:mi:ss" |
定义ISO8086A这个宏为"yyyy-mm-ddThh:mi:ss"
| #define ISO8086B "yyyy-mm-ddThh:mi:ss.sss" |
定义ISO8086B这个宏为"yyyy-mm-ddThh:mi:ss.sss"
| #define MAX_PROCESS_INF 1000 |
定义MAX_PROCESS_INF这个宏为1000,意思是进程信息表记录的进程信息最多为1000条
| #define MAX_PROCESS_NAME 100 |
定义MAX_PROCESS_NAME这个宏为100,意思是进程信息中的进程名字长度不超过100个字节
| #define SHARED_MEMORY_KEY 0x5095 |
定义SHARED_MEMORY_KEY这个宏为0x5095,意思是进程信息表的共享内存键值为0x5095
| #define SHARED_MEMORY_LOCK_KEY 0x5095 |
定义SHARED_MEMORY_LOCK_KEY这个宏为0x5095,意思是操作进程信息表的信号量的键值为0x5095