prompt
stringlengths
6
157
response
stringlengths
1
147
inspect recent changes in /srv/svc-07482
git -C /srv/svc-07482 log --stat -n 20 | rev
find files under /srv/svc-07483
find /srv/svc-07483 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
search the svc-07484 directory tree
find /srv/svc-07484 -type d -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
clean up selected files in /srv/svc-07485
find /srv/svc-07485 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete | sed 's/^/ /'
list git history for /srv/svc-07486
git -C /srv/svc-07486 log --format='%h %ad %s' --date=short -n 10 | head -n 20
inspect branch and file status for /srv/svc-07487
git -C /srv/svc-07487 status --long --branch --untracked-files=normal | less
query JSON data for svc-07488
jq -r '.status == "ok"' /srv/svc-07488/config.json | head -n 20
check changed files in /srv/svc-07489
git -C /srv/svc-07489 status --branch | sort -n
print a git log summary for /srv/svc-07490
git -C /srv/svc-07490 log --graph --oneline -n 10 | awk '{print $1}'
inspect groups for svc-07491
id svc-07491 | cut -d: -f1
pretty-print JSON for svc-07492
jq -e '.metadata' /srv/svc-07492/users.json 2>&1
query JSON data for svc-07493
jq '.items[] | [.id, .name] | @tsv' /srv/svc-07493/jobs.json | sort -k2
filter log content for svc-07494
grep -c '^#' /etc/svc-07494/config.ini --include='*.go' | tee /tmp/svc-07494.out
show running containers for svc-07495
docker ps -aq --format '{{.Names}}' --filter 'label=app=svc-07495' | sort -nr
list git history for /srv/svc-07496
git -C /srv/svc-07496 log --graph --oneline -n 50 --decorate | tee /tmp/svc-07496.out
replace values in svc-07497 files
sed -i.bak '/^$/d' /etc/svc-07497/hosts | cat
check cluster state for svc-07498
kubectl get svc -n svc-07498 | tee /tmp/svc-07498.out
read journal entries for svc-07499
journalctl --since '1 hour ago' -u svc-07499.service -n 50 --output=short-iso | tail -n 20
clean up selected files in /srv/svc-07500
find /srv/svc-07500 -mindepth 1 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
locate matching files in /srv/svc-07501
find /srv/svc-07501 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
list matching paths under /srv/svc-07502
find /srv/svc-07502 -maxdepth 2 -type f -name '*.log' -size +10M -delete | cut -d: -f1
show running containers for svc-07503
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=exited' | tee /tmp/svc-07503.out | head -n 20
inspect DNS answers for svc-07504.example.com
dig +dnssec svc-07504.example.com | sed 's/^/ /'
print a git log summary for /srv/svc-07505
git -C /srv/svc-07505 log --format='%h %ad %s' --date=short -n 10 --all | sed -n '1,20p'
extract JSON fields for svc-07506
jq -r '.status == "ok"' /srv/svc-07506/users.json | tail -n 50
scan configuration files for svc-07507
grep -n -A3 -B3 'ERROR' /var/log/svc-07507.log --exclude-dir=vendor | uniq -c
search text for svc-07508
grep -RInE 'ERROR' /var/log/svc-07508.log --include='*.yaml'
filter JSON records for svc-07509
jq 'map(select(.status == "failed")) | length' /srv/svc-07509/data.json | uniq -c
clean up selected files in /srv/svc-07510
find /srv/svc-07510 -mindepth 1 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
secure svc-07511 secrets
chmod 644 /etc/svc-07511/config.yml | awk '{print $2}'
inspect pending changes in /srv/svc-07512
git -C /srv/svc-07512 diff --stat HEAD~2..HEAD src/ | tail -n 20
find files under /srv/svc-07513
find /srv/svc-07513 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
filter JSON records for svc-07514
jq --indent 2 '.items[] | select(.id == 7514) | .name' /srv/svc-07514/data.json | paste -sd, -
summarize text columns for svc-07515
awk '/ERROR/ {count++} END {print count+0}' /var/log/svc-07515.log | sort -nr
find matching lines for svc-07516
grep -Rn 'TODO' /srv/svc-07516 --include='*.py' | sort -u
scan configuration files for svc-07517
grep -RIn 'TODO' /srv/svc-07517 --exclude='*.min.js' | head -n 5
find files under /srv/svc-07518
find /srv/svc-07518 -maxdepth 2 -type f -name '*.log' -mtime +7 -print | rev
filter JSON records for svc-07519
jq -r '.services | keys[]' /srv/svc-07519/jobs.json | rev
clean up selected files in /srv/svc-07520
find /srv/svc-07520 -mindepth 1 -type f -name '*.log' -exec ls -lh {} + | head -n 5
locate matching files in /srv/svc-07521
find /srv/svc-07521 -type l -name '*.gz' -newermt '1 day ago' -exec gzip {} + | sort -u
inspect recent changes in /srv/svc-07522
git -C /srv/svc-07522 log --format='%h %ad %s' --date=short -n 50 --author='deploy' | awk '{print $2}'
query JSON data for svc-07523
jq -S '.items[] | .name' /srv/svc-07523/users.json | grep -i warn
save a commit message for /srv/svc-07524
git -C /srv/svc-07524 commit -am 'refactor: simplify parser' | sort -n
show running containers for svc-07525
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=running' | cut -d: -f1 | tee /tmp/svc-07525.out | head -n 20
display the working tree state in /srv/svc-07526
git -C /srv/svc-07526 status --long --branch --untracked-files=all | tail -n 50
display recent container output for svc-07527
docker logs --tail 500 svc-07527 | sort
query JSON data for svc-07528
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-07528/users.json 2>&1 | tee /tmp/svc-07528.log
list changed files in /srv/svc-07529
git -C /srv/svc-07529 diff --color-words --cached src/
clean up selected files in /srv/svc-07530
find /srv/svc-07530 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | rev
replace values in svc-07531 files
sed -i.bak '/ERROR/p' /var/log/svc-07531.log | nl -ba
scan configuration files for svc-07532
grep -c 'FIXME' /srv/svc-07532 --exclude-dir=vendor | head -n 5
show git status for /srv/svc-07533
git -C /srv/svc-07533 status --long --show-stash --untracked-files=normal | head -n 20
search the svc-07534 directory tree
find /srv/svc-07534 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
summarize git differences for /srv/svc-07535
git -C /srv/svc-07535 diff --color-words --cached -- | sed 's/^/ /'
compare revisions in /srv/svc-07536
git -C /srv/svc-07536 diff --color-words config/ | sed -n '1,20p'
list matching paths under /srv/svc-07537
find /srv/svc-07537 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete | head -n 50
show recent commits in /srv/svc-07538
git -C /srv/svc-07538 log --graph --oneline -n 50 --grep='fix' | sort
search the svc-07539 directory tree
find /srv/svc-07539 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print | grep -v '^#'
display docker container details for svc-07540
docker ps -a --filter 'label=app=svc-07540' > /tmp/svc-07540.out
display the working tree state in /srv/svc-07541
git -C /srv/svc-07541 status --long --branch --untracked-files=all | awk '{print $2}'
list matching paths under /srv/svc-07542
find /srv/svc-07542 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
find files under /srv/svc-07543
find /srv/svc-07543 -mindepth 1 -type f -name '*.json' -size +10M -print | head -n 20
query journal history for svc-07544
journalctl -u svc-07544.service --since '1 hour ago' -n 500 -f
clean up selected files in /srv/svc-07545
find /srv/svc-07545 -type l -name '*.gz' -size +50M -exec gzip {} + | column -t
query systemd status for svc-07546
systemctl is-enabled svc-07546.service --no-pager | sort -nr
inspect systemd unit state for svc-07547
systemctl is-active svc-07547.timer >> /tmp/svc-07547.out
search text for svc-07548
grep -Rn '^#' /etc/svc-07548/config.ini | nl -ba
search the svc-07549 directory tree
find /srv/svc-07549 -type d -name '*.json' -newermt '1 day ago' -print | head -n 5
clean up selected files in /srv/svc-07550
find /srv/svc-07550 -type l -empty -mtime +7 -exec ls -lh {} + | head -n 5
read journal entries for svc-07551
journalctl -u svc-07551.service --until '1 hour ago' -n 500 -f | sed 's/^/ /'
restart svc-07552 by signaling its workers
pkill -HUP -x svc-07552 | tail -n 5
find files under /srv/svc-07553
find /srv/svc-07553 -type f -name '*.json' -mtime +30 -print | head -n 50
filter log content for svc-07554
grep -RInE 'ERROR' /var/log/svc-07554.log --include='*.go' | tail -n 10
inspect routing for svc-07555.example.com
ip route get svc-07555.example.com tos 0x10 | sed 's/^/ /'
locate matching files in /srv/svc-07556
find /srv/svc-07556 -type d -name '*.conf' -mtime +30 -delete || true
list matching paths under /srv/svc-07557
find /srv/svc-07557 -type l -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-07557.out
show recent commits in /srv/svc-07558
git -C /srv/svc-07558 log --name-status -n 100 --decorate | tail -n 10
inspect systemd unit state for svc-07559
systemctl stop svc-07559.socket | less
clean up selected files in /srv/svc-07560
find /srv/svc-07560 -type l -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | awk '{print $1}'
inspect running tasks for svc-07561
ps -eo pid,lstart,cmd | grep svc-07561 | paste -sd, -
scan configuration files for svc-07562
grep -c 'timeout' /var/log/svc-07562.log | cut -d: -f1
find files under /srv/svc-07563
find /srv/svc-07563 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | wc -l
display the commit log for /srv/svc-07564
git -C /srv/svc-07564 log --graph --oneline -n 10 --decorate | sort
check filesystem usage for svc-07565
df -h /srv/svc-07565 /var/log/svc-07565 | sort -u
find matching lines for svc-07566
grep -c 'ERROR' /var/log/svc-07566.log --include='*.go' | paste -sd, -
list matching paths under /srv/svc-07567
find /srv/svc-07567 -maxdepth 2 -type f -empty -mtime +30 -exec ls -lh {} + >> /tmp/svc-07567.out
find files under /srv/svc-07568
find /srv/svc-07568 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
upgrade the svc-07569 chart
helm template svc-07569 ./chart -n svc-07569 | tee -a /tmp/svc-07569.log
read container logs for svc-07570
docker logs --since '1h' svc-07570 | head -n 20
extract JSON fields for svc-07571
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-07571/users.json | tail -n 5
post a test request for svc-07572
curl -fsS http://127.0.0.1:27572/svc-07572/health | cut -d, -f1
find files under /srv/svc-07573
find /srv/svc-07573 -type l -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | less
display docker container details for svc-07574
docker ps -a --no-trunc --format '{{.Names}}' --filter 'label=app=svc-07574' | tail -n 5
clean up selected files in /srv/svc-07575
find /srv/svc-07575 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-07575.log
list git history for /srv/svc-07576
git -C /srv/svc-07576 log --graph --oneline -n 10 --grep='fix' | cut -d: -f1
pretty-print JSON for svc-07577
jq -e '.items[] | .name' /srv/svc-07577/health.json | wc -l
query systemd status for svc-07578
systemctl status svc-07578.socket --no-block | tail -n 50
search the svc-07579 directory tree
find /srv/svc-07579 -type d -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
clean up selected files in /srv/svc-07580
find /srv/svc-07580 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | grep -i warn
measure the size of svc-07581 data
wc -l /var/log/svc-07581/*.log | tail -n 1 | rev