|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef CHECK_MEMFREE_H
#define CHECK_MEMFREE_H
#include <iostream>
#include <sstream>
#include <fstream>
#include <limits>
#include <ctype.h>
#include <cstdlib>
#include <unistd.h>
#include <cstring>
#include <sys/time.h>
#include "range.h"
#include "aux.h"
#define MEMINFO "/proc/meminfo"
#define VERSION "1.0"
int getNum(ifstream *file);
void printVersion();
void printHelp(bool longVersion);
#endif
|