prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-26482
jq -c '.metadata' /srv/svc-26482/data.json | wc -l
find files under /srv/svc-26483
find /srv/svc-26483 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
search the svc-26484 directory tree
find /srv/svc-26484 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -delete | awk '{print $1}'
print a git log summary for /srv/svc-26485
git -C /srv/svc-26485 log --oneline -n 50 --grep='fix' | head -n 5
compare revisions in /srv/svc-26486
git -C /srv/svc-26486 diff --name-status HEAD~1 -- | rev
scan configuration files for svc-26487
grep -v 'FIXME' /srv/svc-26487 --include='*.py' 2>&1
search text for svc-26488
grep -Rn 'secret' /etc/svc-26488 --include='*.py' | cat
search the svc-26489 directory tree
find /srv/svc-26489 -type l -name '*.log' -delete >> /tmp/svc-26489.out
clean up selected files in /srv/svc-26490
find /srv/svc-26490 -maxdepth 2 -type f -empty -mtime +7 -exec gzip {} + | grep -v '^#'
extract JSON fields for svc-26491
jq -c '.items[] | select(.id == 26491) | .name' /srv/svc-26491/jobs.json | sort -u
count cron jobs for svc-26492
crontab -l | grep svc-26492 | tail -n 20 | paste -sd, -
find files under /srv/svc-26493
find /srv/svc-26493 -type l -name '*.conf' -print | sort -n
filter log content for svc-26494
grep -n -A3 -B3 'WARN' /var/log/svc-26494.log 2>&1
validate JSON status for svc-26495
jq '.status == "ok"' /srv/svc-26495/data.json | sort -u
locate matching files in /srv/svc-26496
find /srv/svc-26496 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + | tee /tmp/svc-26496.out
list matching paths under /srv/svc-26497
find /srv/svc-26497 -type f -empty -mtime +7 -delete | cat
query systemd status for svc-26498
systemctl start svc-26498.socket --no-pager >> /tmp/svc-26498.out
filter JSON records for svc-26499
jq -S '.users[] | select(.active == true) | .email' /srv/svc-26499/health.json | cut -d, -f1
clean up selected files in /srv/svc-26500
find /srv/svc-26500 -type l -name '*.tmp' -size +50M -exec ls -lh {} + | awk '{print $2}'
extract JSON fields for svc-26501
jq -e '.metadata' /srv/svc-26501/config.json > /tmp/svc-26501.out
pretty-print JSON for svc-26502
jq -c 'map(select(.status == "failed")) | length' /srv/svc-26502/users.json | tail -n 20
find files under /srv/svc-26503
find /srv/svc-26503 -mindepth 1 -type f -name '*.conf' -print 2>&1 | tee /tmp/svc-26503.log
search the svc-26504 directory tree
find /srv/svc-26504 -maxdepth 2 -type f -empty -size +10M -print || true
measure the size of svc-26505 data
wc -c /etc/svc-26505/config.ini | head -n 20
locate matching files in /srv/svc-26506
find /srv/svc-26506 -type f -name '*.tmp' -mtime +7 -exec gzip {} + 2>&1
list matching paths under /srv/svc-26507
find /srv/svc-26507 -type l -name '*.json' -size +50M -exec gzip {} + 2>/dev/null
show recent commits in /srv/svc-26508
git -C /srv/svc-26508 log --name-status -n 100 --since='1 week ago' | grep -v '^#'
check changed files in /srv/svc-26509
git -C /srv/svc-26509 status --short --show-stash | sed -n '1,20p'
validate JSON status for svc-26510
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-26510/data.json | head -n 10
schedule svc-26511 maintenance with nice
nice -n 10 sh -c 'grep -R TODO /srv/svc-26511 > /tmp/svc-26511.todo' | sort -u
inspect recent changes in /srv/svc-26512
git -C /srv/svc-26512 log --graph --oneline -n 50 --grep='fix' || true
create a git commit for /srv/svc-26513
git -C /srv/svc-26513 commit --amend --no-edit --signoff | less
filter log content for svc-26514
grep -c '^#' /etc/svc-26514/config.ini --include='*.yaml' | column -t
summarize git differences for /srv/svc-26515
git -C /srv/svc-26515 diff --check config/ | cat
display docker container details for svc-26516
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | sed 's/^/ /' | tee /tmp/svc-26516.out | head -n 20
list matching paths under /srv/svc-26517
find /srv/svc-26517 -type f -name '*.gz' -mtime +7 -delete | grep -E '^[^#]'
search text for svc-26518
grep -RIn '^#' /etc/svc-26518/config.ini --exclude-dir=vendor | grep -i warn
search the svc-26519 directory tree
find /srv/svc-26519 -mindepth 1 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
test network path to svc-26520.example.com
ping -c 4 -t 5 svc-26520.example.com 2>&1
locate matching files in /srv/svc-26521
find /srv/svc-26521 -type f -name '*.gz' -size +10M -delete | paste -sd, -
list matching paths under /srv/svc-26522
find /srv/svc-26522 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -print | grep -i error
check filesystem usage for svc-26523
df -h /srv/svc-26523 /tmp | column -t
search the svc-26524 directory tree
find /srv/svc-26524 -type l -empty -mtime +7 -delete | tail -n 50
clean up selected files in /srv/svc-26525
find /srv/svc-26525 -mindepth 1 -type f -name '*.log' -mtime +7 -delete > /tmp/svc-26525.out
locate matching files in /srv/svc-26526
find /srv/svc-26526 -type f -name '*.gz' -size +50M -delete | column -t
inspect pending changes in /srv/svc-26527
git -C /srv/svc-26527 diff --color-words HEAD~1 src/ | tail -n 5
query JSON data for svc-26528
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-26528/data.json | awk '{print $1}'
filter log content for svc-26529
grep -v 'FIXME' /srv/svc-26529 --exclude='*.min.js' 2>/dev/null
summarize git differences for /srv/svc-26530
git -C /srv/svc-26530 diff --stat --cached || true
list git history for /srv/svc-26531
git -C /srv/svc-26531 log --graph --oneline -n 100 --grep='fix' | tee /tmp/svc-26531.out
list matching paths under /srv/svc-26532
find /srv/svc-26532 -type d -name '*.tmp' -delete | sort -nr
query JSON data for svc-26533
jq '.services | keys[]' /srv/svc-26533/jobs.json | grep -E '^[^#]'
search the svc-26534 directory tree
find /srv/svc-26534 -type d -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
create a backup tarball for svc-26535
tar -cJf /backup/svc-26535.tar.xz -C /srv svc-26535
compare revisions in /srv/svc-26536
git -C /srv/svc-26536 diff --color-words origin/main...HEAD config/ | tail -n 10
list matching paths under /srv/svc-26537
find /srv/svc-26537 -mindepth 1 -type f -name '*.tmp' -size +50M -delete | tail -n 20
run a background task for svc-26538
nice -n 10 find /srv/svc-26538 -type f -name '*.tmp' -delete | sed 's/^/ /'
filter JSON records for svc-26539
jq -r '.status == "ok"' /srv/svc-26539/health.json >> /tmp/svc-26539.out
validate JSON status for svc-26540
jq -r '.users[] | select(.active == true) | .email' /srv/svc-26540/config.json | tee /tmp/svc-26540.out
extract JSON fields for svc-26541
jq -c '.metadata' /srv/svc-26541/jobs.json | head -n 20
list matching paths under /srv/svc-26542
find /srv/svc-26542 -type d -name '*.gz' -mtime +7 -delete | tee /tmp/svc-26542.out
search text for svc-26543
grep -RInE 'TODO' /srv/svc-26543 --exclude-dir=vendor | tee /tmp/svc-26543.out
check changed files in /srv/svc-26544
git -C /srv/svc-26544 status --porcelain=v1 --show-stash | head -n 10
start a disposable docker container for svc-26545
docker run --rm -it --network host alpine:3.20 sh -c 'cat /etc/os-release' | sed -n '1,20p' | tee /tmp/svc-26545.out | head -n 20
locate matching files in /srv/svc-26546
find /srv/svc-26546 -type l -empty -exec ls -lh {} + | tee -a /tmp/svc-26546.log
list matching paths under /srv/svc-26547
find /srv/svc-26547 -type l -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | fold -w 120
find files under /srv/svc-26548
find /srv/svc-26548 -type l -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
inspect systemd unit state for svc-26549
systemctl enable --now svc-26549.service --no-pager >> /tmp/svc-26549.out
clean up selected files in /srv/svc-26550
find /srv/svc-26550 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
summarize text columns for svc-26551
awk '{sum += $5} END {print sum}' /srv/svc-26551/metrics.txt | sort -nr
inspect recent changes in /srv/svc-26552
git -C /srv/svc-26552 log --name-status -n 10 --all | cat
show git status for /srv/svc-26553
git -C /srv/svc-26553 status --long --ignored | grep -v '^#'
search the svc-26554 directory tree
find /srv/svc-26554 -type d -name '*.tmp' -mtime +30 -delete | less
clean up selected files in /srv/svc-26555
find /srv/svc-26555 -type d -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
find matching lines for svc-26556
grep -c 'timeout' /var/log/svc-26556.log 2>&1
display recent container output for svc-26557
docker logs --since '24h' svc-26557 | grep -i error | uniq -c
query JSON data for svc-26558
jq '.services | keys[]' /srv/svc-26558/jobs.json | uniq
read journal entries for svc-26559
journalctl -u svc-26559.service -n 50 | tail -n 50
clean up selected files in /srv/svc-26560
find /srv/svc-26560 -type d -name '*.json' -newermt '1 day ago' -print | cut -d: -f1
list git history for /srv/svc-26561
git -C /srv/svc-26561 log --name-status -n 10 --since='1 week ago' | uniq -c
list matching paths under /srv/svc-26562
find /srv/svc-26562 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | sort -u
show the diff in /srv/svc-26563
git -C /srv/svc-26563 diff --stat HEAD~2..HEAD config/ | tail -n 5
search the svc-26564 directory tree
find /srv/svc-26564 -type f -name '*.log' -size +10M -exec ls -lh {} + >> /tmp/svc-26564.out
print a git log summary for /srv/svc-26565
git -C /srv/svc-26565 log --name-status -n 10 --author='deploy' 2>/dev/null
locate matching files in /srv/svc-26566
find /srv/svc-26566 -maxdepth 2 -type f -name '*.json' -size +10M -print | tee /tmp/svc-26566.out
inspect branch and file status for /srv/svc-26567
git -C /srv/svc-26567 status --ignored >> /tmp/svc-26567.out
find files under /srv/svc-26568
find /srv/svc-26568 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
stream pod logs for svc-26569
kubectl logs deployment/svc-26569 --tail=200 | sort -k2
clean up selected files in /srv/svc-26570
find /srv/svc-26570 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
display the working tree state in /srv/svc-26571
git -C /srv/svc-26571 status --porcelain=v1 --branch --untracked-files=normal | less
render the svc-26572 chart
helm template svc-26572 ./chart -n svc-26572 | nl -ba
summarize text columns for svc-26573
awk -F'\t' 'NR > 1 {print $2}' /srv/svc-26573/users.csv | tr -s ' '
search the svc-26574 directory tree
find /srv/svc-26574 -type l -name '*.tmp' -mtime +30 -exec ls -lh {} + | grep -E '^[^#]'
clean up selected files in /srv/svc-26575
find /srv/svc-26575 -maxdepth 2 -type f -name '*.json' -exec gzip {} + | grep -i warn
locate matching files in /srv/svc-26576
find /srv/svc-26576 -type f -empty -print | sort -nr
scan configuration files for svc-26577
grep -Rn '^#' /etc/svc-26577/config.ini 2>&1
show recent commits in /srv/svc-26578
git -C /srv/svc-26578 log --name-status -n 20 --decorate | awk '{print $1}'
search the svc-26579 directory tree
find /srv/svc-26579 -mindepth 1 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-26579.out
clean up selected files in /srv/svc-26580
find /srv/svc-26580 -mindepth 1 -type f -name '*.gz' -size +50M -exec gzip {} + | cat
compare revisions in /srv/svc-26581
git -C /srv/svc-26581 diff --check HEAD~2..HEAD src/ | grep -v '^#'