Managing Your VPS

These commands are more relevant when you have a VPS, giving you more control over the system.

df -h Disk Free. --Shows disk space usage in a human-readable format.
du -sh directory_name Disk Usage. --Shows the total size of a directory in a human-readable format.
top or htop --Displays real-time system resource usage (CPU, memory, etc.). Press q to quit. (htop might need to be installed: sudo apt update && sudo apt install htop or similar).
free -h --Shows memory usage in a human-readable format.
uptime --Shows how long the system has been running, the number of logged-in users, and the system load averages.
whoami --Shows your current username.
date --Displays the current date and time.
history --Shows a list of previously executed commands.
clear --Clears the terminal screen.
reboot --Restarts the server. Use with caution! (Usually requires sudo).
shutdown -h now --Shuts down the server immediately. Use with caution! (Usually requires sudo).

  • VPS, manage, htop, top, uptime
  • 0 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?

Verwandte Artikel

How to connect via SSH

Connecting to Your Server (SSH) The first step is to connect to your server using SSH (Secure...

Linux basic commands for navigation

Basic Navigation pwd --Print Working Directory. Shows you the current directory you are in....

File Management

File Management (As User) Using SSH mkdir new_directory     --Make Directory. Creates a new...

Managinfg Your Seedbox (Deluge, rsync etc.)

Typically, you won't directly interact with Deluge or ruTorrent via the command line for...

Rootless DOCKER

Rootless Docker (Basic) You can manage Docker containers without needing sudo systemctl --user:...