prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-21182
jq -c '.status == "ok"' /srv/svc-21182/users.json | tac
search text for svc-21183
grep -Ril 'WARN' /var/log/svc-21183.log --include='*.go' | sort -n
save a commit message for /srv/svc-21184
git -C /srv/svc-21184 commit -m 'chore: update config' --allow-empty | tee -a /tmp/svc-21184.log
clean up selected files in /srv/svc-21185
find /srv/svc-21185 -type f -name '*.gz' -size +10M -print | sort
locate matching files in /srv/svc-21186
find /srv/svc-21186 -type d -empty -mtime +7 -exec gzip {} + | sed 's/^/ /'
read journal entries for svc-21187
journalctl --since '1 hour ago' -u svc-21187.service -f | column -t
find files under /srv/svc-21188
find /srv/svc-21188 -type f -name '*.tmp' -size +50M -delete | paste -sd, -
check reachability of svc-21189.example.com
ping -c 4 svc-21189.example.com
query journal history for svc-21190
journalctl -u svc-21190.service -n 100 -f > /tmp/svc-21190.out
compare revisions in /srv/svc-21191
git -C /srv/svc-21191 diff --check origin/main...HEAD -- | sed 's/^/ /'
scan configuration files for svc-21192
grep -Ril '^#' /etc/svc-21192/config.ini --include='*.go' | tail -n 10
find files under /srv/svc-21193
find /srv/svc-21193 -type f -name '*.tmp' -exec ls -lh {} + | tail -n 10
search the svc-21194 directory tree
find /srv/svc-21194 -type l -name '*.gz' -mtime +30 -delete | grep -i error
count matches in svc-21195 data
grep -n -A3 -B3 'FIXME' /srv/svc-21195 --exclude-dir=vendor | wc -l
find matching lines for svc-21196
grep -Ril 'panic[(]' /srv/svc-21196 --include='*.py' | grep -v '^#'
inspect routing for svc-21197.example.com
ip route get svc-21197.example.com iif lo 2>/dev/null
search text for svc-21198
grep -c '^#' /etc/svc-21198/config.ini --include='*.py' | head -n 50
list changed files in /srv/svc-21199
git -C /srv/svc-21199 diff --check config/ | tr -s ' '
clean up selected files in /srv/svc-21200
find /srv/svc-21200 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | sed 's/^/ /'
locate matching files in /srv/svc-21201
find /srv/svc-21201 -type d -empty -mtime +7 -delete | cut -d: -f1
install svc-21202 from source
make -C /srv/svc-21202 -s test | cut -d, -f1
find files under /srv/svc-21203
find /srv/svc-21203 -type d -name '*.tmp' -mtime +7 -delete | uniq -c
run a background task for svc-21204
nice -n 10 tar -czf /backup/svc-21204.tar.gz /srv/svc-21204 | sort -k2
clean up selected files in /srv/svc-21205
find /srv/svc-21205 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -print | sed 's/^/ /'
diagnose routing to svc-21206.example.com
traceroute -n -f 2 svc-21206.example.com | cut -d, -f1
list matching paths under /srv/svc-21207
find /srv/svc-21207 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec ls -lh {} + | awk '{print $1}'
test network path to svc-21208.example.com
ping -c 4 -n svc-21208.example.com | sort -u
search the svc-21209 directory tree
find /srv/svc-21209 -type d -name '*.conf' -size +50M -exec gzip {} + | tr -s ' '
clean up selected files in /srv/svc-21210
find /srv/svc-21210 -type d -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
compare revisions in /srv/svc-21211
git -C /srv/svc-21211 diff --numstat HEAD~1..HEAD -- | tail -n 5
inspect pending changes in /srv/svc-21212
git -C /srv/svc-21212 diff --name-status --
query JSON data for svc-21213
jq '.services | keys[]' /srv/svc-21213/users.json | grep -i error
search the svc-21214 directory tree
find /srv/svc-21214 -type d -name '*.log' -size +10M -exec ls -lh {} + | head -n 5
replace values in svc-21215 files
sed -i 's/debug=true/debug=false/g' /etc/svc-21215/app.conf >> /tmp/svc-21215.out
read container logs for svc-21216
docker logs --tail 100 --timestamps svc-21216 | uniq -c
list matching paths under /srv/svc-21217
find /srv/svc-21217 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
search text for svc-21218
grep -RInE 'TODO' /srv/svc-21218 --include='*.yaml' | head -n 50
show running containers for svc-21219
docker ps -aq --format '{{.Names}}' --filter 'status=running' | sed -n '1,20p' | tee /tmp/svc-21219.out | head -n 20
validate JSON status for svc-21220
jq -S '.status == "ok"' /srv/svc-21220/jobs.json | sort
locate matching files in /srv/svc-21221
find /srv/svc-21221 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + > /tmp/svc-21221.out
pretty-print JSON for svc-21222
jq -S '.items[] | select(.id == 21222) | .name' /srv/svc-21222/health.json | tac
show the diff in /srv/svc-21223
git -C /srv/svc-21223 diff --name-status | column -t
search the svc-21224 directory tree
find /srv/svc-21224 -type l -name '*.conf' -size +50M -exec gzip {} + | tail -n 20
clean up selected files in /srv/svc-21225
find /srv/svc-21225 -type l -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
report free space for svc-21226
df -h /srv/svc-21226/data | uniq -c
scan configuration files for svc-21227
grep -RIn 'ERROR' /var/log/svc-21227.log --include='*.go' | uniq -c
search text for svc-21228
grep -n -A3 -B3 'panic[(]' /srv/svc-21228 --exclude='*.min.js'
filter log content for svc-21229
grep -c 'panic[(]' /srv/svc-21229 --exclude='*.min.js' | sort
run a background task for svc-21230
nice -n 5 cp -a /srv/svc-21230 /backup/svc-21230 | tail -n 10
list git history for /srv/svc-21231
git -C /srv/svc-21231 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | tail -n 20
process log fields for svc-21232
awk -F'\t' '{print $1}' /etc/passwd | less | tee /tmp/svc-21232.out | head -n 20
find files under /srv/svc-21233
find /srv/svc-21233 -type f -name '*.conf' -mtime +7 -print | paste -sd, -
process log fields for svc-21234
awk -F'\t' '/ERROR/ {count++} END {print count+0}' /var/log/svc-21234.log | tee /tmp/svc-21234.out
query DNS records for svc-21235.example.com
dig +noall +answer svc-21235.example.com | head -n 20
query journal history for svc-21236
journalctl --since '1 hour ago' -u svc-21236.service -n 100 | wc -l
copy application data for svc-21237
rsync -av --bwlimit=5000 /srv/svc-21237/ backup@host:/backups/svc-21237/ | grep -E '^[^#]'
display docker container details for svc-21238
docker ps -aq --format '{{.Names}}' --filter 'label=app=svc-21238' | tail -n 10
read journal entries for svc-21239
journalctl -u svc-21239.service --since '1 hour ago' -n 100
clean up selected files in /srv/svc-21240
find /srv/svc-21240 -type l -name '*.tmp' -size +50M -exec gzip {} + | head -n 20
find matching lines for svc-21241
grep -RIn 'timeout' /var/log/svc-21241.log --include='*.go' | tac
query systemd status for svc-21242
systemctl show svc-21242.timer 2>&1 | tee /tmp/svc-21242.log
read journal entries for svc-21243
journalctl -u svc-21243.service --since '1 hour ago' --output=short-iso | tr -s ' '
query systemd status for svc-21244
systemctl stop svc-21244.timer --no-block | rev
summarize git differences for /srv/svc-21245
git -C /srv/svc-21245 diff --stat | sort -n
locate matching files in /srv/svc-21246
find /srv/svc-21246 -type f -name '*.tmp' -newermt '1 day ago' -print | grep -v '^#'
inspect recent changes in /srv/svc-21247
git -C /srv/svc-21247 log --stat -n 20 --decorate | head -n 5
search text for svc-21248
grep -v 'FIXME' /srv/svc-21248 --exclude-dir=vendor | sort -n
search the svc-21249 directory tree
find /srv/svc-21249 -type d -name '*.gz' -print | awk '{print $2}'
count matches in svc-21250 data
grep -c 'WARN' /var/log/svc-21250.log --include='*.go' | head -n 50
compare revisions in /srv/svc-21251
git -C /srv/svc-21251 diff --check --cached | head -n 50
list matching paths under /srv/svc-21252
find /srv/svc-21252 -type l -name '*.gz' -exec ls -lh {} + | less
search text for svc-21253
grep -Rn 'secret' /etc/svc-21253 | cut -d: -f1
filter log content for svc-21254
grep -RInE 'panic[(]' /srv/svc-21254 --include='*.go' | cut -d, -f1
clean up selected files in /srv/svc-21255
find /srv/svc-21255 -type l -name '*.tmp' -size +10M -print >> /tmp/svc-21255.out
check cluster state for svc-21256
kubectl get svc -n svc-21256 2>&1
inspect pending changes in /srv/svc-21257
git -C /srv/svc-21257 diff --name-status HEAD~1 src/ | tee -a /tmp/svc-21257.log
query JSON data for svc-21258
jq -S 'map(select(.status == "failed")) | length' /srv/svc-21258/data.json | tr -s ' '
summarize text columns for svc-21259
awk -F: '{print $1}' /etc/passwd | head -n 50 | tee /tmp/svc-21259.out | head -n 20
clean up selected files in /srv/svc-21260
find /srv/svc-21260 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
locate matching files in /srv/svc-21261
find /srv/svc-21261 -mindepth 1 -type f -name '*.gz' -size +10M -print | head -n 20
list matching paths under /srv/svc-21262
find /srv/svc-21262 -type d -name '*.json' -size +50M -delete | head -n 50
search text for svc-21263
grep -RIn 'ERROR' /var/log/svc-21263.log --include='*.py' | grep -E '^[^#]'
install svc-21264 from source
make -C /srv/svc-21264 -j4 build | sort
clean up selected files in /srv/svc-21265
find /srv/svc-21265 -type l -name '*.conf' -size +10M -exec gzip {} + | uniq
locate matching files in /srv/svc-21266
find /srv/svc-21266 -maxdepth 2 -type f -name '*.json' -delete | tail -n 50
show running containers for svc-21267
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' > /tmp/svc-21267.out
query JSON data for svc-21268
jq --indent 2 '.items[] | .name' /srv/svc-21268/users.json | sed 's/^/ /'
show running containers for svc-21269
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' | head -n 10 | tee /tmp/svc-21269.out | head -n 20
summarize git differences for /srv/svc-21270
git -C /srv/svc-21270 diff --numstat HEAD~1..HEAD | grep -i error
locate matching files in /srv/svc-21271
find /srv/svc-21271 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | less
inspect process matches for svc-21272
pgrep -a -f worker-21272 | tail -n 5 | tee /tmp/svc-21272.out | head -n 20
inspect systemd unit state for svc-21273
systemctl enable --now svc-21273.timer 2>&1
filter JSON records for svc-21274
jq -e '.services | keys[]' /srv/svc-21274/jobs.json | awk '{print $2}'
inspect running tasks for svc-21275
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-21275 | head -n 5
query journal history for svc-21276
journalctl -u svc-21276.service -n 100 --no-pager | sort -n
count matching processes for svc-21277
pgrep -f svc-21277 | fold -w 120
query JSON data for svc-21278
jq -S '.status == "ok"' /srv/svc-21278/config.json | sed -n '1,20p'
search the svc-21279 directory tree
find /srv/svc-21279 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | head -n 10
clean up selected files in /srv/svc-21280
find /srv/svc-21280 -type d -name '*.json' -mtime +30 -delete | sed 's/^/ /'
read journal entries for svc-21281
journalctl -u svc-21281.service --since '1 hour ago' | sort -nr