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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/*
* Copyright (c) 2001 by Sun Microsystems, Inc.
* All rights reserved.
*
* No ISC copyright for this file.
*/
#ifndef _PRAND_CMD_H_
#define _PRAND_CMD_H_
#pragma ident "%Z%%M% %I% %E% SMI"
static const char *cmds[] = {
"/bin/ps -ef 2>&1",
"/usr/ucb/netstat -an 2>&1",
"/bin/df 2>&1",
"/usr/bin/dig com. soa +ti=1 +retry=0 2>&1",
"/usr/ucb/uptime 2>&1",
"/usr/ucb/netstat -an 2>&1",
"/bin/iostat 2>&1",
NULL
};
static const char *dirs[] = {
"/tmp",
"/var/tmp",
".",
"/",
"/var/spool",
"/var/adm",
"/dev",
"/var/mail",
"/home",
NULL
};
static const char *files[] = {
"/proc/self/status",
"/var/adm/messages",
"/var/adm/wtmp",
"/var/adm/lastlog",
NULL
};
#endif /* _PRAND_CMD_H_ */
|