# sample configuration file for shping PMDA # # Warning: these commands will be run as "root" using sh(1) with the # current directory set to $PCP_LOG_DIR/pmcd and the # following set in the environment: # IFS=" \t\n" # PATH=... as per $PCP_DIR/etc/pcp.env ... # # Specification format, one per line ("Tags" must be unique) # Tag Shell command # minimal effort here, no stress for the shell ... just start and quit null exit 0 # not too much work, date(1) is pretty light-weight date date # compile and run the generic simple program ... requires a C compiler # to be installed cc cd /tmp; rm -f $$.[oc] $$; echo "main(){printf(\"g'day world\\\\n\");}" >/tmp/$$.c; cc -o $$ $$.c; ./$$; rm -f $$.[oc] $$ # Is the default DNS server responding? # CONFIGURE-ME-PLEASE - local customization required # CONFIGURE-ME-PLEASE - DEFAULT-DNS-SERVER will be changed by Install to # CONFIGURE-ME-PLEASE - be the hostname for the default DNS server # CONFIGURE-ME-PLEASE - and NSLOOKUP is the path of the nslookup(1) command dns NSLOOKUP - DEFAULT-DNS-SERVER