mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
Merge pull request #159 from justincormack/diag
update diagnostics now tap-vsockd only runs on WIndows
This commit is contained in:
commit
41d71a29ce
@ -9,8 +9,11 @@ INET=$(ifconfig eth0 2> /dev/null | grep 'inet addr')
|
||||
[ $? -eq 0 ] && printf "✓ Network connected: $INET\n" || printf "✗ No network connection\n"
|
||||
FUSE=$(ps -eo args | grep '^/sbin/transfused')
|
||||
[ $? -eq 0 ] && printf "✓ Process transfused running\n" || printf "✗ No transfused process\n"
|
||||
FUSE=$(ps -eo args | grep '^/sbin/tap-vsockd')
|
||||
[ $? -eq 0 ] && printf "✓ Process tap-vsockd running\n" || printf "✗ No tap-vsockd process\n"
|
||||
if [ ! -d /sys/bus/vmbus ]
|
||||
then
|
||||
TAPVS=$(ps -eo args | grep '^/sbin/tap-vsockd')
|
||||
[ $? -eq 0 ] && printf "✓ Process tap-vsockd running\n" || printf "✗ No tap-vsockd process\n"
|
||||
fi
|
||||
HUPPER=$(ps -eo args | grep '^/bin/hupper')
|
||||
[ $? -eq 0 ] && printf "✓ Process hupper running: $HUPPER\n" || printf "✗ No hupper process\n"
|
||||
DOCKER=$(ps -eo args | grep '^/usr/bin/docker')
|
||||
|
Loading…
Reference in New Issue
Block a user