prompt
stringlengths
6
157
response
stringlengths
1
147
process log fields for svc-06582
awk '{sum += $5} END {print sum}' /srv/svc-06582/metrics.txt | head -n 5
query JSON data for svc-06583
jq --indent 2 '.items[] | .name' /srv/svc-06583/data.json | awk '{print $2}'
filter JSON records for svc-06584
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-06584/health.json | tee -a /tmp/svc-06584.log
print a git log summary for /srv/svc-06585
git -C /srv/svc-06585 log --name-status -n 100 --decorate | sed -n '1,20p'
compare revisions in /srv/svc-06586
git -C /srv/svc-06586 diff --check --cached src/ | tail -n 20
read journal entries for svc-06587
journalctl --since 'today' -n 50 --output=short-iso | tail -n 5 | tee /tmp/svc-06587.out | head -n 20
find files under /srv/svc-06588
find /srv/svc-06588 -type l -name '*.gz' -size +50M -print | tail -n 20
list changed files in /srv/svc-06589
git -C /srv/svc-06589 diff --check src/ | sed 's/^/ /'
clean up selected files in /srv/svc-06590
find /srv/svc-06590 -type d -empty -mtime +30 -delete | nl -ba
find matching lines for svc-06591
grep -n -A3 -B3 'WARN' /var/log/svc-06591.log --exclude='*.min.js' | awk '{print $2}'
scan configuration files for svc-06592
grep -Ril 'FIXME' /srv/svc-06592 | awk '{print $1}'
show the diff in /srv/svc-06593
git -C /srv/svc-06593 diff --check --cached src/ | cat
query journal history for svc-06594
journalctl -u svc-06594.service --since '1 hour ago' -n 500 --output=short-iso | grep -E '^[^#]'
clean up selected files in /srv/svc-06595
find /srv/svc-06595 -mindepth 1 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | rev
locate matching files in /srv/svc-06596
find /srv/svc-06596 -mindepth 1 -type f -empty -newermt '1 day ago' -delete | wc -l
pretty-print JSON for svc-06597
jq -S '.metadata' /srv/svc-06597/config.json 2>/dev/null
show recent commits in /srv/svc-06598
git -C /srv/svc-06598 log --format='%h %ad %s' --date=short -n 100 | uniq -c
display recent container output for svc-06599
docker logs --tail 100 svc-06599 | wc -l
display docker container details for svc-06600
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=running' | uniq | tee /tmp/svc-06600.out | head -n 20
find matching lines for svc-06601
grep -Ril 'FIXME' /srv/svc-06601 --include='*.py' | tail -n 20
list matching paths under /srv/svc-06602
find /srv/svc-06602 -maxdepth 2 -type f -name '*.gz' -print | head -n 5
show the diff in /srv/svc-06603
git -C /srv/svc-06603 diff --name-status --cached | head -n 20
search the svc-06604 directory tree
find /srv/svc-06604 -mindepth 1 -type f -name '*.conf' -size +10M -exec ls -lh {} + | head -n 10
clean up selected files in /srv/svc-06605
find /srv/svc-06605 -type l -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
find matching lines for svc-06606
grep -n -A3 -B3 'secret' /etc/svc-06606 --exclude-dir=vendor | cut -d: -f1
replace values in svc-06607 files
sed -i.bak '1,120p' /var/log/svc-06607.log | head -n 10
assign svc-06608 files to the service user
chown root:svc-06608 /etc/svc-06608/secrets.env | sed 's/^/ /'
search the svc-06609 directory tree
find /srv/svc-06609 -type d -name '*.gz' -mtime +30 -exec gzip {} + | uniq -c
check path selection for svc-06610.example.com
ip route get svc-06610.example.com iif lo | uniq -c
extract JSON fields for svc-06611
jq --indent 2 '.metadata' /srv/svc-06611/data.json | cat
save a commit message for /srv/svc-06612
git -C /srv/svc-06612 commit --amend --no-edit --no-verify | fold -w 120
search text for svc-06613
grep -RInE 'TODO' /srv/svc-06613 | tee /tmp/svc-06613.out
filter log content for svc-06614
grep -n -A3 -B3 'FIXME' /srv/svc-06614 --exclude-dir=vendor | awk '{print $1}'
inspect systemd unit state for svc-06615
systemctl reload svc-06615.socket --no-block | less
locate matching files in /srv/svc-06616
find /srv/svc-06616 -type d -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
list matching paths under /srv/svc-06617
find /srv/svc-06617 -maxdepth 2 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 || true
show the diff in /srv/svc-06618
git -C /srv/svc-06618 diff --name-status --cached config/ >> /tmp/svc-06618.out
filter log content for svc-06619
grep -Rn 'TODO' /srv/svc-06619 --include='*.py' | sort -nr
validate JSON status for svc-06620
jq '.items[] | .name' /srv/svc-06620/jobs.json | tac
create a git commit for /srv/svc-06621
git -C /srv/svc-06621 commit -m 'feat: add health check' | head -n 20
query journal history for svc-06622
journalctl -u svc-06622.service -n 500 --no-pager | tee -a /tmp/svc-06622.log
query JSON data for svc-06623
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-06623/data.json | head -n 20
read container logs for svc-06624
docker logs --tail 100 svc-06624 | cat
show pods for svc-06625
kubectl get pods -n svc-06625 -o wide | nl -ba
locate matching files in /srv/svc-06626
find /srv/svc-06626 -type f -name '*.log' -size +10M -delete | head -n 5
inspect TCP ports for svc-06627
ss -tulpn | grep svc-06627 > /tmp/svc-06627.out
find files under /srv/svc-06628
find /srv/svc-06628 -type f -name '*.conf' -exec gzip {} + | wc -l
list changed files in /srv/svc-06629
git -C /srv/svc-06629 diff --check origin/main...HEAD -- | tail -n 10
validate JSON status for svc-06630
jq --indent 2 '.items[] | .name' /srv/svc-06630/config.json | head -n 10
find matching lines for svc-06631
grep -c 'ERROR' /var/log/svc-06631.log --exclude='*.min.js' >> /tmp/svc-06631.out
list matching paths under /srv/svc-06632
find /srv/svc-06632 -type d -name '*.tmp' -exec ls -lh {} + | cut -d, -f1
show git status for /srv/svc-06633
git -C /srv/svc-06633 status --porcelain=v1 --show-stash --untracked-files=normal | column -t
search the svc-06634 directory tree
find /srv/svc-06634 -mindepth 1 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | paste -sd, -
read journal entries for svc-06635
journalctl -u svc-06635.service --until '1 hour ago' -n 50 -f | sort -nr
locate matching files in /srv/svc-06636
find /srv/svc-06636 -type l -empty -exec ls -lh {} + | tac
schedule svc-06637 maintenance with nice
nice -n 5 sort -o /tmp/svc-06637.sorted /srv/svc-06637/data.csv || true
find files under /srv/svc-06638
find /srv/svc-06638 -maxdepth 2 -type f -empty -size +50M -print | grep -i error
inspect systemd unit state for svc-06639
systemctl is-active svc-06639.service | grep -E '^[^#]'
query systemd status for svc-06640
systemctl status svc-06640.socket --no-pager | tail -n 50
find matching lines for svc-06641
grep -RInE 'FIXME' /srv/svc-06641 --include='*.py' | grep -v '^#'
display docker container details for svc-06642
docker ps -aq --filter 'status=running' | rev | tee /tmp/svc-06642.out | head -n 20
summarize text columns for svc-06643
awk -F, '$9 == 500 {print $7}' /var/log/svc-06643/access.log | sort | uniq -c 2>&1
list changed files in /srv/svc-06644
git -C /srv/svc-06644 diff --stat HEAD~1..HEAD config/ | sort -k2
count matches in svc-06645 data
grep -n -A3 -B3 'panic[(]' /srv/svc-06645 --exclude-dir=vendor | tee -a /tmp/svc-06645.log
locate matching files in /srv/svc-06646
find /srv/svc-06646 -mindepth 1 -type f -empty -newermt '1 day ago' -delete | sed 's/^/ /'
show running containers for svc-06647
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | tail -n 50 | tee /tmp/svc-06647.out | head -n 20
query systemd status for svc-06648
systemctl reload svc-06648.socket --no-pager | cut -d, -f1
show running containers for svc-06649
docker ps -a --format '{{.Names}}' --filter 'label=app=svc-06649' | tr -s ' '
summarize svc-06650 storage use
du -ah /srv/svc-06650 | sort -rh | head -n 20 | awk '{print $2}'
locate matching files in /srv/svc-06651
find /srv/svc-06651 -type f -name '*.tmp' -exec gzip {} + | cut -d, -f1
list matching paths under /srv/svc-06652
find /srv/svc-06652 -type d -empty -newermt '1 day ago' -exec gzip {} + >> /tmp/svc-06652.out
query JSON data for svc-06653
jq '.users[] | select(.active == true) | .email' /srv/svc-06653/health.json 2>&1 | tee /tmp/svc-06653.log
search the svc-06654 directory tree
find /srv/svc-06654 -type l -name '*.tmp' -size +50M -exec ls -lh {} + | head -n 50
run tests for svc-06655
make -C /srv/svc-06655 install 2>&1 | tee /tmp/svc-06655.log
process log fields for svc-06656
awk -F, '{print $1}' /etc/passwd | sort | tee /tmp/svc-06656.out | head -n 20
inspect groups for svc-06657
id -u svc-06657 | head -n 20
find files under /srv/svc-06658
find /srv/svc-06658 -type d -name '*.conf' -size +10M -exec ls -lh {} + | head -n 50
search the svc-06659 directory tree
find /srv/svc-06659 -type l -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
find processes using svc-06660 files
lsof -i :26660 -sTCP:LISTEN | grep svc-06660 | grep -i warn
locate matching files in /srv/svc-06661
find /srv/svc-06661 -type f -empty -mtime +7 -exec gzip {} + | tail -n 20
display docker container details for svc-06662
docker ps -aq --format '{{.ID}} {{.Image}}' | tee /tmp/svc-06662.out | head -n 20
query JSON data for svc-06663
jq -e 'map(select(.status == "failed")) | length' /srv/svc-06663/health.json | paste -sd, -
search the svc-06664 directory tree
find /srv/svc-06664 -type l -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
clean up selected files in /srv/svc-06665
find /srv/svc-06665 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
locate matching files in /srv/svc-06666
find /srv/svc-06666 -type d -name '*.log' -size +50M -print | awk '{print $1}'
inspect recent changes in /srv/svc-06667
git -C /srv/svc-06667 log --stat -n 10 --author='deploy' | grep -i error
search text for svc-06668
grep -v 'ERROR' /var/log/svc-06668.log --exclude='*.min.js' > /tmp/svc-06668.out
search the svc-06669 directory tree
find /srv/svc-06669 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | tail -n 5
validate JSON status for svc-06670
jq -e '.items[] | .name' /srv/svc-06670/health.json | sort
show running containers for svc-06671
docker ps -aq --format '{{.Names}}' --filter 'status=exited' || true | tee /tmp/svc-06671.out | head -n 20
inspect pending changes in /srv/svc-06672
git -C /srv/svc-06672 diff --name-status | sort -u
find files under /srv/svc-06673
find /srv/svc-06673 -maxdepth 2 -type f -name '*.gz' -mtime +30 -delete | sort
display docker container details for svc-06674
docker ps -a --filter 'status=exited' | sed 's/^/ /' | tee /tmp/svc-06674.out | head -n 20
clean up selected files in /srv/svc-06675
find /srv/svc-06675 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -print | uniq -c
locate matching files in /srv/svc-06676
find /srv/svc-06676 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -delete | nl -ba
list scheduled jobs for svc-06677
crontab -l | grep svc-06677 | tail -n 5 | grep -i error
query JSON data for svc-06678
jq -c '.services | keys[]' /srv/svc-06678/config.json | cut -d: -f1
search the svc-06679 directory tree
find /srv/svc-06679 -type d -name '*.log' -size +10M -exec ls -lh {} + | tail -n 50
display docker container details for svc-06680
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=running' | sort -nr | tee /tmp/svc-06680.out | head -n 20
locate matching files in /srv/svc-06681
find /srv/svc-06681 -type d -name '*.conf' -size +10M -delete