xymon

Check-in [1cb7d6f9fb]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:r7362 from 4.3: Linux client: Fix garbled client data if top output ends without a new-line git-svn-id: http://svn.code.sf.net/p/xymon/code/trunk@7405 44351d6e-118b-4698-b696-ce33095ecaa4
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | master
Files: files | file ages | folders
SHA3-256: 1cb7d6f9fbe7e36a187ef173130f5a9b18881efbf8f06d23a4cdead54b16c6bf
User & Date: storner@users.sf.net 2014-02-09 11:05:18
Context
2014-02-09
11:05
r7363 from 4.3: build: Fix merge-lines crash when include occurs at top of file. git-svn-id: http://svn.code.sf.net/p/xymon/code/trunk@7406 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 6cd5b8ff93 user: storner@users.sf.net tags: trunk, master
11:05
r7362 from 4.3: Linux client: Fix garbled client data if top output ends without a new-line git-svn-id: http://svn.code.sf.net/p/xymon/code/trunk@7405 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 1cb7d6f9fb user: storner@users.sf.net tags: trunk, master
11:04
r7361 from 4.3: acknowledge CGI: Missing '>' in html tag. From John Thurston git-svn-id: http://svn.code.sf.net/p/xymon/code/trunk@7404 44351d6e-118b-4698-b696-ce33095ecaa4 check-in: 56eb3d9b6d user: storner@users.sf.net tags: trunk, master
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to client/xymonclient-linux.sh.

79
80
81
82
83
84
85


86
87
88
89
90
91
92
93
94
95
# $TOP must be set, the install utility should do that for us if it exists.
if test "$TOP" != ""
then
    if test -x "$TOP"
    then
        echo "[top]"
	$TOP -b -n 1 


    fi
fi

# vmstat
nohup sh -c "vmstat 300 2 1>$XYMONTMP/xymon_vmstat.$MACHINEDOTS.$$ 2>&1; mv $XYMONTMP/xymon_vmstat.$MACHINEDOTS.$$ $XYMONTMP/xymon_vmstat.$MACHINEDOTS" </dev/null >/dev/null 2>&1 &
sleep 5
if test -f $XYMONTMP/xymon_vmstat.$MACHINEDOTS; then echo "[vmstat]"; cat $XYMONTMP/xymon_vmstat.$MACHINEDOTS; rm -f $XYMONTMP/xymon_vmstat.$MACHINEDOTS; fi

exit








>
>










79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# $TOP must be set, the install utility should do that for us if it exists.
if test "$TOP" != ""
then
    if test -x "$TOP"
    then
        echo "[top]"
	$TOP -b -n 1 
	# Some top versions do not finish off the last line of output
	echo ""
    fi
fi

# vmstat
nohup sh -c "vmstat 300 2 1>$XYMONTMP/xymon_vmstat.$MACHINEDOTS.$$ 2>&1; mv $XYMONTMP/xymon_vmstat.$MACHINEDOTS.$$ $XYMONTMP/xymon_vmstat.$MACHINEDOTS" </dev/null >/dev/null 2>&1 &
sleep 5
if test -f $XYMONTMP/xymon_vmstat.$MACHINEDOTS; then echo "[vmstat]"; cat $XYMONTMP/xymon_vmstat.$MACHINEDOTS; rm -f $XYMONTMP/xymon_vmstat.$MACHINEDOTS; fi

exit