Basic commands
All the commands below are tested under Ubuntu 18.04.5 LTS
To check disk size
To check specific size of directory
Potential disk size overflow
If you have systemd service running and with logs, the disk space maybe used up a lot when something wrong going on the service.
You can check the size of syslog
If there is a very big size syslog, that means most of the disk space usage is caused by the syslog
You can limit the size of log or rotate the log by editing rsyslog located at /etc/logrotate.d/
Example below is to limit to size of 100k and rotate for 7 logs in total
However, this is just a temporary workaround, you should check why which program is generating big size of syslog
Restart the service
Sometimes, the error message from ROS may generate big size of log as well.
You can check using the command
To check saved password for Wifi
Symlink
To create symlink
-s flag means the link is soft, without -s, by default it would be hard link
To remove symlink
or
Swap memory
Check swap memory
Clear swap memory
we can cycleoff the swap memory but turn it off and on again
Scan ip address of devices
Dependencies
Scan
Add user to dialout
Last updated