Add server system details including OS, memory, disk usage, running processes, and systemd services to a file. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 418bf6f8-212b-4bb0-a7a5-8231a061da4e Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: fa3ac82f-3d8d-4e36-b133-a76d07a6dbf6 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9f85e954-647c-46a5-90a7-396e495a805a/418bf6f8-212b-4bb0-a7a5-8231a061da4e/Q83Uqvu Replit-Helium-Checkpoint-Created: true
77 lines
5.9 KiB
Plaintext
77 lines
5.9 KiB
Plaintext
root@Hermes:~# uname -a && \
|
|
cat /etc/os-release && \
|
|
echo "---MEMORY---" && free -h && \
|
|
echo "---DISK---" && df -h / && \
|
|
echo "---PORTS IN USE---" && ss -tlnp && \
|
|
echo "---DOCKER---" && docker version 2>/dev/null || echo "no docker" && \
|
|
echo "---SYSTEMD SERVICES---" && systemctl list-units --type=service --state=running --no-pager
|
|
Linux Hermes 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
|
|
PRETTY_NAME="Ubuntu 24.04.3 LTS"
|
|
NAME="Ubuntu"
|
|
VERSION_ID="24.04"
|
|
VERSION="24.04.3 LTS (Noble Numbat)"
|
|
VERSION_CODENAME=noble
|
|
ID=ubuntu
|
|
ID_LIKE=debian
|
|
HOME_URL="https://www.ubuntu.com/"
|
|
SUPPORT_URL="https://help.ubuntu.com/"
|
|
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
|
|
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
|
|
UBUNTU_CODENAME=noble
|
|
LOGO=ubuntu-logo
|
|
---MEMORY---
|
|
total used free shared buff/cache available
|
|
Mem: 3.8Gi 1.0Gi 433Mi 20Mi 2.7Gi 2.8Gi
|
|
Swap: 0B 0B 0B
|
|
---DISK---
|
|
Filesystem Size Used Avail Use% Mounted on
|
|
/dev/vda1 77G 8.9G 68G 12% /
|
|
---PORTS IN USE---
|
|
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
|
|
LISTEN 0 511 100.126.61.75:80 0.0.0.0:* users:(("nginx",pid=25479,fd=5),("nginx",pid=25478,fd=5),("nginx",pid=25476,fd=5))
|
|
LISTEN 0 4096 127.0.0.54:53 0.0.0.0:* users:(("systemd-resolve",pid=122805,fd=17))
|
|
LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=122805,fd=15))
|
|
LISTEN 0 5 127.0.0.1:9876 0.0.0.0:* users:(("python3",pid=94624,fd=3))
|
|
LISTEN 0 200 127.0.0.1:5432 0.0.0.0:* users:(("postgres",pid=36220,fd=7))
|
|
LISTEN 0 4096 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=123883,fd=3),("systemd",pid=1,fd=72))
|
|
LISTEN 0 511 127.0.0.1:3100 0.0.0.0:* users:(("node",pid=24636,fd=37))
|
|
LISTEN 0 4096 100.126.61.75:52462 0.0.0.0:* users:(("tailscaled",pid=3611,fd=22))
|
|
LISTEN 0 4096 [fd7a:115c:a1e0::1538:3d4b]:48540 [::]:* users:(("tailscaled",pid=3611,fd=23))
|
|
LISTEN 0 200 [::1]:5432 [::]:* users:(("postgres",pid=36220,fd=6))
|
|
LISTEN 0 4096 [::]:22 [::]:* users:(("sshd",pid=123883,fd=4),("systemd",pid=1,fd=73))
|
|
LISTEN 0 511 *:24678 *:* users:(("node",pid=24636,fd=40))
|
|
---DOCKER---
|
|
no docker
|
|
---SYSTEMD SERVICES---
|
|
UNIT LOAD ACTIVE SUB DESCRIPTION
|
|
cron.service loaded active running Regular background program processing daemon
|
|
dbus.service loaded active running D-Bus System Message Bus
|
|
do-agent.service loaded active running The DigitalOcean Monitoring Agent
|
|
droplet-agent.service loaded active running The DigitalOcean Droplet Agent
|
|
getty@tty1.service loaded active running Getty on tty1
|
|
ModemManager.service loaded active running Modem Manager
|
|
multipathd.service loaded active running Device-Mapper Multipath Device Controller
|
|
nginx.service loaded active running A high performance web server and a reverse proxy server
|
|
polkit.service loaded active running Authorization Manager
|
|
postgresql@16-main.service loaded active running PostgreSQL Cluster 16-main
|
|
rsyslog.service loaded active running System Logging Service
|
|
serial-getty@ttyS0.service loaded active running Serial Getty on ttyS0
|
|
sovereign-auth-gate.service loaded active running Sovereign Auth Gate
|
|
sovereign-paperclip.service loaded active running Paperclip Dashboard
|
|
ssh.service loaded active running OpenBSD Secure Shell server
|
|
systemd-journald.service loaded active running Journal Service
|
|
systemd-logind.service loaded active running User Login Management
|
|
systemd-networkd.service loaded active running Network Configuration
|
|
systemd-resolved.service loaded active running Network Name Resolution
|
|
systemd-timesyncd.service loaded active running Network Time Synchronization
|
|
systemd-udevd.service loaded active running Rule-based Manager for Device Events and Files
|
|
tailscaled.service loaded active running Tailscale node agent
|
|
udisks2.service loaded active running Disk Manager
|
|
unattended-upgrades.service loaded active running Unattended Upgrades Shutdown
|
|
user@0.service loaded active running User Manager for UID 0
|
|
|
|
Legend: LOAD → Reflects whether the unit definition was properly loaded.
|
|
ACTIVE → The high-level unit activation state, i.e. generalization of SUB.
|
|
SUB → The low-level unit activation state, values depend on unit type.
|
|
|
|
25 loaded units listed. |