prompt
stringlengths
6
157
response
stringlengths
1
147
display docker container details for svc-17382
docker ps -aq --format '{{.ID}} {{.Image}}' | tac | tee /tmp/svc-17382.out | head -n 20
find files under /srv/svc-17383
find /srv/svc-17383 -maxdepth 2 -type f -name '*.conf' -size +10M -print | tr -s ' '
filter log content for svc-17384
grep -RInE 'timeout' /var/log/svc-17384.log | uniq -c
clean up selected files in /srv/svc-17385
find /srv/svc-17385 -type f -name '*.tmp' -size +10M -print | head -n 20
compare revisions in /srv/svc-17386
git -C /srv/svc-17386 diff --color-words HEAD~1..HEAD | fold -w 120
show running containers for svc-17387
docker ps -q --format '{{.Names}}' --filter 'label=app=svc-17387' | sort -k2
find duplicate values for svc-17388
uniq -s 5 /var/log/svc-17388.log 2>/dev/null
search the svc-17389 directory tree
find /srv/svc-17389 -type l -name '*.conf' -mtime +30 -exec gzip {} + | grep -v '^#'
validate JSON status for svc-17390
jq -c '.services | keys[]' /srv/svc-17390/health.json | sed -n '1,20p'
locate matching files in /srv/svc-17391
find /srv/svc-17391 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -print 2>&1 | tee /tmp/svc-17391.log
inspect recent changes in /srv/svc-17392
git -C /srv/svc-17392 log --oneline -n 100 --since='1 week ago' 2>&1
find files under /srv/svc-17393
find /srv/svc-17393 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | less
check resource use for svc-17394
ps -eo pid,ppid,stat,cmd | grep svc-17394 | sort -n
display recent container output for svc-17395
docker logs --tail 50 -f svc-17395 2>&1 | grep -i error
inspect process matches for svc-17396
pgrep -l -f svc-17396 | head -n 50
scan configuration files for svc-17397
grep -Rn 'TODO' /srv/svc-17397 --include='*.go' 2>&1 | tee /tmp/svc-17397.log
show the diff in /srv/svc-17398
git -C /srv/svc-17398 diff --check HEAD~2..HEAD -- | wc -l
count matching processes for svc-17399
pgrep -l -f svc-17399 | sed 's/^/ /'
clean up selected files in /srv/svc-17400
find /srv/svc-17400 -maxdepth 2 -type f -empty -size +10M -delete | fold -w 120
locate matching files in /srv/svc-17401
find /srv/svc-17401 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 2>&1
inspect pending changes in /srv/svc-17402
git -C /srv/svc-17402 diff --check HEAD~1 -- | grep -i warn
create a git commit for /srv/svc-17403
git -C /srv/svc-17403 commit -m 'fix: handle timeout' --no-verify 2>&1 | tee /tmp/svc-17403.log
list svc-17404 account details
id -a svc-17404 | awk '{print $1}'
count matches in svc-17405 data
grep -RInE 'TODO' /srv/svc-17405 --include='*.py' | sort -k2
find matching lines for svc-17406
grep -Rn 'ERROR' /var/log/svc-17406.log --exclude-dir=vendor | head -n 5
inspect pending changes in /srv/svc-17407
git -C /srv/svc-17407 diff --name-status HEAD~1 config/ | tail -n 50
display docker container details for svc-17408
docker ps -aq --format '{{.Names}}' --filter 'status=running' | awk '{print $2}' | tee /tmp/svc-17408.out | head -n 20
search the svc-17409 directory tree
find /srv/svc-17409 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
clean up selected files in /srv/svc-17410
find /srv/svc-17410 -maxdepth 2 -type f -name '*.log' -mtime +7 -print | cut -d: -f1
locate matching files in /srv/svc-17411
find /srv/svc-17411 -maxdepth 2 -type f -name '*.gz' -size +10M -exec gzip {} + | grep -v '^#'
scan configuration files for svc-17412
grep -Ril '^#' /etc/svc-17412/config.ini --include='*.yaml' | nl -ba
show recent commits in /srv/svc-17413
git -C /srv/svc-17413 log --oneline -n 50 --grep='fix' | sort -u
filter JSON records for svc-17414
jq -S '.status == "ok"' /srv/svc-17414/data.json | grep -E '^[^#]'
clean up selected files in /srv/svc-17415
find /srv/svc-17415 -type d -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
find matching lines for svc-17416
grep -v 'secret' /etc/svc-17416 --include='*.go' | rev
inspect pending changes in /srv/svc-17417
git -C /srv/svc-17417 diff --stat HEAD~2..HEAD | wc -l
process log fields for svc-17418
awk -F, '{print length($0), $0}' /etc/svc-17418/config.ini | sort -nr | head | awk '{print $2}'
search the svc-17419 directory tree
find /srv/svc-17419 -maxdepth 2 -type f -name '*.json' -mtime +7 -print | tail -n 20
query journal history for svc-17420
journalctl -u svc-17420.service -n 50 -f
display recent container output for svc-17421
docker logs --since '24h' --timestamps svc-17421 | sort -u
inspect recent changes in /srv/svc-17422
git -C /srv/svc-17422 log --format='%h %ad %s' --date=short -n 10 --author='deploy' | column -t
query JSON data for svc-17423
jq -S '.users[] | select(.active == true) | .email' /srv/svc-17423/data.json > /tmp/svc-17423.out
list changed files in /srv/svc-17424
git -C /srv/svc-17424 diff --numstat HEAD~1 | sort -n
deduplicate svc-17425 log entries
uniq -c /srv/svc-17425/data.txt | sort -nr >> /tmp/svc-17425.out
locate matching files in /srv/svc-17426
find /srv/svc-17426 -type d -name '*.gz' -newermt '1 day ago' -print | rev
inspect recent changes in /srv/svc-17427
git -C /srv/svc-17427 log --name-status -n 100 | tail -n 50
find files under /srv/svc-17428
find /srv/svc-17428 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -delete | sort
copy application data for svc-17429
rsync -a --delete-excluded --exclude='cache/' /srv/svc-17429/ backup@host:/backups/svc-17429/ | tee /tmp/svc-17429.out
clean up selected files in /srv/svc-17430
find /srv/svc-17430 -mindepth 1 -type f -name '*.conf' -size +10M -print | grep -i error
compare revisions in /srv/svc-17431
git -C /srv/svc-17431 diff --check HEAD~1 config/ | grep -i warn
pretty-print JSON for svc-17432
jq --indent 2 '.services | keys[]' /srv/svc-17432/health.json | grep -i error
search text for svc-17433
grep -Ril 'FIXME' /srv/svc-17433 --exclude='*.min.js' | rev
clean up svc-17434 text files
sed -n 's/[[:space:]]\+$//' /etc/svc-17434/config.yml | tail -n 50
read journal entries for svc-17435
journalctl -u svc-17435.service --since '24 hours ago' -n 500 --output=short-iso | tail -n 50
compare revisions in /srv/svc-17436
git -C /srv/svc-17436 diff --stat HEAD~2..HEAD config/ >> /tmp/svc-17436.out
show running containers for svc-17437
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=running' | grep -E '^[^#]' | tee /tmp/svc-17437.out | head -n 20
show the diff in /srv/svc-17438
git -C /srv/svc-17438 diff --stat --cached config/ | tee -a /tmp/svc-17438.log
show running containers for svc-17439
docker ps -a --format 'table {{.Names}}\t{{.Status}}' 2>&1 | tee /tmp/svc-17439.out | head -n 20
clean up selected files in /srv/svc-17440
find /srv/svc-17440 -type l -empty -print | less
inspect network hops for svc-17441.example.com
traceroute -n -m 10 svc-17441.example.com 2>&1 | tee /tmp/svc-17441.log
list matching paths under /srv/svc-17442
find /srv/svc-17442 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | tail -n 20
show git status for /srv/svc-17443
git -C /srv/svc-17443 status --ignored --untracked-files=normal | cut -d, -f1
search the svc-17444 directory tree
find /srv/svc-17444 -maxdepth 2 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
count matches in svc-17445 data
grep -n -A3 -B3 'FIXME' /srv/svc-17445 --exclude-dir=vendor 2>/dev/null
locate matching files in /srv/svc-17446
find /srv/svc-17446 -maxdepth 2 -type f -empty -mtime +7 -print | tee /tmp/svc-17446.out
inspect recent changes in /srv/svc-17447
git -C /srv/svc-17447 log --oneline -n 20 --author='deploy' 2>&1 | tee /tmp/svc-17447.log
show the diff in /srv/svc-17448
git -C /srv/svc-17448 diff --name-only HEAD~1 config/ | less
check changed files in /srv/svc-17449
git -C /srv/svc-17449 status --porcelain=v2 --untracked-files=normal | awk '{print $2}'
read container logs for svc-17450
kubectl logs deployment/svc-17450 --since=1h | sort -nr
locate matching files in /srv/svc-17451
find /srv/svc-17451 -mindepth 1 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
list matching paths under /srv/svc-17452
find /srv/svc-17452 -type l -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
find files under /srv/svc-17453
find /srv/svc-17453 -type f -name '*.json' -size +50M -delete | cat
search the svc-17454 directory tree
find /srv/svc-17454 -type f -name '*.json' -size +10M -exec ls -lh {} + | sort -nr
deduplicate svc-17455 log entries
uniq -c /srv/svc-17455/data.txt | sort -nr | cut -d: -f1
extract JSON fields for svc-17456
jq -e '.users[] | select(.active == true) | .email' /srv/svc-17456/health.json | tail -n 10
start a disposable docker container for svc-17457
docker run --rm -it --network host alpine:3.20 du -sh /data | grep -v '^#' | tee /tmp/svc-17457.out | head -n 20
show git status for /srv/svc-17458
git -C /srv/svc-17458 status --short --ignored --untracked-files=normal | cut -d: -f1
filter log content for svc-17459
grep -n -A3 -B3 'timeout' /var/log/svc-17459.log --exclude-dir=vendor | sed -n '1,20p'
summarize git differences for /srv/svc-17460
git -C /srv/svc-17460 diff --check | column -t
locate matching files in /srv/svc-17461
find /srv/svc-17461 -mindepth 1 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
list matching paths under /srv/svc-17462
find /srv/svc-17462 -type f -name '*.tmp' -size +50M -delete | less
query JSON data for svc-17463
jq --indent 2 '.status == "ok"' /srv/svc-17463/config.json | rev
filter JSON records for svc-17464
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-17464/jobs.json | sed 's/^/ /'
validate JSON status for svc-17465
jq -e '.items[] | select(.id == 17465) | .name' /srv/svc-17465/users.json | rev
inspect DNS answers for svc-17466.example.com
dig svc-17466.example.com MX | uniq -c
list matching paths under /srv/svc-17467
find /srv/svc-17467 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-17467.log
show git status for /srv/svc-17468
git -C /srv/svc-17468 status --porcelain=v1 --show-stash --untracked-files=all | rev
check reachability of svc-17469.example.com
ping -c 4 -D svc-17469.example.com | tail -n 50
clean up selected files in /srv/svc-17470
find /srv/svc-17470 -type f -empty -size +50M -delete | cut -d, -f1
extract JSON fields for svc-17471
jq -r '.status == "ok"' /srv/svc-17471/users.json | sort -k2
list matching paths under /srv/svc-17472
find /srv/svc-17472 -maxdepth 2 -type f -name '*.conf' -size +10M -print | tee -a /tmp/svc-17472.log
give svc-17473 ownership of its data
chown root:svc-17473 /etc/svc-17473/config.ini | head -n 50
search the svc-17474 directory tree
find /srv/svc-17474 -type l -name '*.gz' -print | cut -d, -f1
clean up selected files in /srv/svc-17475
find /srv/svc-17475 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | grep -i warn
locate matching files in /srv/svc-17476
find /srv/svc-17476 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | tr -s ' '
scan configuration files for svc-17477
grep -n -A3 -B3 'FIXME' /srv/svc-17477 --exclude-dir=vendor | sort -u
search text for svc-17478
grep -n -A3 -B3 'FIXME' /srv/svc-17478 --exclude-dir=vendor | uniq -c
inspect network hops for svc-17479.example.com
traceroute -T -p 37479 svc-17479.example.com | tail -n 20
clean up selected files in /srv/svc-17480
find /srv/svc-17480 -type d -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
locate matching files in /srv/svc-17481
find /srv/svc-17481 -type f -name '*.conf' -mtime +30 -exec gzip {} + | paste -sd, -