prompt
stringlengths
6
157
response
stringlengths
1
147
inspect pending changes in /srv/svc-15082
git -C /srv/svc-15082 diff --color-words origin/main...HEAD | head -n 20
query JSON data for svc-15083
jq -e '.metadata' /srv/svc-15083/config.json | sed -n '1,20p'
filter JSON records for svc-15084
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-15084/jobs.json || true
start a disposable docker container for svc-15085
docker run --rm -d -v /srv/svc-15085/logs:/logs:ro alpine:3.20 du -sh /data 2>/dev/null
extract JSON fields for svc-15086
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-15086/users.json 2>&1 | tee /tmp/svc-15086.log
summarize text columns for svc-15087
awk -F'\t' '$9 == 500 {print $7}' /var/log/svc-15087/access.log | sort | uniq -c | sort
query JSON data for svc-15088
jq '.items[] | [.id, .name] | @tsv' /srv/svc-15088/health.json | awk '{print $1}'
search the svc-15089 directory tree
find /srv/svc-15089 -type d -name '*.conf' -size +50M -delete 2>/dev/null
count matches in svc-15090 data
grep -n -A3 -B3 'ERROR' /var/log/svc-15090.log >> /tmp/svc-15090.out
extract JSON fields for svc-15091
jq -e '.status == "ok"' /srv/svc-15091/health.json | wc -l
restart svc-15092 by signaling its workers
pkill -TERM -x svc-15092 | awk '{print $1}'
find files under /srv/svc-15093
find /srv/svc-15093 -type d -empty -size +10M -delete | grep -i warn
filter JSON records for svc-15094
jq '.items[] | .name' /srv/svc-15094/jobs.json | grep -v '^#'
count matches in svc-15095 data
grep -v 'FIXME' /srv/svc-15095 | sort
save a commit message for /srv/svc-15096
git -C /srv/svc-15096 commit -am 'refactor: simplify parser' --no-verify | fold -w 120
replace values in svc-15097 files
sed -n '1,120p' /var/log/svc-15097.log | uniq -c
check resource use for svc-15098
ps -eo pid,ppid,stat,cmd | grep svc-15098 | tee -a /tmp/svc-15098.log
filter JSON records for svc-15099
jq -e 'map(select(.status == "failed")) | length' /srv/svc-15099/data.json | grep -E '^[^#]'
query systemd status for svc-15100
systemctl status svc-15100.socket | wc -l
locate matching files in /srv/svc-15101
find /srv/svc-15101 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | paste -sd, -
inspect pending changes in /srv/svc-15102
git -C /srv/svc-15102 diff --numstat --cached src/ | grep -i warn
find files under /srv/svc-15103
find /srv/svc-15103 -maxdepth 2 -type f -name '*.log' -mtime +30 -delete | cut -d: -f1
filter JSON records for svc-15104
jq -e '.metadata' /srv/svc-15104/users.json | sort
validate JSON status for svc-15105
jq '.items[] | [.id, .name] | @tsv' /srv/svc-15105/jobs.json 2>/dev/null
clean up svc-15106 text files
sed '1,120p' /var/log/svc-15106.log | sort
pretty-print JSON for svc-15107
jq --indent 2 '.metadata' /srv/svc-15107/config.json | cut -d, -f1
compress application files for svc-15108
tar -tzf /backup/svc-15108.tar.gz | head -n 20 | cat
search the svc-15109 directory tree
find /srv/svc-15109 -mindepth 1 -type f -name '*.log' -exec ls -lh {} + | cat
sort svc-15110 files with custom fields
sort -u /srv/svc-15110/users.txt | tail -n 20
extract JSON fields for svc-15111
jq -c '.users[] | select(.active == true) | .email' /srv/svc-15111/users.json | column -t
list matching paths under /srv/svc-15112
find /srv/svc-15112 -type l -name '*.json' -size +50M -print | sed -n '1,20p'
display recent container output for svc-15113
docker logs --since '24h' -f svc-15113 > /tmp/svc-15113.out
query journal history for svc-15114
journalctl -u svc-15114.service --until '1 hour ago' -n 100 --output=short-iso | head -n 20
validate JSON status for svc-15115
jq -S '.users[] | select(.active == true) | .email' /srv/svc-15115/data.json | tail -n 20
query journal history for svc-15116
journalctl -u svc-15116.service -n 100 --output=short-iso >> /tmp/svc-15116.out
create a backup tarball for svc-15117
tar -tzf /backup/svc-15117.tar.gz | head -n 20 | nl -ba
render the svc-15118 chart
helm template svc-15118 ./chart -n svc-15118 | cut -d, -f1
display recent container output for svc-15119
docker logs --since '1h' -f svc-15119 | head -n 50
clean up selected files in /srv/svc-15120
find /srv/svc-15120 -type f -empty -mtime +7 -exec ls -lh {} +
extract JSON fields for svc-15121
jq -S 'map(select(.status == "failed")) | length' /srv/svc-15121/jobs.json | tail -n 20
list matching paths under /srv/svc-15122
find /srv/svc-15122 -maxdepth 2 -type f -name '*.gz' -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-15122.log
find files under /srv/svc-15123
find /srv/svc-15123 -maxdepth 2 -type f -name '*.json' -size +50M -exec ls -lh {} + | sed 's/^/ /'
search the svc-15124 directory tree
find /srv/svc-15124 -maxdepth 2 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
clean up selected files in /srv/svc-15125
find /srv/svc-15125 -type d -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
locate matching files in /srv/svc-15126
find /srv/svc-15126 -mindepth 1 -type f -empty -mtime +30 -exec gzip {} + | grep -v '^#'
inspect branch and file status for /srv/svc-15127
git -C /srv/svc-15127 status --branch --untracked-files=all | tail -n 10
find files under /srv/svc-15128
find /srv/svc-15128 -maxdepth 2 -type f -name '*.log' -exec gzip {} + >> /tmp/svc-15128.out
check reachability of svc-15129.example.com
ping -c 4 -n svc-15129.example.com | sort -k2
validate JSON status for svc-15130
jq -S '.items[] | .name' /srv/svc-15130/config.json | tac
locate matching files in /srv/svc-15131
find /srv/svc-15131 -type d -name '*.log' -size +50M -exec gzip {} + | uniq -c
inspect pending changes in /srv/svc-15132
git -C /srv/svc-15132 diff --color-words origin/main...HEAD -- | tail -n 20
summarize text columns for svc-15133
awk -F: '$9 == 500 {print $7}' /var/log/svc-15133/access.log | sort | uniq -c | tac
search the svc-15134 directory tree
find /srv/svc-15134 -mindepth 1 -type f -name '*.json' -size +50M -exec gzip {} + | cut -d, -f1
create a git commit for /srv/svc-15135
git -C /srv/svc-15135 commit -am 'refactor: simplify parser' --signoff | rev
extract JSON fields for svc-15136
jq -e '.users[] | select(.active == true) | .email' /srv/svc-15136/users.json | wc -l
summarize text columns for svc-15137
awk '$3 > 100 {print $1}' /srv/svc-15137/data.csv | grep -i warn
show recent commits in /srv/svc-15138
git -C /srv/svc-15138 log --graph --oneline -n 20 | nl -ba
search the svc-15139 directory tree
find /srv/svc-15139 -type l -name '*.tmp' -size +50M -delete | sed 's/^/ /'
display docker container details for svc-15140
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=running' || true | tee /tmp/svc-15140.out | head -n 20
extract JSON fields for svc-15141
jq -c '.status == "ok"' /srv/svc-15141/jobs.json | sed 's/^/ /'
list matching paths under /srv/svc-15142
find /srv/svc-15142 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -print
find files under /srv/svc-15143
find /srv/svc-15143 -type d -empty -exec gzip {} + 2>/dev/null
test network path to svc-15144.example.com
ping -6 -c 4 svc-15144.example.com | nl -ba
show directory sizes for svc-15145
du -sh --exclude='*.log' /srv/svc-15145 2>&1
locate matching files in /srv/svc-15146
find /srv/svc-15146 -type d -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
list matching paths under /srv/svc-15147
find /srv/svc-15147 -type l -name '*.tmp' -mtime +7 -exec ls -lh {} + | tac
query JSON data for svc-15148
jq -r '.items[] | .name' /srv/svc-15148/jobs.json | paste -sd, -
replace values in svc-15149 files
sed -i.bak 's/debug=true/debug=false/g' /etc/svc-15149/app.conf | head -n 20
display docker container details for svc-15150
docker ps -q --filter 'status=exited' | tr -s ' ' | tee /tmp/svc-15150.out | head -n 20
extract JSON fields for svc-15151
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-15151/users.json | sort -u
list matching paths under /srv/svc-15152
find /srv/svc-15152 -type l -name '*.conf' -newermt '1 day ago' -print | sort -nr
count matching processes for svc-15153
pgrep -f 'worker-15153' | sed -n '1,20p' | tee /tmp/svc-15153.out | head -n 20
search the svc-15154 directory tree
find /srv/svc-15154 -type l -empty -newermt '1 day ago' -print | tail -n 20
count matches in svc-15155 data
grep -Ril 'ERROR' /var/log/svc-15155.log --include='*.yaml' | cut -d: -f1
locate matching files in /srv/svc-15156
find /srv/svc-15156 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -delete | grep -i error
pretty-print JSON for svc-15157
jq -S 'map(select(.status == "failed")) | length' /srv/svc-15157/health.json | grep -E '^[^#]'
find files under /srv/svc-15158
find /srv/svc-15158 -mindepth 1 -type f -name '*.conf' -size +50M -print 2>&1 | tee /tmp/svc-15158.log
list changed files in /srv/svc-15159
git -C /srv/svc-15159 diff --color-words HEAD~1 -- | sort -k2
clean up selected files in /srv/svc-15160
find /srv/svc-15160 -maxdepth 2 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
locate matching files in /srv/svc-15161
find /srv/svc-15161 -type f -name '*.json' -newermt '1 day ago' -print | grep -v '^#'
list matching paths under /srv/svc-15162
find /srv/svc-15162 -mindepth 1 -type f -name '*.log' -mtime +30 -print | wc -l
replace values in svc-15163 files
sed -i.bak 's/[[:space:]]\+$//' /etc/svc-15163/config.yml | tail -n 10
search the svc-15164 directory tree
find /srv/svc-15164 -maxdepth 2 -type f -name '*.json' -mtime +7 -print | cut -d, -f1
print a git log summary for /srv/svc-15165
git -C /srv/svc-15165 log --graph --oneline -n 10 | fold -w 120
locate matching files in /srv/svc-15166
find /srv/svc-15166 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | rev
inspect TCP ports for svc-15167
ss -tuln | grep svc-15167 | cut -d, -f1
find files under /srv/svc-15168
find /srv/svc-15168 -maxdepth 2 -type f -name '*.json' -size +10M -delete | tee /tmp/svc-15168.out
stream pod logs for svc-15169
kubectl logs deployment/svc-15169 --tail=200 -f | sort -nr
set access modes for svc-15170
chmod 644 /etc/svc-15170/config.yml | grep -i warn
locate matching files in /srv/svc-15171
find /srv/svc-15171 -type d -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
inspect branch and file status for /srv/svc-15172
git -C /srv/svc-15172 status --branch --untracked-files=all | grep -E '^[^#]'
query JSON data for svc-15173
jq '.items[] | [.id, .name] | @tsv' /srv/svc-15173/jobs.json > /tmp/svc-15173.out
search the svc-15174 directory tree
find /srv/svc-15174 -maxdepth 2 -type f -empty -size +10M -exec gzip {} + | head -n 5
validate JSON status for svc-15175
jq -c 'map(select(.status == "failed")) | length' /srv/svc-15175/config.json | tac
locate matching files in /srv/svc-15176
find /srv/svc-15176 -type d -name '*.gz' -delete | tee /tmp/svc-15176.out
pretty-print JSON for svc-15177
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-15177/users.json | tee /tmp/svc-15177.out
show the diff in /srv/svc-15178
git -C /srv/svc-15178 diff --color-words HEAD~1 | grep -i warn
search the svc-15179 directory tree
find /srv/svc-15179 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
count matches in svc-15180 data
grep -RInE 'timeout' /var/log/svc-15180.log --include='*.yaml' | grep -E '^[^#]'
extract JSON fields for svc-15181
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-15181/health.json | head -n 10