Change the server info output's format

This commit is contained in:
Iam54r1n4
2025-01-26 07:56:09 +00:00
parent 298697582c
commit 33722e3c1f

View File

@ -64,10 +64,10 @@ if [ -f "$USERS_FILE" ]; then
total_upload_human=$(convert_bytes $total_upload) total_upload_human=$(convert_bytes $total_upload)
total_download_human=$(convert_bytes $total_download) total_download_human=$(convert_bytes $total_download)
echo "🔼${total_upload_human} uploaded" echo "🔼 Uploaded Traffic: ${total_upload_human}"
echo "🔽${total_download_human} downloaded" echo "🔽 Downloaded Traffic: ${total_download_human}"
total_traffic=$((total_upload + total_download)) total_traffic=$((total_upload + total_download))
total_traffic_human=$(convert_bytes $total_traffic) total_traffic_human=$(convert_bytes $total_traffic)
echo "📊 ${total_traffic_human} total traffic" echo "📊 Total Traffic: ${total_traffic_human}"
fi fi