PDX Ops
Workflows

linux check uptime and disk stats

03
Server health check

Verify your server status

You want to confirm your server is running. PDX Ops runs read-only commands on your Linux server. It checks uptime and disk space. You review the output safely and ask which memory usage is the correct one.

01

Open project

Launch the app and open your folder.

02

Connect SSH

Select SSH and enter your server details.

03

Run check

Ask the agent to check uptime and disk.

04

Review output

Read the report and approve the actions.

Example script

server-check.sh
# server-check.sh: read-only Linux check uptime and iostat inspection command

This script runs harmless inspection commands. It prints the hostname, uptime, CPU cores, available memory, and disk usage. No changes are made to the system.

How to check disk space

Check disk usage

PDX Ops runs df -h on your server and lists the used space so you see the percentage clearly and understand the disk situation immediately. Use Ask first mode. You can save the command output using the write_file tool for later reference. The agent creates a text file with the results for your records. Read the file to plan your cleanup and remove unnecessary data. Find what takes space with read-only commands and delete nothing without backup and approval of the exact command. This method works for any server you administer without extra software. The "linux check uptime" numbers showing uptime from kernel start help you verify the system status.

Check iostat stats

You want to see disk activity details and PDX Ops runs iostat to show device stats so you can understand the load better. It prints busy time. You see if the disk is a bottleneck for your server performance. The agent uses the Shell tool for this specific task. It sends the command to your server immediately. You see the output in the chat window clearly. You can use Ask first to pause before running any commands. How you should approach disk space is by verifying the command.

PDX Ops for Windows

Start monitoring your servers

Download PDX Ops ↗