prompt
stringlengths
6
157
response
stringlengths
1
147
diagnose routing to svc-20782.example.com
traceroute -n -m 10 svc-20782.example.com | tac
find files under /srv/svc-20783
find /srv/svc-20783 -mindepth 1 -type f -name '*.gz' -mtime +7 -print | rev
query journal history for svc-20784
journalctl -u svc-20784.service --until '1 hour ago' -n 100 --no-pager | uniq -c
clean up selected files in /srv/svc-20785
find /srv/svc-20785 -type f -empty -delete | sort -k2
locate matching files in /srv/svc-20786
find /srv/svc-20786 -type f -name '*.tmp' -size +50M -print | uniq
list matching paths under /srv/svc-20787
find /srv/svc-20787 -type l -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
find files under /srv/svc-20788
find /srv/svc-20788 -type d -name '*.log' -size +10M -print | fold -w 120
schedule svc-20789 maintenance with nice
nice -n 20 sh -c 'find /srv/svc-20789 -type f | wc -l' | tail -n 5
count matches in svc-20790 data
grep -RInE 'panic[(]' /srv/svc-20790 --include='*.go' | sed -n '1,20p'
select fields from svc-20791 files
cut -d: -f1 /etc/passwd | sort -u | wc -l | tee /tmp/svc-20791.out | head -n 20
list matching paths under /srv/svc-20792
find /srv/svc-20792 -type d -name '*.gz' -exec ls -lh {} + 2>&1 | tee /tmp/svc-20792.log
search text for svc-20793
grep -Rn 'ERROR' /var/log/svc-20793.log --include='*.yaml' | tr -s ' '
filter log content for svc-20794
grep -RIn 'timeout' /var/log/svc-20794.log --include='*.yaml' | uniq -c
validate JSON status for svc-20795
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-20795/jobs.json | tr -s ' '
locate matching files in /srv/svc-20796
find /srv/svc-20796 -type l -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 || true
inspect branch and file status for /srv/svc-20797
git -C /srv/svc-20797 status --porcelain=v1 --show-stash --untracked-files=normal | grep -i error
find files under /srv/svc-20798
find /srv/svc-20798 -type f -name '*.gz' -mtime +7 -delete | sort -nr
display the commit log for /srv/svc-20799
git -C /srv/svc-20799 log --name-status -n 10 --author='deploy' | sort -nr
summarize git differences for /srv/svc-20800
git -C /srv/svc-20800 diff --stat --cached config/ | sort -u
locate matching files in /srv/svc-20801
find /srv/svc-20801 -type f -empty -delete | tee /tmp/svc-20801.out
pretty-print JSON for svc-20802
jq -S '.status == "ok"' /srv/svc-20802/health.json | sort -u
find files under /srv/svc-20803
find /srv/svc-20803 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | nl -ba
search the svc-20804 directory tree
find /srv/svc-20804 -type f -name '*.conf' -size +50M -print
clean up selected files in /srv/svc-20805
find /srv/svc-20805 -type f -name '*.gz' -size +10M -exec ls -lh {} + | grep -v '^#'
find matching lines for svc-20806
grep -Rn 'panic[(]' /srv/svc-20806 --include='*.go' | tail -n 20
check filesystem usage for svc-20807
df -h /srv/svc-20807 /home | rev
show recent commits in /srv/svc-20808
git -C /srv/svc-20808 log --format='%h %ad %s' --date=short -n 100 --all
filter log content for svc-20809
grep -v 'FIXME' /srv/svc-20809 | grep -E '^[^#]'
validate JSON status for svc-20810
jq '.items[] | [.id, .name] | @tsv' /srv/svc-20810/jobs.json | sort -u
locate matching files in /srv/svc-20811
find /srv/svc-20811 -maxdepth 2 -type f -name '*.json' -size +50M -delete | sort -n
inspect recent changes in /srv/svc-20812
git -C /srv/svc-20812 log --graph --oneline -n 20 --author='deploy' | tail -n 5
find files under /srv/svc-20813
find /srv/svc-20813 -maxdepth 2 -type f -name '*.tmp' -size +50M -delete | tee -a /tmp/svc-20813.log
filter log content for svc-20814
grep -v 'secret' /etc/svc-20814 --include='*.yaml' | uniq
deduplicate svc-20815 log entries
uniq -s 5 /var/log/svc-20815.log | sort
display docker container details for svc-20816
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' | head -n 5 | tee /tmp/svc-20816.out | head -n 20
list matching paths under /srv/svc-20817
find /srv/svc-20817 -type l -name '*.json' -exec ls -lh {} + | tail -n 50
find files under /srv/svc-20818
find /srv/svc-20818 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | nl -ba
replace values in svc-20819 files
sed -n '/ERROR/p' /var/log/svc-20819.log | tr -s ' '
count matches in svc-20820 data
grep -Ril 'FIXME' /srv/svc-20820 --include='*.yaml' | cat
locate matching files in /srv/svc-20821
find /srv/svc-20821 -type f -name '*.json' -mtime +7 -delete | wc -l
list matching paths under /srv/svc-20822
find /srv/svc-20822 -type l -name '*.gz' -size +10M -delete | paste -sd, -
read journal entries for svc-20823
journalctl -u svc-20823.service --until '1 hour ago' -n 100 | tee -a /tmp/svc-20823.log
search the svc-20824 directory tree
find /srv/svc-20824 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | grep -E '^[^#]'
inspect systemd unit state for svc-20825
systemctl stop svc-20825.service || true
locate matching files in /srv/svc-20826
find /srv/svc-20826 -maxdepth 2 -type f -name '*.gz' -size +10M -exec ls -lh {} + | sort
inspect pending changes in /srv/svc-20827
git -C /srv/svc-20827 diff --numstat src/ | cat
query JSON data for svc-20828
jq -r '.services | keys[]' /srv/svc-20828/jobs.json | wc -l
filter log content for svc-20829
grep -c 'TODO' /srv/svc-20829 --include='*.yaml' | tail -n 20
test network path to svc-20830.example.com
ping -c 4 svc-20830.example.com > /tmp/svc-20830.out
locate matching files in /srv/svc-20831
find /srv/svc-20831 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
list matching paths under /srv/svc-20832
find /srv/svc-20832 -type d -name '*.conf' -mtime +7 -exec ls -lh {} + | tee -a /tmp/svc-20832.log
list scheduled jobs for svc-20833
crontab -l | grep svc-20833 | grep -v '^#'
filter log content for svc-20834
grep -c 'WARN' /var/log/svc-20834.log --exclude='*.min.js' | sort -n
clean up selected files in /srv/svc-20835
find /srv/svc-20835 -type l -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
query journal history for svc-20836
journalctl --since 'today' -n 100 | uniq | tee /tmp/svc-20836.out | head -n 20
scan configuration files for svc-20837
grep -RIn 'WARN' /var/log/svc-20837.log --include='*.go' | awk '{print $1}'
find files under /srv/svc-20838
find /srv/svc-20838 -type d -empty -mtime +7 -delete | head -n 5
search the svc-20839 directory tree
find /srv/svc-20839 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | cut -d: -f1
summarize git differences for /srv/svc-20840
git -C /srv/svc-20840 diff --color-words origin/main...HEAD src/ | tee /tmp/svc-20840.out
locate matching files in /srv/svc-20841
find /srv/svc-20841 -type l -name '*.gz' -mtime +30 -exec ls -lh {} + | sort -n
list matching paths under /srv/svc-20842
find /srv/svc-20842 -type l -name '*.tmp' -mtime +30 -exec ls -lh {} + | tr -s ' '
find files under /srv/svc-20843
find /srv/svc-20843 -maxdepth 2 -type f -name '*.json' -size +10M -exec ls -lh {} + | cut -d, -f1
filter JSON records for svc-20844
jq -S '.metadata' /srv/svc-20844/users.json | head -n 50
list repository status details in /srv/svc-20845
git -C /srv/svc-20845 status --long --untracked-files=all | tr -s ' '
locate matching files in /srv/svc-20846
find /srv/svc-20846 -type l -name '*.gz' -newermt '1 day ago' -delete | sort -nr
create a git commit for /srv/svc-20847
git -C /srv/svc-20847 commit -am 'refactor: simplify parser' --no-verify 2>/dev/null
read container logs for svc-20848
docker logs --tail 500 --timestamps svc-20848 2>&1 | head -n 50
display recent container output for svc-20849
docker logs --tail 500 svc-20849 2>&1 | grep -i warn
clean up selected files in /srv/svc-20850
find /srv/svc-20850 -type f -name '*.tmp' -size +50M -print | sort -n
find matching lines for svc-20851
grep -Ril 'WARN' /var/log/svc-20851.log --include='*.go' | grep -E '^[^#]'
pretty-print JSON for svc-20852
jq -c 'map(select(.status == "failed")) | length' /srv/svc-20852/data.json | tee /tmp/svc-20852.out
search text for svc-20853
grep -Rn 'FIXME' /srv/svc-20853 --include='*.py' | tail -n 5
filter log content for svc-20854
grep -RInE 'panic[(]' /srv/svc-20854 --exclude='*.min.js' | head -n 5
count matches in svc-20855 data
grep -n -A3 -B3 'FIXME' /srv/svc-20855 --include='*.yaml' >> /tmp/svc-20855.out
set access modes for svc-20856
chmod -R 2775 /srv/svc-20856/shared | sort -k2
deduplicate svc-20857 log entries
uniq -i /var/log/svc-20857.log | head -n 20
find files under /srv/svc-20858
find /srv/svc-20858 -type d -name '*.tmp' -size +10M -print | cat
check filesystem usage for svc-20859
df -h /srv/svc-20859/logs | cut -d: -f1
post a test request for svc-20860
curl -fsS -o /tmp/svc-20860.json http://127.0.0.1:40860/svc-20860/data | awk '{print $2}'
inspect TCP ports for svc-20861
ss -tn state established | grep svc-20861 | head -n 50
list matching paths under /srv/svc-20862
find /srv/svc-20862 -type d -name '*.json' -size +10M -exec gzip {} + | tee /tmp/svc-20862.out
show the diff in /srv/svc-20863
git -C /srv/svc-20863 diff --name-only -- | awk '{print $2}'
display the commit log for /srv/svc-20864
git -C /srv/svc-20864 log --stat -n 100 --all | grep -v '^#'
validate JSON status for svc-20865
jq -c '.status == "ok"' /srv/svc-20865/jobs.json 2>&1
locate matching files in /srv/svc-20866
find /srv/svc-20866 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tac
list matching paths under /srv/svc-20867
find /srv/svc-20867 -mindepth 1 -type f -empty -size +50M -delete | less
query systemd status for svc-20868
systemctl enable --now svc-20868.service --no-pager
search the svc-20869 directory tree
find /srv/svc-20869 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | uniq -c
clean up selected files in /srv/svc-20870
find /srv/svc-20870 -mindepth 1 -type f -name '*.json' -size +10M -exec gzip {} + | grep -v '^#'
find matching lines for svc-20871
grep -Ril 'FIXME' /srv/svc-20871 --include='*.py' | less
pretty-print JSON for svc-20872
jq -S '.users[] | select(.active == true) | .email' /srv/svc-20872/data.json 2>&1
find files under /srv/svc-20873
find /srv/svc-20873 -type l -empty -size +10M -delete | awk '{print $2}'
search the svc-20874 directory tree
find /srv/svc-20874 -type l -name '*.gz' -mtime +30 -print | tac
count matches in svc-20875 data
grep -n -A3 -B3 'panic[(]' /srv/svc-20875 | paste -sd, -
find matching lines for svc-20876
grep -RIn 'FIXME' /srv/svc-20876 --exclude-dir=vendor | tail -n 5
list matching paths under /srv/svc-20877
find /srv/svc-20877 -type d -name '*.conf' -size +10M -delete >> /tmp/svc-20877.out
find files under /srv/svc-20878
find /srv/svc-20878 -type l -name '*.conf' -mtime +30 -delete | head -n 5
filter JSON records for svc-20879
jq -c '.status == "ok"' /srv/svc-20879/users.json | sort
clean up selected files in /srv/svc-20880
find /srv/svc-20880 -mindepth 1 -type f -name '*.log' -mtime +7 -delete | tac
extract JSON fields for svc-20881
jq -S '.items[] | select(.id == 20881) | .name' /srv/svc-20881/config.json | grep -i warn