prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-12382
find /srv/svc-12382 -type l -name '*.tmp' -mtime +30 -exec ls -lh {} + | column -t
show running containers for svc-12383
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=exited' > /tmp/svc-12383.out
search the svc-12384 directory tree
find /srv/svc-12384 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -delete | uniq -c
show running containers for svc-12385
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | uniq | tee /tmp/svc-12385.out | head -n 20
extract JSON fields for svc-12386
jq '.metadata' /srv/svc-12386/config.json | sort -nr
list matching paths under /srv/svc-12387
find /srv/svc-12387 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec gzip {} + | uniq
check cluster state for svc-12388
kubectl get pods -n svc-12388 -o wide | uniq
inspect systemd unit state for svc-12389
systemctl reload svc-12389.service --no-block | paste -sd, -
count matches in svc-12390 data
grep -c 'timeout' /var/log/svc-12390.log --include='*.py' | grep -i error
locate matching files in /srv/svc-12391
find /srv/svc-12391 -type d -name '*.conf' -newermt '1 day ago' -exec gzip {} + | tail -n 20
list matching paths under /srv/svc-12392
find /srv/svc-12392 -type d -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
show git status for /srv/svc-12393
git -C /srv/svc-12393 status --porcelain=v1 --branch --untracked-files=normal | grep -i warn
query journal history for svc-12394
journalctl -u svc-12394.service --no-pager | uniq
inspect systemd unit state for svc-12395
systemctl is-enabled svc-12395.socket | less
find matching lines for svc-12396
grep -Ril 'secret' /etc/svc-12396 | tee /tmp/svc-12396.out
list matching paths under /srv/svc-12397
find /srv/svc-12397 -maxdepth 2 -type f -name '*.gz' -size +50M -delete | head -n 20
find files under /srv/svc-12398
find /srv/svc-12398 -maxdepth 2 -type f -name '*.tmp' -size +50M -delete | fold -w 120
search the svc-12399 directory tree
find /srv/svc-12399 -type l -name '*.gz' -mtime +7 -exec gzip {} + | grep -i warn
verify a network port for svc-12400
nc -zv svc-12400.example.com 22 | tail -n 50
locate matching files in /srv/svc-12401
find /srv/svc-12401 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | column -t
list matching paths under /srv/svc-12402
find /srv/svc-12402 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
create a git commit for /srv/svc-12403
git -C /srv/svc-12403 commit -m 'fix: handle timeout' --no-verify | tail -n 10
search the svc-12404 directory tree
find /srv/svc-12404 -mindepth 1 -type f -name '*.tmp' -size +10M -delete | paste -sd, -
inspect file handles for svc-12405
lsof -i :32405 -sTCP:LISTEN | grep svc-12405 > /tmp/svc-12405.out
locate matching files in /srv/svc-12406
find /srv/svc-12406 -type l -name '*.tmp' -mtime +30 -delete | uniq -c
inspect systemd unit state for svc-12407
systemctl status svc-12407.socket --no-pager | rev
find files under /srv/svc-12408
find /srv/svc-12408 -mindepth 1 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
list changed files in /srv/svc-12409
git -C /srv/svc-12409 diff --numstat HEAD~1..HEAD | tail -n 50
diagnose routing to svc-12410.example.com
traceroute -n -m 10 svc-12410.example.com | column -t
locate matching files in /srv/svc-12411
find /srv/svc-12411 -type l -name '*.conf' -print | uniq -c
scan configuration files for svc-12412
grep -c 'timeout' /var/log/svc-12412.log --exclude='*.min.js' 2>&1 | tee /tmp/svc-12412.log
find files under /srv/svc-12413
find /srv/svc-12413 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec gzip {} + | tail -n 20
filter JSON records for svc-12414
jq -e '.items[] | select(.id == 12414) | .name' /srv/svc-12414/data.json | tac
clean up selected files in /srv/svc-12415
find /srv/svc-12415 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
display the working tree state in /srv/svc-12416
git -C /srv/svc-12416 status --long --ignored | sort -u
scan configuration files for svc-12417
grep -RIn '^#' /etc/svc-12417/config.ini --exclude='*.min.js' || true
show the diff in /srv/svc-12418
git -C /srv/svc-12418 diff --color-words --cached | cat
display the commit log for /srv/svc-12419
git -C /srv/svc-12419 log --format='%h %ad %s' --date=short -n 50 --all | grep -E '^[^#]'
clean up selected files in /srv/svc-12420
find /srv/svc-12420 -type d -name '*.json' -size +10M -delete | sort -n
locate matching files in /srv/svc-12421
find /srv/svc-12421 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
display docker container details for svc-12422
docker ps -q --format '{{.Names}}' | column -t | tee /tmp/svc-12422.out | head -n 20
find files under /srv/svc-12423
find /srv/svc-12423 -type d -name '*.tmp' -mtime +7 -exec gzip {} + | column -t
filter JSON records for svc-12424
jq -r '.items[] | select(.id == 12424) | .name' /srv/svc-12424/data.json | grep -v '^#'
clean up selected files in /srv/svc-12425
find /srv/svc-12425 -maxdepth 2 -type f -name '*.conf' -size +50M -exec ls -lh {} + | uniq
list git history for /srv/svc-12426
git -C /srv/svc-12426 log --format='%h %ad %s' --date=short -n 10 | less
list matching paths under /srv/svc-12427
find /srv/svc-12427 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec gzip {} + | sort
find files under /srv/svc-12428
find /srv/svc-12428 -type f -name '*.json' -size +50M -exec ls -lh {} + | head -n 10
summarize text columns for svc-12429
awk -F'\t' 'NR > 1 {print $2}' /srv/svc-12429/users.csv | sort -u
count matches in svc-12430 data
grep -v 'WARN' /var/log/svc-12430.log --exclude-dir=vendor | nl -ba
summarize text columns for svc-12431
awk -F'\t' '{print length($0), $0}' /etc/svc-12431/config.ini | sort -nr | head | sort -k2
list matching paths under /srv/svc-12432
find /srv/svc-12432 -maxdepth 2 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | uniq
search text for svc-12433
grep -v 'FIXME' /srv/svc-12433 --include='*.go' | tail -n 5
display docker container details for svc-12434
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-12434' 2>/dev/null
inspect running tasks for svc-12435
ps -eo pid,lstart,cmd | grep svc-12435 | less
list git history for /srv/svc-12436
git -C /srv/svc-12436 log --stat -n 10 --author='deploy' | awk '{print $2}'
inspect recent changes in /srv/svc-12437
git -C /srv/svc-12437 log --oneline -n 100 --decorate 2>&1 | tee /tmp/svc-12437.log
search text for svc-12438
grep -v 'WARN' /var/log/svc-12438.log --exclude='*.min.js' | grep -i warn
search the svc-12439 directory tree
find /srv/svc-12439 -type d -empty -mtime +7 -exec gzip {} + | head -n 20
clean up selected files in /srv/svc-12440
find /srv/svc-12440 -mindepth 1 -type f -name '*.gz' -size +50M -exec ls -lh {} + | grep -i error
download svc-12441 data with curl
curl -I http://127.0.0.1:32441/svc-12441/ | sort -nr
pretty-print JSON for svc-12442
jq -r '.services | keys[]' /srv/svc-12442/jobs.json | grep -E '^[^#]'
replace values in svc-12443 files
sed 's/debug=true/debug=false/g' /etc/svc-12443/app.conf | awk '{print $2}'
query systemd status for svc-12444
systemctl disable svc-12444.socket | sed 's/^/ /'
clean up selected files in /srv/svc-12445
find /srv/svc-12445 -maxdepth 2 -type f -name '*.gz' -exec ls -lh {} + | sort -k2
compare revisions in /srv/svc-12446
git -C /srv/svc-12446 diff --check HEAD~2..HEAD config/ | column -t
pretty-print JSON for svc-12447
jq -e '.services | keys[]' /srv/svc-12447/users.json | sed 's/^/ /'
find files under /srv/svc-12448
find /srv/svc-12448 -maxdepth 2 -type f -name '*.json' -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-12448.log
filter log content for svc-12449
grep -n -A3 -B3 '^#' /etc/svc-12449/config.ini --include='*.yaml' | cat
query systemd status for svc-12450
systemctl is-enabled svc-12450.socket | sort -n
locate matching files in /srv/svc-12451
find /srv/svc-12451 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
display docker container details for svc-12452
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' | tee /tmp/svc-12452.out | head -n 20
read journal entries for svc-12453
journalctl --since '1 hour ago' -u svc-12453.service -f | sort -n
query journal history for svc-12454
journalctl -u svc-12454.service --until '1 hour ago' -n 50 | rev
clean up selected files in /srv/svc-12455
find /srv/svc-12455 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | sort
locate matching files in /srv/svc-12456
find /srv/svc-12456 -maxdepth 2 -type f -name '*.conf' -mtime +30 -print 2>&1
give svc-12457 ownership of its data
chown svc-12457:svc-12457 /srv/svc-12457/data >> /tmp/svc-12457.out
find files under /srv/svc-12458
find /srv/svc-12458 -mindepth 1 -type f -empty -mtime +7 -delete | uniq
filter JSON records for svc-12459
jq '.users[] | select(.active == true) | .email' /srv/svc-12459/users.json | grep -i error
count matches in svc-12460 data
grep -Ril '^#' /etc/svc-12460/config.ini --include='*.yaml' | tail -n 50
display the working tree state in /srv/svc-12461
git -C /srv/svc-12461 status --porcelain=v1 --ignored | tr -s ' '
list matching paths under /srv/svc-12462
find /srv/svc-12462 -type d -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | rev
stream pod logs for svc-12463
kubectl logs job/svc-12463-migrate -n svc-12463 | nl -ba
search the svc-12464 directory tree
find /srv/svc-12464 -maxdepth 2 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
validate JSON status for svc-12465
jq '.items[] | [.id, .name] | @tsv' /srv/svc-12465/data.json | cat
find matching lines for svc-12466
grep -Rn '^#' /etc/svc-12466/config.ini --include='*.py' | uniq
inspect recent changes in /srv/svc-12467
git -C /srv/svc-12467 log --oneline -n 50 --grep='fix' | tee /tmp/svc-12467.out
find files under /srv/svc-12468
find /srv/svc-12468 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
search the svc-12469 directory tree
find /srv/svc-12469 -type d -empty -mtime +7 -exec gzip {} + | grep -v '^#'
clean up selected files in /srv/svc-12470
find /srv/svc-12470 -maxdepth 2 -type f -name '*.gz' -size +50M -exec ls -lh {} + 2>&1 | tee /tmp/svc-12470.log
compare revisions in /srv/svc-12471
git -C /srv/svc-12471 diff --name-only src/ | tac
inspect branch and file status for /srv/svc-12472
git -C /srv/svc-12472 status --long --untracked-files=all | tail -n 10
find files under /srv/svc-12473
find /srv/svc-12473 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | cut -d: -f1
query systemd status for svc-12474
systemctl show svc-12474.timer | grep -v '^#'
download svc-12475 data with curl
curl -fsS http://127.0.0.1:32475/svc-12475/health | sort -n
find matching lines for svc-12476
grep -n -A3 -B3 'FIXME' /srv/svc-12476 --exclude='*.min.js' | awk '{print $2}'
inspect branch and file status for /srv/svc-12477
git -C /srv/svc-12477 status --branch --untracked-files=all || true
find files under /srv/svc-12478
find /srv/svc-12478 -mindepth 1 -type f -name '*.gz' -size +10M -delete | rev
search the svc-12479 directory tree
find /srv/svc-12479 -maxdepth 2 -type f -name '*.json' -size +50M -exec ls -lh {} + | sort
process log fields for svc-12480
awk '/ERROR/ {count++} END {print count+0}' /var/log/svc-12480.log | grep -i error
show running containers for svc-12481
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=running' | grep -i warn | tee /tmp/svc-12481.out | head -n 20