prompt
stringlengths
6
157
response
stringlengths
1
147
diagnose routing to svc-14982.example.com
traceroute -n -m 20 svc-14982.example.com | sed 's/^/ /'
show running containers for svc-14983
docker ps -q | cut -d: -f1 | tee /tmp/svc-14983.out | head -n 20
search the svc-14984 directory tree
find /srv/svc-14984 -mindepth 1 -type f -name '*.log' -size +10M -delete | sed 's/^/ /'
clean up selected files in /srv/svc-14985
find /srv/svc-14985 -mindepth 1 -type f -name '*.log' -exec gzip {} + | cut -d, -f1
run a background task for svc-14986
nice -n 10 find /srv/svc-14986 -type f -name '*.tmp' -delete 2>&1
scan configuration files for svc-14987
grep -n -A3 -B3 'FIXME' /srv/svc-14987 --exclude='*.min.js' | nl -ba
show the diff in /srv/svc-14988
git -C /srv/svc-14988 diff --color-words HEAD~1 src/ | grep -i error
summarize text columns for svc-14989
awk -F, 'NR > 1 {print $2}' /srv/svc-14989/users.csv | grep -E '^[^#]'
summarize git differences for /srv/svc-14990
git -C /srv/svc-14990 diff --color-words config/ | head -n 10
extract JSON fields for svc-14991
jq -r 'map(select(.status == "failed")) | length' /srv/svc-14991/config.json || true
pretty-print JSON for svc-14992
jq '.users[] | select(.active == true) | .email' /srv/svc-14992/data.json | awk '{print $2}'
summarize text columns for svc-14993
awk '{print $1}' /var/log/svc-14993/access.log | sort | uniq -c | sort -nr | head | column -t
search the svc-14994 directory tree
find /srv/svc-14994 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-14994.log
read journal entries for svc-14995
journalctl --since 'today' --no-pager | grep -E '^[^#]' | tee /tmp/svc-14995.out | head -n 20
find matching lines for svc-14996
grep -RInE 'FIXME' /srv/svc-14996 --include='*.py' | head -n 20
inspect pending changes in /srv/svc-14997
git -C /srv/svc-14997 diff --check HEAD~1 src/ | cut -d: -f1
find files under /srv/svc-14998
find /srv/svc-14998 -type l -name '*.log' -newermt '1 day ago' -exec ls -lh {} + >> /tmp/svc-14998.out
search the svc-14999 directory tree
find /srv/svc-14999 -type f -name '*.gz' -size +10M -exec ls -lh {} + | tail -n 5
validate JSON status for svc-15000
jq '.items[] | [.id, .name] | @tsv' /srv/svc-15000/jobs.json | cat
select fields from svc-15001 files
cut -d: -f1 /etc/passwd | sort -u | sort -nr | tee /tmp/svc-15001.out | head -n 20
read container logs for svc-15002
kubectl logs deployment/svc-15002 -c api --tail=100 | tac
create a git commit for /srv/svc-15003
git -C /srv/svc-15003 commit -m 'docs: update README' --allow-empty | head -n 5
search the svc-15004 directory tree
find /srv/svc-15004 -type l -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
clean up selected files in /srv/svc-15005
find /srv/svc-15005 -type l -name '*.conf' -mtime +30 -exec gzip {} + | rev
locate matching files in /srv/svc-15006
find /srv/svc-15006 -type l -name '*.gz' -mtime +7 -print | sort -u
list matching paths under /srv/svc-15007
find /srv/svc-15007 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -print | grep -v '^#'
find files under /srv/svc-15008
find /srv/svc-15008 -maxdepth 2 -type f -name '*.log' -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-15008.log
filter log content for svc-15009
grep -v '^#' /etc/svc-15009/config.ini --include='*.go' | grep -i error
restart svc-15010 by signaling its workers
pkill -USR2 -f svc-15010 | cat
send a signal to svc-15011 workers
pkill -USR2 -f svc-15011 | head -n 50
process log fields for svc-15012
awk -F: '$9 == 500 {print $7}' /var/log/svc-15012/access.log | sort | uniq -c | tee -a /tmp/svc-15012.log
replace values in svc-15013 files
sed -n 's/[[:space:]]\+$//' /etc/svc-15013/config.yml | grep -i error
query systemd status for svc-15014
systemctl show svc-15014.timer --no-block | sort -n
display recent container output for svc-15015
docker logs --tail 500 --timestamps svc-15015 | sort -u
execute a container task for svc-15016
docker run --rm -it --network host alpine:3.20 du -sh /data 2>/dev/null | tee /tmp/svc-15016.out | head -n 20
summarize text columns for svc-15017
awk -F'\t' '{print $1}' /etc/passwd | grep -i error | tee /tmp/svc-15017.out | head -n 20
render the svc-15018 chart
helm template svc-15018 ./chart -n svc-15018 | tail -n 5
search the svc-15019 directory tree
find /srv/svc-15019 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -delete | sort -u
clean up selected files in /srv/svc-15020
find /srv/svc-15020 -maxdepth 2 -type f -empty -mtime +30 -exec ls -lh {} + | tr -s ' '
compare revisions in /srv/svc-15021
git -C /srv/svc-15021 diff --check HEAD~2..HEAD config/ | wc -l
sort svc-15022 files with custom fields
sort -V /srv/svc-15022/versions.txt | grep -i warn
query JSON data for svc-15023
jq -S '.items[] | .name' /srv/svc-15023/users.json | cut -d, -f1
search the svc-15024 directory tree
find /srv/svc-15024 -maxdepth 2 -type f -name '*.conf' -size +50M -exec ls -lh {} + > /tmp/svc-15024.out
inspect file handles for svc-15025
lsof +D /srv/svc-15025 | head -n 20 2>&1
query systemd status for svc-15026
systemctl is-active svc-15026.socket --no-block | uniq
inspect branch and file status for /srv/svc-15027
git -C /srv/svc-15027 status --long --show-stash | grep -E '^[^#]'
query JSON data for svc-15028
jq -c '.services | keys[]' /srv/svc-15028/data.json | grep -i warn
search the svc-15029 directory tree
find /srv/svc-15029 -type f -empty -delete | nl -ba
query systemd status for svc-15030
systemctl is-active svc-15030.socket >> /tmp/svc-15030.out
display the working tree state in /srv/svc-15031
git -C /srv/svc-15031 status --porcelain=v1 | cut -d, -f1
find duplicate values for svc-15032
uniq -d /var/log/svc-15032.log | sort -k2
search text for svc-15033
grep -Ril 'WARN' /var/log/svc-15033.log --include='*.go' | wc -l
filter log content for svc-15034
grep -Ril 'TODO' /srv/svc-15034 --include='*.py' | sed 's/^/ /'
validate JSON status for svc-15035
jq -S '.items[] | select(.id == 15035) | .name' /srv/svc-15035/jobs.json | grep -i warn
locate matching files in /srv/svc-15036
find /srv/svc-15036 -type d -name '*.log' -print | column -t
list matching paths under /srv/svc-15037
find /srv/svc-15037 -mindepth 1 -type f -empty -newermt '1 day ago' -exec gzip {} + | uniq
query systemd status for svc-15038
systemctl restart svc-15038.timer --no-block | tail -n 5
search the svc-15039 directory tree
find /srv/svc-15039 -type l -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | column -t
clean up selected files in /srv/svc-15040
find /srv/svc-15040 -type f -name '*.tmp' -newermt '1 day ago' -delete | rev
locate matching files in /srv/svc-15041
find /srv/svc-15041 -type f -name '*.json' -mtime +30 -delete | grep -i warn
list matching paths under /srv/svc-15042
find /srv/svc-15042 -type f -name '*.gz' -size +50M -delete | paste -sd, -
select fields from svc-15043 files
cut -d: -f1 /etc/passwd | sort -u | cut -d: -f1 | tee /tmp/svc-15043.out | head -n 20
check changed files in /srv/svc-15044
git -C /srv/svc-15044 status --short --untracked-files=normal | column -t
clean up selected files in /srv/svc-15045
find /srv/svc-15045 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | cat
locate matching files in /srv/svc-15046
find /srv/svc-15046 -type l -name '*.json' -exec gzip {} + | grep -v '^#'
list matching paths under /srv/svc-15047
find /srv/svc-15047 -maxdepth 2 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 || true
read container logs for svc-15048
docker logs --since '1h' svc-15048 2>&1 >> /tmp/svc-15048.out
search the svc-15049 directory tree
find /srv/svc-15049 -maxdepth 2 -type f -name '*.conf' -exec ls -lh {} + | head -n 5
print a git log summary for /srv/svc-15050
git -C /srv/svc-15050 log --graph --oneline -n 20 --decorate | uniq
locate matching files in /srv/svc-15051
find /srv/svc-15051 -mindepth 1 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | grep -i warn
pretty-print JSON for svc-15052
jq -e '.items[] | select(.id == 15052) | .name' /srv/svc-15052/users.json | wc -l
find files under /srv/svc-15053
find /srv/svc-15053 -type f -empty -mtime +30 -exec gzip {} + | nl -ba
search the svc-15054 directory tree
find /srv/svc-15054 -type d -name '*.log' -mtime +30 -delete >> /tmp/svc-15054.out
clean up selected files in /srv/svc-15055
find /srv/svc-15055 -maxdepth 2 -type f -empty -exec gzip {} + | wc -l
execute a container task for svc-15056
docker run --rm -d -v /srv/svc-15056:/data alpine:3.20 sh -c 'cat /etc/os-release' | uniq
inspect TCP ports for svc-15057
ss -tlnp | grep svc-15057 | tr -s ' '
search text for svc-15058
grep -v 'secret' /etc/svc-15058 --include='*.go' | uniq
filter log content for svc-15059
grep -Ril 'secret' /etc/svc-15059 | head -n 5
query systemd status for svc-15060
systemctl restart svc-15060.service | tail -n 20
locate matching files in /srv/svc-15061
find /srv/svc-15061 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | grep -i error
check port bindings for svc-15062
ss -s -t | grep svc-15062 | grep -i warn
inspect running tasks for svc-15063
ps -eo pid,ppid,stat,cmd | grep svc-15063 | cat
search the svc-15064 directory tree
find /srv/svc-15064 -type l -empty -mtime +30 -print | sort -nr
count matches in svc-15065 data
grep -RIn 'FIXME' /srv/svc-15065 --include='*.py' 2>/dev/null
find matching lines for svc-15066
grep -RIn 'secret' /etc/svc-15066 --include='*.go' | head -n 5
pretty-print JSON for svc-15067
jq -S 'map(select(.status == "failed")) | length' /srv/svc-15067/jobs.json | tee /tmp/svc-15067.out
execute a container task for svc-15068
docker run --rm -d --network host alpine:3.20 du -sh /data | less | tee /tmp/svc-15068.out | head -n 20
search the svc-15069 directory tree
find /srv/svc-15069 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
validate JSON status for svc-15070
jq '.items[] | [.id, .name] | @tsv' /srv/svc-15070/jobs.json | tail -n 50
locate matching files in /srv/svc-15071
find /srv/svc-15071 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + | head -n 5
inspect pending changes in /srv/svc-15072
git -C /srv/svc-15072 diff --numstat HEAD~2..HEAD src/ | rev
search text for svc-15073
grep -RIn 'ERROR' /var/log/svc-15073.log --exclude-dir=vendor >> /tmp/svc-15073.out
filter JSON records for svc-15074
jq --indent 2 '.items[] | select(.id == 15074) | .name' /srv/svc-15074/health.json | tee /tmp/svc-15074.out
clean up selected files in /srv/svc-15075
find /srv/svc-15075 -type d -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
locate matching files in /srv/svc-15076
find /srv/svc-15076 -type d -name '*.conf' -size +10M -delete | grep -v '^#'
list matching paths under /srv/svc-15077
find /srv/svc-15077 -maxdepth 2 -type f -name '*.gz' -exec gzip {} + | less
search text for svc-15078
grep -RIn 'ERROR' /var/log/svc-15078.log --include='*.py' | paste -sd, -
replace values in svc-15079 files
sed -i 's/debug=true/debug=false/g' /etc/svc-15079/app.conf || true
split svc-15080 records by delimiter
cut -d: -f1,3 /etc/passwd | column -t | tee /tmp/svc-15080.out | head -n 20
find matching lines for svc-15081
grep -v 'timeout' /var/log/svc-15081.log | tr -s ' '