Re: [vde-users] Status information about vde_switches

2010-05-08 Thread Daniele Lacamera
Markus Breitländer wrote: > Hello, > > I am writing a shell script to control/manage VDE networks. > > Listing all running vde_switches was easy, just parsing the process > information like so: > > ${pgrep} -lf ${vde_switch} | ${grep} -v ${scriptname} | ${awk} '{ print > $4 }' | cut -d '/' -f 4 | c

[vde-users] Status information about vde_switches

2010-05-07 Thread Markus Breitländer
Hello, I am writing a shell script to control/manage VDE networks. Listing all running vde_switches was easy, just parsing the process information like so: ${pgrep} -lf ${vde_switch} | ${grep} -v ${scriptname} | ${awk} '{ print $4 }' | cut -d '/' -f 4 | cut -d '.' -f 1 | column Now I would like