2019年12月14日星期六

View user maximum storage limit on server: OSError: [Errno 122] Disk quota exceeded

An error occurred during program operation:

OSError: [Errno 122] Disk quota exceeded

The reason is that the disk quota is insufficient, that is, the disk is full or exceeds the maximum quota that users can use.

You can view quota limits and used quotas with the following command:

quota -uvs username

As shown in the figure blow:



Among them, 'space' is the used storage, and 'limit' is the limited storage, so you need to delete the file until the limit is lifted to resolve the error.

2019年12月6日星期五

Several reasons for no output from the laser source

Laser source model: ALPHALAS PLDD-50M

Possible reasons for no laser output:

1. Leakage current:


Summary of commonly used commands for Ubuntu servers

Here I summarize some commands that are commonly used when using an Ubuntu server (GPU server). It is still in the process of continuous improvement.

View graphics card usage

nvidia-smi


View hard disk usage

df -hl # Viewing the remaining disk space df -h # View the partition size of each root path


Launch visdom

python -m wisdom.server

You can add parameters later, such as in port 9099, open in encrypted mode

python -m visdom.server -port 9010 -enable_login