Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../.././../lib/svc/method/svc-sysstat
Real path: /lib/svc/method/svc-sysstat
Zurück
#!/bin/ksh # # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. # . /lib/svc/share/smf_include.sh PATH=/usr/bin:/usr/sbin:/usr/lib:/lib/svc/method:$PATH # # transform svcprop output from: # # config/prop type value # to: # --prop=value # OPTS=$(svcprop -p config ${SMF_FMRI} 2>/dev/null | sed 's/^config\//--/;s/ [a-z]* /=/') case "$SMF_METHOD" in start) /usr/lib/sstore/bin/sysstatd $OPTS ;; # stop method is :kill *) if [ -z "$SMF_METHOD" ]; then echo "$0: No SMF method defined." else echo "$0: Unsupported SMF method: $SMF_METHOD." fi exit $SMF_EXIT_ERR_NOSMF ;; esac