prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-07182
jq -e 'map(select(.status == "failed")) | length' /srv/svc-07182/config.json | grep -v '^#'
find files under /srv/svc-07183
find /srv/svc-07183 -type l -name '*.gz' -exec gzip {} + | uniq
set access modes for svc-07184
chmod a+r /var/log/svc-07184.log | sed 's/^/ /'
test TCP connectivity for svc-07185
nc -zv -w 2 svc-07185.example.com 27185 2>&1
compare revisions in /srv/svc-07186
git -C /srv/svc-07186 diff --name-status HEAD~2..HEAD | sed 's/^/ /'
list matching paths under /srv/svc-07187
find /srv/svc-07187 -mindepth 1 -type f -name '*.tmp' -print
search text for svc-07188
grep -v 'WARN' /var/log/svc-07188.log --exclude='*.min.js' || true
search the svc-07189 directory tree
find /srv/svc-07189 -mindepth 1 -type f -name '*.gz' -size +10M -exec gzip {} + 2>&1
clean up selected files in /srv/svc-07190
find /srv/svc-07190 -mindepth 1 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort
show running containers for svc-07191
docker ps -aq --format '{{.Names}}' --filter 'status=running' | nl -ba | tee /tmp/svc-07191.out | head -n 20
post a test request for svc-07192
curl -fsS -u deploy:secret http://127.0.0.1:27192/svc-07192/private | tail -n 10
find files under /srv/svc-07193
find /srv/svc-07193 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec ls -lh {} + 2>&1
search the svc-07194 directory tree
find /srv/svc-07194 -type l -name '*.conf' -size +50M -exec ls -lh {} + | cat
count matches in svc-07195 data
grep -v 'timeout' /var/log/svc-07195.log --exclude='*.min.js' | column -t
locate matching files in /srv/svc-07196
find /srv/svc-07196 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | paste -sd, -
pretty-print JSON for svc-07197
jq '.status == "ok"' /srv/svc-07197/health.json | grep -E '^[^#]'
find files under /srv/svc-07198
find /srv/svc-07198 -type d -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
read journal entries for svc-07199
journalctl -u svc-07199.service -n 100 | uniq -c
query systemd status for svc-07200
systemctl is-enabled svc-07200.socket --no-block | tac
display recent container output for svc-07201
docker logs --since '1h' svc-07201 2>&1 | nl -ba
list matching paths under /srv/svc-07202
find /srv/svc-07202 -type l -name '*.tmp' -mtime +7 -exec gzip {} + | sort -u
search text for svc-07203
grep -RIn 'ERROR' /var/log/svc-07203.log --include='*.py' > /tmp/svc-07203.out
list changed files in /srv/svc-07204
git -C /srv/svc-07204 diff --stat --cached src/ | sort -u
clean up selected files in /srv/svc-07205
find /srv/svc-07205 -mindepth 1 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
locate matching files in /srv/svc-07206
find /srv/svc-07206 -mindepth 1 -type f -empty -size +50M -exec ls -lh {} + 2>/dev/null
list matching paths under /srv/svc-07207
find /srv/svc-07207 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
read container logs for svc-07208
docker logs --tail 50 -f svc-07208 | grep -i error | tee -a /tmp/svc-07208.log
filter log content for svc-07209
grep -Ril '^#' /etc/svc-07209/config.ini --exclude='*.min.js'
clean up selected files in /srv/svc-07210
find /srv/svc-07210 -type d -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
locate matching files in /srv/svc-07211
find /srv/svc-07211 -type f -name '*.log' -size +10M -exec ls -lh {} + | sed -n '1,20p'
inspect pending changes in /srv/svc-07212
git -C /srv/svc-07212 diff --check HEAD~1 config/ | awk '{print $2}'
find files under /srv/svc-07213
find /srv/svc-07213 -mindepth 1 -type f -empty -size +50M -delete | cut -d, -f1
search the svc-07214 directory tree
find /srv/svc-07214 -type f -name '*.conf' -mtime +30 -exec gzip {} + | uniq -c
summarize git differences for /srv/svc-07215
git -C /srv/svc-07215 diff --name-only HEAD~1..HEAD config/
query systemd status for svc-07216
systemctl restart svc-07216.service | less
list matching paths under /srv/svc-07217
find /srv/svc-07217 -maxdepth 2 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
show the diff in /srv/svc-07218
git -C /srv/svc-07218 diff --check HEAD~1..HEAD | fold -w 120
search the svc-07219 directory tree
find /srv/svc-07219 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec gzip {} + | cut -d: -f1
clean up selected files in /srv/svc-07220
find /srv/svc-07220 -mindepth 1 -type f -name '*.tmp' -size +10M -print | column -t
read journal entries for svc-07221
journalctl -u svc-07221.service --since '24 hours ago' -n 50 -f | grep -v '^#'
run a background task for svc-07222
nice -n 5 cp -a /srv/svc-07222 /backup/svc-07222 | grep -i error
find files under /srv/svc-07223
find /srv/svc-07223 -mindepth 1 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
diagnose routing to svc-07224.example.com
traceroute -U -p 27224 svc-07224.example.com | tee /tmp/svc-07224.out
count matches in svc-07225 data
grep -Rn '^#' /etc/svc-07225/config.ini --exclude-dir=vendor | uniq -c
set access modes for svc-07226
chmod -R 2775 /srv/svc-07226/shared | sort -n
inspect systemd unit state for svc-07227
systemctl is-active svc-07227.socket --no-block | head -n 5
save a commit message for /srv/svc-07228
git -C /srv/svc-07228 commit -m 'feat: add health check' --no-verify | tr -s ' '
search the svc-07229 directory tree
find /srv/svc-07229 -type d -name '*.gz' -exec ls -lh {} + | uniq -c
summarize git differences for /srv/svc-07230
git -C /srv/svc-07230 diff --numstat config/ | head -n 20
send a signal to svc-07231 workers
pkill -HUP -x svc-07231 | nl -ba
list matching paths under /srv/svc-07232
find /srv/svc-07232 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | sort -k2
find files under /srv/svc-07233
find /srv/svc-07233 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
filter JSON records for svc-07234
jq '.items[] | select(.id == 7234) | .name' /srv/svc-07234/jobs.json >> /tmp/svc-07234.out
clean up selected files in /srv/svc-07235
find /srv/svc-07235 -mindepth 1 -type f -empty -newermt '1 day ago' -print | paste -sd, -
locate matching files in /srv/svc-07236
find /srv/svc-07236 -type f -name '*.conf' -exec ls -lh {} + | tee /tmp/svc-07236.out
scan configuration files for svc-07237
grep -Ril 'ERROR' /var/log/svc-07237.log | nl -ba
read container logs for svc-07238
docker logs --since '24h' --timestamps svc-07238 2>&1 | uniq -c
search the svc-07239 directory tree
find /srv/svc-07239 -type l -name '*.gz' -exec ls -lh {} + | wc -l
display docker container details for svc-07240
docker ps --latest | awk '{print $2}' | tee /tmp/svc-07240.out | head -n 20
locate matching files in /srv/svc-07241
find /srv/svc-07241 -maxdepth 2 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
pretty-print JSON for svc-07242
jq -S 'map(select(.status == "failed")) | length' /srv/svc-07242/jobs.json | grep -v '^#'
find files under /srv/svc-07243
find /srv/svc-07243 -type f -name '*.gz' -size +10M -print | wc -l
clean up svc-07244 text files
sed '/^$/d' /etc/svc-07244/hosts | grep -i warn
count matches in svc-07245 data
grep -Ril 'timeout' /var/log/svc-07245.log | cut -d: -f1
list git history for /srv/svc-07246
git -C /srv/svc-07246 log --stat -n 20 >> /tmp/svc-07246.out
list matching paths under /srv/svc-07247
find /srv/svc-07247 -type f -name '*.gz' -size +50M -print | tail -n 10
query journal history for svc-07248
journalctl -u svc-07248.service -f | sed 's/^/ /'
search the svc-07249 directory tree
find /srv/svc-07249 -type l -name '*.conf' -size +50M -delete 2>/dev/null
count matches in svc-07250 data
grep -RInE 'TODO' /srv/svc-07250 --exclude='*.min.js' | paste -sd, -
check reachability of svc-07251.example.com
ping -c 4 -I lo svc-07251.example.com 2>/dev/null
transfer svc-07252 data with rsync
rsync -av --partial --append-verify /srv/svc-07252/ backup@host:/backups/svc-07252/ | sort -n
find files under /srv/svc-07253
find /srv/svc-07253 -type d -name '*.json' -mtime +7 -exec gzip {} + | sort
list changed files in /srv/svc-07254
git -C /srv/svc-07254 diff --name-status HEAD~1..HEAD -- | head -n 50
validate JSON status for svc-07255
jq '.items[] | .name' /srv/svc-07255/users.json | sort
locate matching files in /srv/svc-07256
find /srv/svc-07256 -maxdepth 2 -type f -name '*.json' -delete | wc -l
read journal entries for svc-07257
journalctl -u svc-07257.service --until '1 hour ago' -n 50 --no-pager | head -n 20
search text for svc-07258
grep -RIn '^#' /etc/svc-07258/config.ini --include='*.py' | head -n 20
send a signal to svc-07259 workers
pkill -HUP -f svc-07259 | column -t
list repository status details in /srv/svc-07260
git -C /srv/svc-07260 status --short --show-stash | awk '{print $2}'
display recent container output for svc-07261
docker logs --tail 500 -f svc-07261 2>&1 | uniq
scan configuration files for svc-07262
grep -n -A3 -B3 'timeout' /var/log/svc-07262.log --exclude='*.min.js' | cut -d: -f1
find files under /srv/svc-07263
find /srv/svc-07263 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | head -n 50
list changed files in /srv/svc-07264
git -C /srv/svc-07264 diff --check HEAD~1..HEAD src/ | tail -n 20
validate JSON status for svc-07265
jq -S '.items[] | .name' /srv/svc-07265/health.json | less
extract JSON fields for svc-07266
jq -S '.items[] | .name' /srv/svc-07266/health.json | cut -d, -f1
inspect pending changes in /srv/svc-07267
git -C /srv/svc-07267 diff --numstat origin/main...HEAD config/ | grep -E '^[^#]'
find files under /srv/svc-07268
find /srv/svc-07268 -maxdepth 2 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
inspect file handles for svc-07269
lsof -u svc-07269 | sed 's/^/ /'
print a git log summary for /srv/svc-07270
git -C /srv/svc-07270 log --oneline -n 10 | tail -n 20
deduplicate svc-07271 log entries
uniq -c -i /var/log/svc-07271.log | sort -nr | head | sed -n '1,20p'
query systemd status for svc-07272
systemctl show svc-07272.socket --no-pager >> /tmp/svc-07272.out
inspect systemd unit state for svc-07273
systemctl reload svc-07273.timer --no-pager 2>&1
search the svc-07274 directory tree
find /srv/svc-07274 -type d -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
clean up selected files in /srv/svc-07275
find /srv/svc-07275 -type d -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
locate matching files in /srv/svc-07276
find /srv/svc-07276 -maxdepth 2 -type f -name '*.conf' -size +50M -exec gzip {} + | tail -n 20
pretty-print JSON for svc-07277
jq '.services | keys[]' /srv/svc-07277/data.json | sort -nr
show the diff in /srv/svc-07278
git -C /srv/svc-07278 diff --check --cached | wc -l
search the svc-07279 directory tree
find /srv/svc-07279 -mindepth 1 -type f -name '*.log' -size +10M -exec gzip {} + | sed -n '1,20p'
count matches in svc-07280 data
grep -Ril 'panic[(]' /srv/svc-07280 --include='*.yaml' | sort -n
locate matching files in /srv/svc-07281
find /srv/svc-07281 -type d -empty -size +50M -print | sort -n