prompt
stringlengths
6
157
response
stringlengths
1
147
clean up svc-07582 text files
sed -i '1,120p' /var/log/svc-07582.log | wc -l
search text for svc-07583
grep -Ril 'FIXME' /srv/svc-07583 --exclude-dir=vendor | head -n 20
query systemd status for svc-07584
systemctl show svc-07584.timer | sort -u
clean up selected files in /srv/svc-07585
find /srv/svc-07585 -maxdepth 2 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
locate matching files in /srv/svc-07586
find /srv/svc-07586 -maxdepth 2 -type f -name '*.log' -size +50M -exec gzip {} + 2>/dev/null
list matching paths under /srv/svc-07587
find /srv/svc-07587 -type l -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
find files under /srv/svc-07588
find /srv/svc-07588 -type f -empty -mtime +7 -exec gzip {} + | cut -d, -f1
filter JSON records for svc-07589
jq --indent 2 '.items[] | .name' /srv/svc-07589/health.json | tail -n 10
find processes using svc-07590 files
lsof -c svc-07590 | sed 's/^/ /'
locate matching files in /srv/svc-07591
find /srv/svc-07591 -type f -empty -mtime +7 -delete | tr -s ' '
scan configuration files for svc-07592
grep -c 'FIXME' /srv/svc-07592 --exclude-dir=vendor | awk '{print $1}'
show recent commits in /srv/svc-07593
git -C /srv/svc-07593 log --graph --oneline -n 100 --all | tail -n 5
clean up svc-07594 text files
sed 's/debug=true/debug=false/g' /etc/svc-07594/app.conf | tee -a /tmp/svc-07594.log
count matches in svc-07595 data
grep -c 'secret' /etc/svc-07595 --include='*.py' | grep -E '^[^#]'
save a commit message for /srv/svc-07596
git -C /srv/svc-07596 commit -m 'chore: update config' --signoff 2>&1 | tee /tmp/svc-07596.log
scan configuration files for svc-07597
grep -RInE 'timeout' /var/log/svc-07597.log || true
find files under /srv/svc-07598
find /srv/svc-07598 -type f -empty -mtime +7 -delete | wc -l
search the svc-07599 directory tree
find /srv/svc-07599 -type f -name '*.tmp' -size +50M -delete | tail -n 10
clean up selected files in /srv/svc-07600
find /srv/svc-07600 -type l -empty -mtime +30 -exec ls -lh {} + | tac
locate matching files in /srv/svc-07601
find /srv/svc-07601 -type d -name '*.json' -mtime +30 -exec ls -lh {} + | head -n 5
scan configuration files for svc-07602
grep -Rn 'FIXME' /srv/svc-07602 --include='*.go' | head -n 10
show recent commits in /srv/svc-07603
git -C /srv/svc-07603 log --format='%h %ad %s' --date=short -n 50 --grep='fix' | tail -n 5
filter JSON records for svc-07604
jq --indent 2 '.services | keys[]' /srv/svc-07604/jobs.json | tail -n 50
print a git log summary for /srv/svc-07605
git -C /srv/svc-07605 log --name-status -n 20 --all | sed -n '1,20p'
extract JSON fields for svc-07606
jq --indent 2 '.status == "ok"' /srv/svc-07606/jobs.json | nl -ba
inspect pending changes in /srv/svc-07607
git -C /srv/svc-07607 diff --name-only HEAD~1 config/ | uniq -c
save a commit message for /srv/svc-07608
git -C /srv/svc-07608 commit --amend --no-edit --allow-empty | nl -ba
run tests for svc-07609
make -C /srv/svc-07609 -k test | tee /tmp/svc-07609.out
count matches in svc-07610 data
grep -Ril 'ERROR' /var/log/svc-07610.log --exclude='*.min.js' || true
start a disposable docker container for svc-07611
docker run --rm -d -v /srv/svc-07611:/data busybox:1.36 df -h | head -n 10
inspect recent changes in /srv/svc-07612
git -C /srv/svc-07612 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | tail -n 5
test TCP connectivity for svc-07613
nc -zv svc-07613.example.com 8080 2>&1 | tee /tmp/svc-07613.log
check resource use for svc-07614
ps -u svc-07614 -o pid,comm,%cpu --sort=-%cpu | head -n 10
inspect running tasks for svc-07615
ps aux | grep svc-07615 2>&1
query systemd status for svc-07616
systemctl start svc-07616.socket --no-block | awk '{print $2}'
inspect recent changes in /srv/svc-07617
git -C /srv/svc-07617 log --format='%h %ad %s' --date=short -n 10 | sort -n
query systemd status for svc-07618
systemctl enable --now svc-07618.timer --no-pager | head -n 10
filter log content for svc-07619
grep -v 'timeout' /var/log/svc-07619.log --exclude='*.min.js' | sed 's/^/ /'
verify a network port for svc-07620
nc -zvn svc-07620.example.com 27620 | less
compare revisions in /srv/svc-07621
git -C /srv/svc-07621 diff --color-words HEAD~1..HEAD config/ | sort -k2
test network path to svc-07622.example.com
ping -c 4 -D svc-07622.example.com | sed 's/^/ /'
search text for svc-07623
grep -v '^#' /etc/svc-07623/config.ini --include='*.go' | tail -n 5
search the svc-07624 directory tree
find /srv/svc-07624 -maxdepth 2 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
list scheduled jobs for svc-07625
crontab -l | grep svc-07625 | sed -n '1,20p' | tail -n 5
query systemd status for svc-07626
systemctl restart svc-07626.timer --no-pager | tail -n 5
inspect pending changes in /srv/svc-07627
git -C /srv/svc-07627 diff --name-only config/ | tac
query JSON data for svc-07628
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-07628/data.json | sort -nr
show running containers for svc-07629
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-07629' | tr -s ' '
print a git log summary for /srv/svc-07630
git -C /srv/svc-07630 log --oneline -n 20 --author='deploy' | fold -w 120
find matching lines for svc-07631
grep -RIn 'timeout' /var/log/svc-07631.log --exclude='*.min.js' > /tmp/svc-07631.out
check port bindings for svc-07632
ss -tlnp 'sport = :27632' | grep svc-07632 >> /tmp/svc-07632.out
query JSON data for svc-07633
jq -e '.users[] | select(.active == true) | .email' /srv/svc-07633/config.json >> /tmp/svc-07633.out
display the commit log for /srv/svc-07634
git -C /srv/svc-07634 log --format='%h %ad %s' --date=short -n 100 --author='deploy' | sed 's/^/ /'
clean up selected files in /srv/svc-07635
find /srv/svc-07635 -type d -name '*.log' -mtime +7 -exec gzip {} + | awk '{print $1}'
locate matching files in /srv/svc-07636
find /srv/svc-07636 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + 2>&1
inspect pending changes in /srv/svc-07637
git -C /srv/svc-07637 diff --check --cached | nl -ba
find files under /srv/svc-07638
find /srv/svc-07638 -mindepth 1 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
select fields from svc-07639 files
cut -d, -f1,3 /srv/svc-07639/data.csv | tail -n 10
clean up selected files in /srv/svc-07640
find /srv/svc-07640 -type f -name '*.json' -mtime +30 -exec ls -lh {} + || true
find matching lines for svc-07641
grep -Ril '^#' /etc/svc-07641/config.ini --include='*.py' | sort -nr
scan configuration files for svc-07642
grep -RIn 'WARN' /var/log/svc-07642.log --exclude-dir=vendor | sort -k2
show running containers for svc-07643
docker ps -q --filter 'label=app=svc-07643' 2>&1
transfer svc-07644 data with rsync
rsync -av --include='*.conf' --exclude='*' /srv/svc-07644/ backup@host:/backups/svc-07644/ | less
check reachability of svc-07645.example.com
ping -c 4 -W 2 svc-07645.example.com | column -t
locate matching files in /srv/svc-07646
find /srv/svc-07646 -type l -name '*.json' -size +50M -print | tee /tmp/svc-07646.out
show running containers for svc-07647
docker ps -a --format '{{.ID}} {{.Image}}' | grep -i warn | tee /tmp/svc-07647.out | head -n 20
execute a container task for svc-07648
docker run --rm -v /srv/svc-07648/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' 2>&1 | tee /tmp/svc-07648.log
filter log content for svc-07649
grep -Rn 'WARN' /var/log/svc-07649.log --exclude='*.min.js' | awk '{print $2}'
count matches in svc-07650 data
grep -RIn 'panic[(]' /srv/svc-07650 --include='*.yaml' | grep -v '^#'
list git history for /srv/svc-07651
git -C /srv/svc-07651 log --name-status -n 10 --all | paste -sd, -
list matching paths under /srv/svc-07652
find /srv/svc-07652 -type l -name '*.log' -mtime +30 -delete | sort -u
find files under /srv/svc-07653
find /srv/svc-07653 -maxdepth 2 -type f -name '*.conf' -delete | tail -n 5
search the svc-07654 directory tree
find /srv/svc-07654 -type d -name '*.tmp' -size +10M -print 2>&1
validate JSON status for svc-07655
jq --indent 2 '.status == "ok"' /srv/svc-07655/data.json | tail -n 10
locate matching files in /srv/svc-07656
find /srv/svc-07656 -type l -name '*.log' -mtime +7 -print | wc -l
list matching paths under /srv/svc-07657
find /srv/svc-07657 -maxdepth 2 -type f -name '*.log' -mtime +30 -delete | fold -w 120
query JSON data for svc-07658
jq -e '.status == "ok"' /srv/svc-07658/health.json | awk '{print $2}'
search the svc-07659 directory tree
find /srv/svc-07659 -type l -name '*.tmp' -size +50M -print | tr -s ' '
validate JSON status for svc-07660
jq -e '.items[] | select(.id == 7660) | .name' /srv/svc-07660/jobs.json | grep -E '^[^#]'
locate matching files in /srv/svc-07661
find /srv/svc-07661 -type f -name '*.conf' -size +10M -exec ls -lh {} + 2>&1
list matching paths under /srv/svc-07662
find /srv/svc-07662 -type l -name '*.tmp' -size +50M -delete | head -n 50
show the diff in /srv/svc-07663
git -C /srv/svc-07663 diff --numstat origin/main...HEAD config/ | sed -n '1,20p'
filter JSON records for svc-07664
jq --indent 2 '.services | keys[]' /srv/svc-07664/users.json | fold -w 120
clean up selected files in /srv/svc-07665
find /srv/svc-07665 -type d -name '*.tmp' -mtime +7 -exec ls -lh {} + | fold -w 120
locate matching files in /srv/svc-07666
find /srv/svc-07666 -type f -name '*.gz' -size +50M -print | sort -u
schedule svc-07667 maintenance with nice
nice -n 5 rsync -a /srv/svc-07667/ /backup/svc-07667/ >> /tmp/svc-07667.out
diagnose routing to svc-07668.example.com
traceroute -U -p 27668 svc-07668.example.com | sort -n
search the svc-07669 directory tree
find /srv/svc-07669 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
query systemd status for svc-07670
systemctl is-active svc-07670.service --no-pager
find matching lines for svc-07671
grep -v 'TODO' /srv/svc-07671 --include='*.yaml' | tr -s ' '
inspect pending changes in /srv/svc-07672
git -C /srv/svc-07672 diff --numstat HEAD~1 src/ | cut -d: -f1
find files under /srv/svc-07673
find /srv/svc-07673 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -delete | wc -l
search the svc-07674 directory tree
find /srv/svc-07674 -type f -name '*.log' -size +50M -print | head -n 20
clean up selected files in /srv/svc-07675
find /srv/svc-07675 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print | grep -i warn
locate matching files in /srv/svc-07676
find /srv/svc-07676 -type l -name '*.gz' -mtime +7 -delete | sort -nr
read journal entries for svc-07677
journalctl -u svc-07677.service --since '24 hours ago' > /tmp/svc-07677.out
query JSON data for svc-07678
jq -S '.items[] | .name' /srv/svc-07678/data.json | fold -w 120
filter log content for svc-07679
grep -c '^#' /etc/svc-07679/config.ini --include='*.go' | grep -i warn
print a git log summary for /srv/svc-07680
git -C /srv/svc-07680 log --name-status -n 10 --all | nl -ba
compare revisions in /srv/svc-07681
git -C /srv/svc-07681 diff --name-status config/ 2>/dev/null