You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
176 B

#!/bin/sh
wid=$1
class=$2
instance=$3
case $class in
('')
case $(ps -p "$(xdo pid $id)" -o comm= 2>/dev/null) in
(qemu-system-x86) echo state=floating;;
esac;;
esac;