⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 help.c

📁 Linux内核监控工具。 Linux内核监控工具。 Linux内核监控工具。
💻 C
字号:
/**************************************************************************                          help.c  -  description                             -------------------    begin                : Tue Dec  5 22:08:03 EET 2000    copyright            : (C) 2000-2002 by Petri Turunen    email                : petri.turunen@pete.fi.eu.org ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#ifdef HAVE_CONFIG_H#include <config.h>#endif#include<stdio.h>#include"linux_mond.h"void show_menu(int n){switch(n){	case 1:		printf("Linux Monitor Server\n");	     	printf("Version: %s\n",VERSION);		break;	case 2:		printf("Usage: linux_mond [option] config.file\n");		printf("\n");		printf("Example: linux_mon -p 2000 linux_mond.cfg\n\n");		printf("Main operation mode:\n");		printf("\n");		printf("-p port		port to listen.\n");		printf("-V 		shows version info.\n");		printf("-q		report only errors.\n");		printf("-s              write errors to syslog(Default on).\n");#ifdef HAVE_SQL		printf("-D              report errors to database.\n");#endif		printf("-h		shows this help.\n");		break;}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -