mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-06 00:19:06 +08:00
fix: Display available memory (#926)
This commit is contained in:
parent
4d29f056b7
commit
7ad5c7fa70
@ -269,6 +269,14 @@ kubectl apply -f https://raw.githubusercontent.com/vdsm/virtual-dsm/refs/heads/m
|
|||||||
|
|
||||||
There are only two minor differences: the Virtual Machine Manager package is not available, and Surveillance Station will not include any free licenses.
|
There are only two minor differences: the Virtual Machine Manager package is not available, and Surveillance Station will not include any free licenses.
|
||||||
|
|
||||||
|
### How do I run Windows in a container?
|
||||||
|
|
||||||
|
You can use [dockur/windows](https://github.com/dockur/windows) for that. It shares many of the same features, and even has completely automatic installation.
|
||||||
|
|
||||||
|
### How do I run a Linux desktop in a container?
|
||||||
|
|
||||||
|
You can use [qemus/qemu](https://github.com/qemus/qemu) in that case.
|
||||||
|
|
||||||
### Is this project legal?
|
### Is this project legal?
|
||||||
|
|
||||||
Yes, this project contains only open-source code and does not distribute any copyrighted material. Neither does it try to circumvent any copyright protection measures. So under all applicable laws, this project will be considered legal.
|
Yes, this project contains only open-source code and does not distribute any copyrighted material. Neither does it try to circumvent any copyright protection measures. So under all applicable laws, this project will be considered legal.
|
||||||
|
@ -154,7 +154,7 @@ SPACE_GB=$(formatBytes "$SPACE" "down")
|
|||||||
AVAIL_MEM=$(formatBytes "$RAM_AVAIL" "down")
|
AVAIL_MEM=$(formatBytes "$RAM_AVAIL" "down")
|
||||||
TOTAL_MEM=$(formatBytes "$RAM_TOTAL" "up")
|
TOTAL_MEM=$(formatBytes "$RAM_TOTAL" "up")
|
||||||
|
|
||||||
echo "❯ CPU: ${CPU} | RAM: ${AVAIL_MEM%% *}/$TOTAL_MEM | DISK: $SPACE_GB (${FS}) | KERNEL: ${SYS}..."
|
echo "❯ CPU: ${CPU} | RAM: ${AVAIL_MEM/ GB/}/$TOTAL_MEM | DISK: $SPACE_GB (${FS}) | KERNEL: ${SYS}..."
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# Check available memory
|
# Check available memory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user