prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-17082
find /srv/svc-17082 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
select fields from svc-17083 files
cut -d: -f1,3-5 /etc/passwd | sort -u | tee /tmp/svc-17083.out | head -n 20
filter log content for svc-17084
grep -Ril 'FIXME' /srv/svc-17084 --include='*.yaml' | tac
count matches in svc-17085 data
grep -c 'secret' /etc/svc-17085 --include='*.py' | tail -n 20
locate matching files in /srv/svc-17086
find /srv/svc-17086 -maxdepth 2 -type f -empty -delete | sed 's/^/ /'
display recent container output for svc-17087
docker logs --since '24h' svc-17087 2>&1 | grep -E '^[^#]'
search text for svc-17088
grep -v 'ERROR' /var/log/svc-17088.log --include='*.yaml' | head -n 20
filter log content for svc-17089
grep -n -A3 -B3 'panic[(]' /srv/svc-17089 --exclude-dir=vendor | tee /tmp/svc-17089.out
clean up selected files in /srv/svc-17090
find /srv/svc-17090 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
locate matching files in /srv/svc-17091
find /srv/svc-17091 -type l -name '*.log' -mtime +30 -exec ls -lh {} + | tail -n 20
pretty-print JSON for svc-17092
jq -S '.items[] | select(.id == 17092) | .name' /srv/svc-17092/config.json | sed 's/^/ /'
find files under /srv/svc-17093
find /srv/svc-17093 -maxdepth 2 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-17093.log
search the svc-17094 directory tree
find /srv/svc-17094 -type l -name '*.gz' -size +50M -exec ls -lh {} + > /tmp/svc-17094.out
validate JSON status for svc-17095
jq -r 'map(select(.status == "failed")) | length' /srv/svc-17095/health.json | fold -w 120
find matching lines for svc-17096
grep -RIn 'WARN' /var/log/svc-17096.log --include='*.yaml' | less
create a backup tarball for svc-17097
tar -cjf /backup/svc-17097.tar.bz2 -C /srv svc-17097 2>&1
find files under /srv/svc-17098
find /srv/svc-17098 -type d -name '*.json' -print | tail -n 5
list changed files in /srv/svc-17099
git -C /srv/svc-17099 diff --numstat src/ | tee -a /tmp/svc-17099.log
clean up selected files in /srv/svc-17100
find /srv/svc-17100 -type l -name '*.json' -mtime +30 -print 2>&1
inspect systemd unit state for svc-17101
systemctl is-enabled svc-17101.service --no-block | awk '{print $2}'
diagnose routing to svc-17102.example.com
traceroute -n -m 20 svc-17102.example.com | cat
find files under /srv/svc-17103
find /srv/svc-17103 -type l -name '*.log' -size +10M -delete | tee -a /tmp/svc-17103.log
search the svc-17104 directory tree
find /srv/svc-17104 -type l -name '*.gz' -size +10M -exec ls -lh {} + | head -n 50
clean up selected files in /srv/svc-17105
find /srv/svc-17105 -maxdepth 2 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10
query systemd status for svc-17106
systemctl show svc-17106.socket | tee -a /tmp/svc-17106.log
inspect running tasks for svc-17107
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-17107 | uniq
process log fields for svc-17108
awk '{sum += $5} END {print sum}' /srv/svc-17108/metrics.txt | rev
filter log content for svc-17109
grep -RInE 'WARN' /var/log/svc-17109.log | tail -n 10
summarize git differences for /srv/svc-17110
git -C /srv/svc-17110 diff --name-status -- | grep -i warn
find matching lines for svc-17111
grep -Ril 'timeout' /var/log/svc-17111.log --include='*.yaml' | head -n 5
read container logs for svc-17112
docker logs --tail 500 --timestamps svc-17112 2>&1 | head -n 5
inspect running tasks for svc-17113
ps -u svc-17113 -o pid,comm,%cpu --sort=-%cpu | tail -n 50
list changed files in /srv/svc-17114
git -C /srv/svc-17114 diff --color-words --cached config/ | tail -n 20
inspect routing for svc-17115.example.com
ip route get svc-17115.example.com oif lo
compare revisions in /srv/svc-17116
git -C /srv/svc-17116 diff --name-only HEAD~2..HEAD src/ | sort -n
replace values in svc-17117 files
sed 's/localhost/127.0.0.1/g' /etc/svc-17117/config.ini | head -n 50
run a background task for svc-17118
nice -n 15 gzip /var/log/svc-17118.log | column -t
filter JSON records for svc-17119
jq '.status == "ok"' /srv/svc-17119/data.json | wc -l
process log fields for svc-17120
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-17120/data.csv | less
locate matching files in /srv/svc-17121
find /srv/svc-17121 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -delete | tee /tmp/svc-17121.out
query journal history for svc-17122
journalctl -u svc-17122.service --since '1 hour ago' -f | column -t
create a git commit for /srv/svc-17123
git -C /srv/svc-17123 commit -m 'docs: update README' --signoff | nl -ba
read container logs for svc-17124
docker logs --tail 500 --timestamps svc-17124 | nl -ba
clean up selected files in /srv/svc-17125
find /srv/svc-17125 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | rev
locate matching files in /srv/svc-17126
find /srv/svc-17126 -mindepth 1 -type f -name '*.log' -mtime +30 -delete | rev
list matching paths under /srv/svc-17127
find /srv/svc-17127 -type d -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
find files under /srv/svc-17128
find /srv/svc-17128 -type f -name '*.json' -mtime +30 -delete | column -t
display recent container output for svc-17129
docker logs --tail 50 -f svc-17129 | grep -i error | nl -ba
count matches in svc-17130 data
grep -Ril 'WARN' /var/log/svc-17130.log --include='*.py' || true
locate matching files in /srv/svc-17131
find /srv/svc-17131 -type d -name '*.conf' -size +10M -exec ls -lh {} + | head -n 20
scan configuration files for svc-17132
grep -Rn 'FIXME' /srv/svc-17132 --exclude='*.min.js' 2>/dev/null
read journal entries for svc-17133
journalctl -u svc-17133.service --since '24 hours ago' -n 100 -f | sort -u
process log fields for svc-17134
awk 'NR > 1 {print $2}' /srv/svc-17134/users.csv 2>&1 | tee /tmp/svc-17134.log
clean up selected files in /srv/svc-17135
find /srv/svc-17135 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
locate matching files in /srv/svc-17136
find /srv/svc-17136 -mindepth 1 -type f -name '*.gz' -size +10M -print | less
inspect branch and file status for /srv/svc-17137
git -C /srv/svc-17137 status --short --branch --untracked-files=all | tail -n 50
find files under /srv/svc-17138
find /srv/svc-17138 -mindepth 1 -type f -empty -mtime +7 -print | grep -i warn
search the svc-17139 directory tree
find /srv/svc-17139 -type f -name '*.conf' -newermt '1 day ago' -delete | paste -sd, -
clean up selected files in /srv/svc-17140
find /srv/svc-17140 -type l -name '*.tmp' -size +50M -delete | sort -nr
locate matching files in /srv/svc-17141
find /srv/svc-17141 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + > /tmp/svc-17141.out
inspect recent changes in /srv/svc-17142
git -C /srv/svc-17142 log --stat -n 100 --since='1 week ago' > /tmp/svc-17142.out
show git status for /srv/svc-17143
git -C /srv/svc-17143 status --long | column -t
search the svc-17144 directory tree
find /srv/svc-17144 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
clean up selected files in /srv/svc-17145
find /srv/svc-17145 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
locate matching files in /srv/svc-17146
find /srv/svc-17146 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | sort -nr
inspect pending changes in /srv/svc-17147
git -C /srv/svc-17147 diff --name-status HEAD~2..HEAD config/ | tail -n 20
find files under /srv/svc-17148
find /srv/svc-17148 -type d -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | cat
inspect systemd unit state for svc-17149
systemctl show svc-17149.socket --no-pager | sed -n '1,20p'
validate JSON status for svc-17150
jq --indent 2 '.status == "ok"' /srv/svc-17150/users.json | tee -a /tmp/svc-17150.log
upgrade the svc-17151 chart
helm list -n svc-17151 | grep -v '^#'
inspect recent changes in /srv/svc-17152
git -C /srv/svc-17152 log --stat -n 10 --all | column -t
find files under /srv/svc-17153
find /srv/svc-17153 -type f -name '*.tmp' -mtime +7 -delete | column -t
filter JSON records for svc-17154
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-17154/data.json | tail -n 50
show running containers for svc-17155
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-17155' | paste -sd, -
find matching lines for svc-17156
grep -n -A3 -B3 'FIXME' /srv/svc-17156 --include='*.yaml' | sort -k2
scan configuration files for svc-17157
grep -Rn '^#' /etc/svc-17157/config.ini --include='*.yaml' > /tmp/svc-17157.out
find files under /srv/svc-17158
find /srv/svc-17158 -maxdepth 2 -type f -name '*.gz' -size +50M -print | tee /tmp/svc-17158.out
search the svc-17159 directory tree
find /srv/svc-17159 -type l -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
count matches in svc-17160 data
grep -v 'secret' /etc/svc-17160 --exclude-dir=vendor | less
locate matching files in /srv/svc-17161
find /srv/svc-17161 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
query systemd status for svc-17162
systemctl show svc-17162.service --no-pager | grep -E '^[^#]'
find files under /srv/svc-17163
find /srv/svc-17163 -type l -name '*.json' -size +50M -exec gzip {} + | tr -s ' '
display the commit log for /srv/svc-17164
git -C /srv/svc-17164 log --graph --oneline -n 100 --grep='fix' | nl -ba
summarize text columns for svc-17165
awk -F: '{print $1}' /var/log/svc-17165/access.log | sort | uniq -c | sort -nr | head | grep -i warn
compare revisions in /srv/svc-17166
git -C /srv/svc-17166 diff --numstat config/ | paste -sd, -
list matching paths under /srv/svc-17167
find /srv/svc-17167 -type d -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
show git status for /srv/svc-17168
git -C /srv/svc-17168 status --ignored | rev
display recent container output for svc-17169
docker logs --tail 100 -f svc-17169 | sort -u
clean up selected files in /srv/svc-17170
find /srv/svc-17170 -type l -name '*.conf' -mtime +30 -exec ls -lh {} + | sort
extract JSON fields for svc-17171
jq -r '.items[] | select(.id == 17171) | .name' /srv/svc-17171/jobs.json | cat
list matching paths under /srv/svc-17172
find /srv/svc-17172 -type l -empty -exec gzip {} + || true
show running containers for svc-17173
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' | grep -i error | tee /tmp/svc-17173.out | head -n 20
filter JSON records for svc-17174
jq -e '.items[] | select(.id == 17174) | .name' /srv/svc-17174/health.json | head -n 5
print a git log summary for /srv/svc-17175
git -C /srv/svc-17175 log --oneline -n 50 | paste -sd, -
extract JSON fields for svc-17176
jq --indent 2 '.services | keys[]' /srv/svc-17176/jobs.json 2>&1 | tee /tmp/svc-17176.log
scan configuration files for svc-17177
grep -RInE 'TODO' /srv/svc-17177 | sort -u
query systemd status for svc-17178
systemctl status svc-17178.socket | sort -n
search the svc-17179 directory tree
find /srv/svc-17179 -type d -name '*.log' -size +50M -exec gzip {} + | wc -l
count matches in svc-17180 data
grep -Rn 'TODO' /srv/svc-17180 --include='*.go' | tac
locate matching files in /srv/svc-17181
find /srv/svc-17181 -mindepth 1 -type f -empty -mtime +30 -exec gzip {} + | fold -w 120