2017年7月12日 星期三

How to disable/enable USB key under linux

How to disable/enable USB key under linux



2-1=> port 1 : Dev 2

Disable
echo '2-1' |tee /sys/bus/usb/drivers/usb/unbind

Enable
echo '2-1' |tee /sys/bus/usb/drivers/usb/bind

2017年7月3日 星期一

How to check USB 3.0/2.0 speed under linux

How to check USB 3.0/2.0 speed under linux

#lsusb -t

If USB is 3.0 speed, you will see
Driver=usb-storage, 5000M

If USB is 2.0 speed, you will see
Driver=usb-storage, 480M

How to check CPU&memory loading under ubuntu

How to check CPU&memory loading under ubuntu Memory #free -m CPU #top Or install sw # sudo apt-get install htop #htop