Hi David,
there is something unclear with your script:
- from the EasySTAT.sh you're executing "uptime.ksh"
- and from the source of "uptime.ksh" you're involving again the
same uptime.ksh ?..
well, it's very easy to test that everything is working as expected:
1. create a file /etc/STATsrv/bin/test.sh :
#!/bin/ksh
LANG=C
export LANG
exec vmstat $*
2. add into EasySTAT.sh:
STATS="$STATS; TEST!/etc/STATsrv/bin/test.sh %i"
and then run EasySTAT ;-)
once you'll be sure everything is working - extend the script with any
other stuff you need..
Rgds,
-Dimitri
> --
> You received this message because you are subscribed to the Google Groups
> "dim_STAT" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
dimstat+u...@googlegroups.com.
> To post to this group, send email to
dim...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/dimstat.
> For more options, visit
https://groups.google.com/d/optout.
>