Linux Commands when using Server

When I am using the lab server, there are some commands that I need to use to see the situation of server.

top

作用等同于任务管理器

You can see the CPU, Memory situation by using this command.

nvidia-smi

See the GPU situation, the GPU memory and the some other things.

ps

1
ps -u [username]

To see the jobs of one user in this server.

echo

To see the current working dir path:

1
echo $PWD

Rerference

  1. 每天一个linux命令(44):top命令
  2. CUDA之nvidia-smi命令 详解