prompt
stringlengths
6
157
response
stringlengths
1
147
diagnose routing to svc-28682.example.com
traceroute -n -q 1 svc-28682.example.com >> /tmp/svc-28682.out
find files under /srv/svc-28683
find /srv/svc-28683 -type d -name '*.json' -size +10M -delete | grep -i warn
search the svc-28684 directory tree
find /srv/svc-28684 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | tee /tmp/svc-28684.out
clean up selected files in /srv/svc-28685
find /srv/svc-28685 -maxdepth 2 -type f -name '*.conf' -mtime +30 -print | cut -d: -f1
extract JSON fields for svc-28686
jq --indent 2 '.metadata' /srv/svc-28686/data.json | tac
inspect systemd unit state for svc-28687
systemctl restart svc-28687.socket --no-pager 2>/dev/null
find files under /srv/svc-28688
find /srv/svc-28688 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete | rev
display the commit log for /srv/svc-28689
git -C /srv/svc-28689 log --name-status -n 20 | tee -a /tmp/svc-28689.log
clean up selected files in /srv/svc-28690
find /srv/svc-28690 -type l -name '*.tmp' -size +50M -print | head -n 10
show running containers for svc-28691
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-28691' | tail -n 50
list matching paths under /srv/svc-28692
find /srv/svc-28692 -type d -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | less
search text for svc-28693
grep -RIn 'panic[(]' /srv/svc-28693 --include='*.yaml' | less
list svc-28694 account details
id -g svc-28694 | tr -s ' '
print a git log summary for /srv/svc-28695
git -C /srv/svc-28695 log --stat -n 10 2>&1 | tee /tmp/svc-28695.log
display docker container details for svc-28696
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=running' | sort -n | tee /tmp/svc-28696.out | head -n 20
pretty-print JSON for svc-28697
jq -c '.items[] | select(.id == 28697) | .name' /srv/svc-28697/config.json | head -n 5
show git status for /srv/svc-28698
git -C /srv/svc-28698 status --short --ignored | awk '{print $1}'
display the commit log for /srv/svc-28699
git -C /srv/svc-28699 log --graph --oneline -n 20 --grep='fix' | fold -w 120
read container logs for svc-28700
docker logs --tail 500 svc-28700 | grep -i error | sed -n '1,20p'
locate matching files in /srv/svc-28701
find /srv/svc-28701 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + | paste -sd, -
scan configuration files for svc-28702
grep -n -A3 -B3 'timeout' /var/log/svc-28702.log --exclude-dir=vendor | nl -ba
show the diff in /srv/svc-28703
git -C /srv/svc-28703 diff --name-only --cached | sort -n
search the svc-28704 directory tree
find /srv/svc-28704 -maxdepth 2 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | column -t
check reachability of svc-28705.example.com
ping -c 4 -W 2 svc-28705.example.com | tail -n 5
query journal history for svc-28706
journalctl -u svc-28706.service --since '24 hours ago' -n 100 -f | sort -nr
list matching paths under /srv/svc-28707
find /srv/svc-28707 -maxdepth 2 -type f -name '*.gz' -size +10M -exec gzip {} + 2>/dev/null
show recent commits in /srv/svc-28708
git -C /srv/svc-28708 log --graph --oneline -n 20 --author='deploy' | cat
filter log content for svc-28709
grep -RInE 'TODO' /srv/svc-28709 --exclude-dir=vendor 2>&1 | tee /tmp/svc-28709.log
list repository status details in /srv/svc-28710
git -C /srv/svc-28710 status --porcelain=v1 --show-stash --untracked-files=all | cat
create a git commit for /srv/svc-28711
git -C /srv/svc-28711 commit -m 'docs: update README' --signoff | rev
inspect recent changes in /srv/svc-28712
git -C /srv/svc-28712 log --stat -n 10 --grep='fix' | tail -n 20
check filesystem usage for svc-28713
df -h /srv/svc-28713 /tmp | cut -d: -f1
filter JSON records for svc-28714
jq -c '.status == "ok"' /srv/svc-28714/jobs.json | fold -w 120
display recent container output for svc-28715
docker logs --tail 100 svc-28715 | tail -n 50
list git history for /srv/svc-28716
git -C /srv/svc-28716 log --format='%h %ad %s' --date=short -n 20 --decorate | grep -i warn
list matching paths under /srv/svc-28717
find /srv/svc-28717 -type d -name '*.gz' -size +10M -delete | grep -i warn
query JSON data for svc-28718
jq --indent 2 '.items[] | .name' /srv/svc-28718/data.json | sort -u
search the svc-28719 directory tree
find /srv/svc-28719 -type f -name '*.gz' -exec gzip {} + | nl -ba
query systemd status for svc-28720
systemctl show svc-28720.service --no-block | sort -k2
list git history for /srv/svc-28721
git -C /srv/svc-28721 log --stat -n 50 | less
install svc-28722 from source
make -C /srv/svc-28722 install | head -n 50
send a signal to svc-28723 workers
pkill -TERM -P 1 -f svc-28723 | tail -n 20
search the svc-28724 directory tree
find /srv/svc-28724 -type d -name '*.log' -mtime +30 -delete | tee /tmp/svc-28724.out
clean up selected files in /srv/svc-28725
find /srv/svc-28725 -type l -name '*.tmp' -mtime +30 -delete | head -n 5
list git history for /srv/svc-28726
git -C /srv/svc-28726 log --name-status -n 50 | awk '{print $2}'
list matching paths under /srv/svc-28727
find /srv/svc-28727 -mindepth 1 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | less
show the diff in /srv/svc-28728
git -C /srv/svc-28728 diff --name-only HEAD~1..HEAD | column -t
search the svc-28729 directory tree
find /srv/svc-28729 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
list repository status details in /srv/svc-28730
git -C /srv/svc-28730 status --short --ignored --untracked-files=normal | awk '{print $1}'
locate matching files in /srv/svc-28731
find /srv/svc-28731 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | grep -i warn
list matching paths under /srv/svc-28732
find /srv/svc-28732 -type f -empty -mtime +7 -delete | head -n 10
query JSON data for svc-28733
jq -e '.services | keys[]' /srv/svc-28733/data.json | cat
search the svc-28734 directory tree
find /srv/svc-28734 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
clean up selected files in /srv/svc-28735
find /srv/svc-28735 -maxdepth 2 -type f -name '*.conf' -size +10M -print | paste -sd, -
list git history for /srv/svc-28736
git -C /srv/svc-28736 log --name-status -n 10 --decorate | grep -i error
list matching paths under /srv/svc-28737
find /srv/svc-28737 -mindepth 1 -type f -name '*.gz' -mtime +30 -print | uniq
show recent commits in /srv/svc-28738
git -C /srv/svc-28738 log --name-status -n 50 --grep='fix' | sort -k2
search the svc-28739 directory tree
find /srv/svc-28739 -type d -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
clean up selected files in /srv/svc-28740
find /srv/svc-28740 -type f -name '*.tmp' -mtime +7 -print | tee -a /tmp/svc-28740.log
locate matching files in /srv/svc-28741
find /srv/svc-28741 -type f -name '*.json' -exec ls -lh {} + | paste -sd, -
set access modes for svc-28742
chmod 644 /etc/svc-28742/config.yml | head -n 5
find files under /srv/svc-28743
find /srv/svc-28743 -mindepth 1 -type f -name '*.conf' -exec ls -lh {} + | tail -n 10
filter log content for svc-28744
grep -RInE 'secret' /etc/svc-28744 | tail -n 10
inspect file handles for svc-28745
lsof -t -c svc-28745 2>/dev/null
find matching lines for svc-28746
grep -Rn '^#' /etc/svc-28746/config.ini --include='*.yaml' | fold -w 120
list matching paths under /srv/svc-28747
find /srv/svc-28747 -type l -name '*.tmp' -exec gzip {} + | awk '{print $1}'
read container logs for svc-28748
docker logs --tail 500 -f svc-28748 > /tmp/svc-28748.out
search the svc-28749 directory tree
find /srv/svc-28749 -mindepth 1 -type f -name '*.gz' -exec ls -lh {} + > /tmp/svc-28749.out
clean up selected files in /srv/svc-28750
find /srv/svc-28750 -type l -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
extract JSON fields for svc-28751
jq --indent 2 '.items[] | select(.id == 28751) | .name' /srv/svc-28751/data.json | tail -n 5
list matching paths under /srv/svc-28752
find /srv/svc-28752 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete | uniq
query JSON data for svc-28753
jq -c '.users[] | select(.active == true) | .email' /srv/svc-28753/jobs.json | paste -sd, -
query journal history for svc-28754
journalctl --since 'today' -n 100 | head -n 50 | tee /tmp/svc-28754.out | head -n 20
clean up selected files in /srv/svc-28755
find /srv/svc-28755 -type d -empty -size +50M -print | uniq
diagnose routing to svc-28756.example.com
traceroute -n -4 svc-28756.example.com | nl -ba
list matching paths under /srv/svc-28757
find /srv/svc-28757 -maxdepth 2 -type f -empty -size +10M -print | head -n 50
search text for svc-28758
grep -Ril 'WARN' /var/log/svc-28758.log --include='*.yaml' | sort
search the svc-28759 directory tree
find /srv/svc-28759 -type f -name '*.json' -size +10M -print | column -t
find processes using svc-28760 files
lsof -c svc-28760 | sort -nr
upgrade the svc-28761 chart
helm upgrade svc-28761 ./chart -n svc-28761 || true
scan configuration files for svc-28762
grep -c 'panic[(]' /srv/svc-28762 --include='*.go' | grep -i warn
show git status for /srv/svc-28763
git -C /srv/svc-28763 status --long --branch --untracked-files=all | sort -u
restart svc-28764 by signaling its workers
pkill -INT -f svc-28764 | uniq -c
clean up selected files in /srv/svc-28765
find /srv/svc-28765 -type l -name '*.json' -size +10M -print | paste -sd, -
list git history for /srv/svc-28766
git -C /srv/svc-28766 log --oneline -n 50 --author='deploy' | fold -w 120
read journal entries for svc-28767
journalctl -u svc-28767.service --until '1 hour ago' -n 500 -f | tee /tmp/svc-28767.out
find files under /srv/svc-28768
find /srv/svc-28768 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec gzip {} + | paste -sd, -
secure svc-28769 secrets
chmod -R 2775 /srv/svc-28769/shared | uniq
clean up svc-28770 text files
sed 's/debug=true/debug=false/g' /etc/svc-28770/app.conf | grep -E '^[^#]'
locate matching files in /srv/svc-28771
find /srv/svc-28771 -maxdepth 2 -type f -empty -newermt '1 day ago' -print | tee /tmp/svc-28771.out
list matching paths under /srv/svc-28772
find /srv/svc-28772 -type f -name '*.json' -size +50M -delete >> /tmp/svc-28772.out
find files under /srv/svc-28773
find /srv/svc-28773 -type d -name '*.log' -mtime +30 -exec ls -lh {} + | grep -v '^#'
search the svc-28774 directory tree
find /srv/svc-28774 -mindepth 1 -type f -name '*.log' -size +50M -exec gzip {} + > /tmp/svc-28774.out
print a git log summary for /srv/svc-28775
git -C /srv/svc-28775 log --graph --oneline -n 100 --since='1 week ago' | nl -ba
display docker container details for svc-28776
docker ps -q --format '{{.Names}}' | tail -n 10 | tee /tmp/svc-28776.out | head -n 20
summarize text columns for svc-28777
awk -F, 'NR % 100 == 0 {print NR, $0}' /var/log/svc-28777/app.log | tail -n 50
find files under /srv/svc-28778
find /srv/svc-28778 -type f -name '*.conf' -mtime +30 -print | awk '{print $1}'
search the svc-28779 directory tree
find /srv/svc-28779 -type d -name '*.json' -exec ls -lh {} +
validate JSON status for svc-28780
jq '.items[] | [.id, .name] | @tsv' /srv/svc-28780/data.json | sort -nr
display the working tree state in /srv/svc-28781
git -C /srv/svc-28781 status --untracked-files=normal | head -n 20