mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
add diagnostics for fuse if used
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
d5c1bbe105
commit
b24ce0d678
@ -9,6 +9,11 @@ INET=$(ifconfig eth0 2> /dev/null | grep 'inet addr')
|
|||||||
[ $? -eq 0 ] && printf "✓ Network connected: $INET\n" || printf "✗ No network connection\n"
|
[ $? -eq 0 ] && printf "✓ Network connected: $INET\n" || printf "✗ No network connection\n"
|
||||||
UDC=$(ps -eo args | grep '^/sbin/9pudc')
|
UDC=$(ps -eo args | grep '^/sbin/9pudc')
|
||||||
[ $? -eq 0 ] && printf "✓ Process 9pudc running: $UDC\n" || printf "✗ No 9pudc process\n"
|
[ $? -eq 0 ] && printf "✓ Process 9pudc running: $UDC\n" || printf "✗ No 9pudc process\n"
|
||||||
|
if [ -d /Transfuse ]
|
||||||
|
then
|
||||||
|
FUSE=$(ps -eo args | grep '^/sbin/9pudfuse']
|
||||||
|
[ $? -eq 0 ] && printf "✓ Process 9pudfuse running\n" || printf "✗ No 9pudfuse process\n"
|
||||||
|
fi
|
||||||
MDNS=$(ps -eo args | grep '^/sbin/mdnstool')
|
MDNS=$(ps -eo args | grep '^/sbin/mdnstool')
|
||||||
[ $? -eq 0 ] && printf "✓ Process mdnstool running: $MDNS\n" || printf "✗ No mdnstool process\n"
|
[ $? -eq 0 ] && printf "✓ Process mdnstool running: $MDNS\n" || printf "✗ No mdnstool process\n"
|
||||||
HUPPER=$(ps -eo args | grep '^/bin/hupper')
|
HUPPER=$(ps -eo args | grep '^/bin/hupper')
|
||||||
|
Loading…
Reference in New Issue
Block a user