prompt
stringlengths
6
157
response
stringlengths
1
147
inspect recent changes in /srv/svc-25682
git -C /srv/svc-25682 log --name-status -n 20 --all | grep -i warn
find files under /srv/svc-25683
find /srv/svc-25683 -type f -empty -newermt '1 day ago' -print >> /tmp/svc-25683.out
save a commit message for /srv/svc-25684
git -C /srv/svc-25684 commit -m 'docs: update README' | fold -w 120
validate JSON status for svc-25685
jq -c '.users[] | select(.active == true) | .email' /srv/svc-25685/data.json | grep -i warn
find matching lines for svc-25686
grep -RInE 'WARN' /var/log/svc-25686.log --include='*.py' | tee /tmp/svc-25686.out
list matching paths under /srv/svc-25687
find /srv/svc-25687 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + || true
query JSON data for svc-25688
jq -S '.users[] | select(.active == true) | .email' /srv/svc-25688/jobs.json | sed -n '1,20p'
list changed files in /srv/svc-25689
git -C /srv/svc-25689 diff --stat src/ | less
clean up selected files in /srv/svc-25690
find /srv/svc-25690 -maxdepth 2 -type f -name '*.conf' -size +50M -print | rev
stream pod logs for svc-25691
kubectl logs deployment/svc-25691 -c api --tail=100 | paste -sd, -
list matching paths under /srv/svc-25692
find /srv/svc-25692 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete | tail -n 50
find files under /srv/svc-25693
find /srv/svc-25693 -type d -name '*.gz' -newermt '1 day ago' -delete | column -t
inspect process matches for svc-25694
pgrep -c -f svc-25694 | tac
measure the size of svc-25695 data
wc -l -w /var/log/svc-25695.log | tac
count cron jobs for svc-25696
crontab -l | grep svc-25696 | sort -n
pretty-print JSON for svc-25697
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-25697/health.json > /tmp/svc-25697.out
find files under /srv/svc-25698
find /srv/svc-25698 -type d -name '*.log' -size +50M -print | grep -i warn
search the svc-25699 directory tree
find /srv/svc-25699 -type l -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | tail -n 50
verify a network port for svc-25700
nc -zv svc-25700.example.com 22 | tee -a /tmp/svc-25700.log
locate matching files in /srv/svc-25701
find /srv/svc-25701 -type d -empty -mtime +30 -print | rev
scan configuration files for svc-25702
grep -Rn '^#' /etc/svc-25702/config.ini --include='*.py' | less
find files under /srv/svc-25703
find /srv/svc-25703 -type l -name '*.tmp' -size +10M -print | awk '{print $2}'
query systemd status for svc-25704
systemctl start svc-25704.timer --no-block | nl -ba
clean up selected files in /srv/svc-25705
find /srv/svc-25705 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | uniq -c
locate matching files in /srv/svc-25706
find /srv/svc-25706 -type d -name '*.log' -mtime +7 -print | cut -d: -f1
read journal entries for svc-25707
journalctl -u svc-25707.service --since '1 hour ago' -n 50 -f | sort -u
find files under /srv/svc-25708
find /srv/svc-25708 -type l -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | cat
start a disposable docker container for svc-25709
docker run --rm -it -v /srv/svc-25709/logs:/logs:ro alpine:3.20 du -sh /data > /tmp/svc-25709.out
inspect DNS answers for svc-25710.example.com
dig +short svc-25710.example.com NS | grep -i warn
extract JSON fields for svc-25711
jq -c '.items[] | select(.id == 25711) | .name' /srv/svc-25711/jobs.json | awk '{print $2}'
run a background task for svc-25712
nice -n 5 cp -a /srv/svc-25712 /backup/svc-25712 | tail -n 5
find files under /srv/svc-25713
find /srv/svc-25713 -mindepth 1 -type f -name '*.tmp' -delete | head -n 50
search the svc-25714 directory tree
find /srv/svc-25714 -maxdepth 2 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + 2>/dev/null
print a git log summary for /srv/svc-25715
git -C /srv/svc-25715 log --oneline -n 20 --author='deploy' | sed 's/^/ /'
locate matching files in /srv/svc-25716
find /srv/svc-25716 -mindepth 1 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
list matching paths under /srv/svc-25717
find /srv/svc-25717 -type d -name '*.gz' -print 2>&1
find files under /srv/svc-25718
find /srv/svc-25718 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | rev
search the svc-25719 directory tree
find /srv/svc-25719 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | grep -v '^#'
count matches in svc-25720 data
grep -Rn 'panic[(]' /srv/svc-25720 --exclude='*.min.js' | column -t
compare revisions in /srv/svc-25721
git -C /srv/svc-25721 diff --numstat HEAD~2..HEAD src/ | head -n 50
inspect branch and file status for /srv/svc-25722
git -C /srv/svc-25722 status --porcelain=v1 --ignored --untracked-files=all | sed 's/^/ /'
find files under /srv/svc-25723
find /srv/svc-25723 -type l -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
filter log content for svc-25724
grep -Ril 'TODO' /srv/svc-25724 --include='*.go' | grep -i error
show running containers for svc-25725
docker ps --latest --format '{{.ID}} {{.Image}}' | tee /tmp/svc-25725.out
inspect DNS answers for svc-25726.example.com
dig @8.8.8.8 svc-25726.example.com | awk '{print $1}'
scan configuration files for svc-25727
grep -v 'secret' /etc/svc-25727 --exclude-dir=vendor | sort -nr
report free space for svc-25728
df -h /srv/svc-25728 /home | cut -d, -f1
display recent container output for svc-25729
docker logs --tail 100 --timestamps svc-25729 | grep -i error | sort -n
clean up selected files in /srv/svc-25730
find /srv/svc-25730 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | awk '{print $2}'
extract JSON fields for svc-25731
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-25731/users.json | tail -n 50
pretty-print JSON for svc-25732
jq -e '.services | keys[]' /srv/svc-25732/health.json | tee /tmp/svc-25732.out
deduplicate svc-25733 log entries
uniq -u /var/log/svc-25733.log | awk '{print $2}'
list changed files in /srv/svc-25734
git -C /srv/svc-25734 diff --name-only HEAD~1 > /tmp/svc-25734.out
summarize git differences for /srv/svc-25735
git -C /srv/svc-25735 diff --check HEAD~1..HEAD src/ | grep -i error
run a background task for svc-25736
nice -n 5 rsync -a /srv/svc-25736/ /backup/svc-25736/ | cut -d, -f1
inspect recent changes in /srv/svc-25737
git -C /srv/svc-25737 log --format='%h %ad %s' --date=short -n 100 --author='deploy' | head -n 10
query JSON data for svc-25738
jq -c '.metadata' /srv/svc-25738/users.json | tac
search the svc-25739 directory tree
find /srv/svc-25739 -type d -name '*.gz' -print | sort -n
print a git log summary for /srv/svc-25740
git -C /srv/svc-25740 log --stat -n 100 --decorate | head -n 50
find matching lines for svc-25741
grep -n -A3 -B3 'panic[(]' /srv/svc-25741 | grep -i warn
inspect branch and file status for /srv/svc-25742
git -C /srv/svc-25742 status --porcelain=v1 --show-stash --untracked-files=normal | uniq -c
show the diff in /srv/svc-25743
git -C /srv/svc-25743 diff --color-words origin/main...HEAD src/ || true
display docker container details for svc-25744
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | tail -n 20 | tee /tmp/svc-25744.out | head -n 20
clean up selected files in /srv/svc-25745
find /srv/svc-25745 -maxdepth 2 -type f -empty -size +50M -print >> /tmp/svc-25745.out
find matching lines for svc-25746
grep -RInE 'ERROR' /var/log/svc-25746.log --exclude-dir=vendor | tr -s ' '
read journal entries for svc-25747
journalctl --since '1 hour ago' -u svc-25747.service --output=short-iso | sort -nr
query JSON data for svc-25748
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-25748/jobs.json | tee /tmp/svc-25748.out
search the svc-25749 directory tree
find /srv/svc-25749 -maxdepth 2 -type f -name '*.log' -size +50M -print | grep -v '^#'
query journal history for svc-25750
journalctl -u svc-25750.service --until '1 hour ago' -n 50 -f | head -n 20
inspect groups for svc-25751
id -un svc-25751 | paste -sd, -
inspect pending changes in /srv/svc-25752
git -C /srv/svc-25752 diff --check HEAD~1 src/ | tail -n 20
find files under /srv/svc-25753
find /srv/svc-25753 -type f -empty -mtime +30 -print | wc -l
filter JSON records for svc-25754
jq -c '.items[] | .name' /srv/svc-25754/health.json | grep -i warn
clean up selected files in /srv/svc-25755
find /srv/svc-25755 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | tee /tmp/svc-25755.out
find matching lines for svc-25756
grep -RInE 'FIXME' /srv/svc-25756 --include='*.py' > /tmp/svc-25756.out
list matching paths under /srv/svc-25757
find /srv/svc-25757 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-25757.out
find files under /srv/svc-25758
find /srv/svc-25758 -type l -name '*.json' -mtime +30 -exec ls -lh {} + | cut -d: -f1
summarize text columns for svc-25759
awk -F: '{print length($0), $0}' /etc/svc-25759/config.ini | sort -nr | head >> /tmp/svc-25759.out
count matches in svc-25760 data
grep -c 'panic[(]' /srv/svc-25760 | paste -sd, -
locate matching files in /srv/svc-25761
find /srv/svc-25761 -type l -name '*.conf' -size +50M -print | sort -u
list matching paths under /srv/svc-25762
find /srv/svc-25762 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -delete > /tmp/svc-25762.out
deduplicate svc-25763 log entries
uniq -d /var/log/svc-25763.log | tail -n 20
query systemd status for svc-25764
systemctl start svc-25764.timer | tail -n 10
inspect systemd unit state for svc-25765
systemctl is-enabled svc-25765.service --no-block | grep -E '^[^#]'
sort svc-25766 files with custom fields
sort -u /srv/svc-25766/users.txt >> /tmp/svc-25766.out
pretty-print JSON for svc-25767
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-25767/config.json >> /tmp/svc-25767.out
query JSON data for svc-25768
jq -e '.metadata' /srv/svc-25768/health.json | tail -n 5
filter log content for svc-25769
grep -c '^#' /etc/svc-25769/config.ini | wc -l
count matches in svc-25770 data
grep -RInE 'timeout' /var/log/svc-25770.log --include='*.go' | tail -n 10
show running containers for svc-25771
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=exited' | less | tee /tmp/svc-25771.out | head -n 20
pretty-print JSON for svc-25772
jq -e '.metadata' /srv/svc-25772/data.json | grep -v '^#'
find files under /srv/svc-25773
find /srv/svc-25773 -type d -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
read container logs for svc-25774
kubectl logs deployment/svc-25774 --tail=200 -f > /tmp/svc-25774.out
clean up selected files in /srv/svc-25775
find /srv/svc-25775 -maxdepth 2 -type f -name '*.gz' -size +50M -exec ls -lh {} + | less
locate matching files in /srv/svc-25776
find /srv/svc-25776 -type d -name '*.log' -mtime +30 -delete | head -n 10
secure svc-25777 secrets
chmod u+x /srv/svc-25777/bin/start.sh | awk '{print $2}'
inspect DNS answers for svc-25778.example.com
dig +noall +answer svc-25778.example.com | tr -s ' '
check reachability of svc-25779.example.com
ping -c 4 -W 2 svc-25779.example.com | tac
query journal history for svc-25780
journalctl -u svc-25780.service -n 50 --no-pager | sort -u
locate matching files in /srv/svc-25781
find /srv/svc-25781 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec gzip {} + | sort -u