File:  [ELWIX - Embedded LightWeight unIX -] / embedtools / src / wdog.c
Revision 1.1.2.1: download - view: text, annotated - select for diffs - revision graph
Sat Oct 16 03:30:51 2010 UTC (13 years, 8 months ago) by misho
Branches: tools1_0
added new tool to proj

    1: /*************************************************************************
    2:  * (C) 2010 AITNET - Sofia/Bulgaria - <office@aitbg.com>
    3:  *  by Michael Pounov <misho@aitbg.com>
    4:  *
    5:  * $Author: misho $
    6:  * $Id: wdog.c,v 1.1.2.1 2010/10/16 03:30:51 misho Exp $
    7:  *
    8:  *************************************************************************/
    9: #include "global.h"
   10: 
   11: 
   12: int Verbose;
   13: extern char compiled[], compiledby[], compilehost[];
   14: 
   15: 
   16: static void
   17: Usage()
   18: {
   19: 
   20: 	printf(	"WatchDog tool for risk process managment\n"
   21: 		"=== %s === %s@%s ===\n\n"
   22: 		"  Syntax: wdog [options] [exec_file]\n\n"
   23: 		"\t-v\t\tVerbose ...\n"
   24: 		"\t-u <user>\tAfter execute suid to user [default=root]\n"
   25: 		"\n", compiled, compiledby, compilehost);
   26: }
   27: 
   28: 
   29: int
   30: main(int argc, char **argv)
   31: {
   32: 	return 0;
   33: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>