Hi,
A bit of an OT question. I am writing a bourne shell script that
collects data from a router. Since netstat vmstat can run for
a numbers of iterations I thought I would use just that:
stats()
(
nstats=`netstat -I ng0 -q 1 60 | tail -1`
rawdata=`vmstat -c 2 60 | tail -1`
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 1/15/13 12:42 PM, Nikos Vassiliadis wrote:
Hi,
A bit of an OT question. I am writing a bourne shell script that
collects data from a router. Since netstat vmstat can run for a
numbers of iterations I thought I would use just that:
On 1/15/2013 9:30 PM, Greg Larkin wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 1/15/13 12:42 PM, Nikos Vassiliadis wrote:
Hi,
A bit of an OT question. I am writing a bourne shell script that
collects data from a router. Since netstat vmstat can run for a
numbers of iterations I
In the last episode (Jan 16), Nikos Vassiliadis said:
On 1/15/2013 9:30 PM, Greg Larkin wrote:
On 1/15/13 12:42 PM, Nikos Vassiliadis wrote:
A bit of an OT question. I am writing a bourne shell script that
collects data from a router. Since netstat vmstat can run for a
numbers of