htop

watch cpu occupatation
Note that you need to install htop before using, i.e., $ sudo apt-get install htop

htop

Ubuntu Terminal commands
or use: top

top

nvidia-smi

watch Gpu occupatation

nvidia-smi

or watch Gpu per 10 seconds

watch -n 10 nvidia-smi

Ubuntu Terminal commands

git clone

download sources from github, e.g.,

git clone https://github.com/mozilla/DeepSpeech

tar -xvf tar_name

uncompress, e.g.,

tar -xvf XX.tar.gz

or compress

reboot

reboot the computer

reboot

ls

watch the existing files and folders in current folder

ls

mkdir folder_name

create a new folder in current folder, folder_name is the name of the newly create folder, e.g.,

mkdir tmp

sudo apt-get install/remove package_name

install or uninstall a package for the Ubuntu system, e.g.,

sudo apt-get install vim
sudo apt-get remove vim

sudo apt-get update/upgrade

update or upgrade the Ubuntu system, e.g.,

sudo apt-get update
sudo apt-get upgrade

sudo apt-get install python3-pip/ python3-dev/ python-virtualenv

install pip3 and virtualenv, e,g,m

sudo apt-get install python3-pip python3-dev python-virtualenv

virtualenv -p python3.X ~/venv_folder/venv_name

create a virtualenv for a corresponding project, in venv_folder with venv_name, for python3.X, e.g.,

virtualenv -p python3.5 ~/venv/deepspeech

or

virtualenv --python==python3.5 ~/venv/deepspeech

source ~/venv_folder/venv_name/bin/activate

activate the created existing virtualenv, e.g.,

source ~/venv/deepspeech/bin/activate

python3.X -m pip install --update pip

update pip to the latest version, e.g.,

python3.5 -m pip install --update pip

python3.X -m pip install package_name

install a certain package, e.g., tensorflow

python3.5 -m pip install --upgrade link_or_path_to_tensorflow_whl_file

wget -c

download …

相关文章:

  • 2022-03-08
  • 2021-05-25
  • 2022-02-23
  • 2021-08-07
  • 2021-11-19
  • 2022-12-23
  • 2021-12-07
  • 2022-01-07
猜你喜欢
  • 2022-01-20
  • 2022-12-23
  • 2022-02-08
  • 2021-09-05
  • 2021-06-27
  • 2021-11-16
  • 2022-12-23
相关资源
相似解决方案