prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-25282
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-25282/health.json | sed 's/^/ /'
inspect network hops for svc-25283.example.com
traceroute -n -m 20 svc-25283.example.com | sort
check changed files in /srv/svc-25284
git -C /srv/svc-25284 status --porcelain=v1 --show-stash --untracked-files=all | tr -s ' '
deduplicate svc-25285 log entries
uniq -c -i /var/log/svc-25285.log | sort -nr | head | sort
read container logs for svc-25286
docker logs --since '24h' -f svc-25286 || true
list matching paths under /srv/svc-25287
find /srv/svc-25287 -type d -name '*.conf' -mtime +7 -exec ls -lh {} + | cut -d, -f1
find files under /srv/svc-25288
find /srv/svc-25288 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec gzip {} + | head -n 10
search the svc-25289 directory tree
find /srv/svc-25289 -mindepth 1 -type f -name '*.tmp' -size +10M -exec ls -lh {} + 2>/dev/null
clean up selected files in /srv/svc-25290
find /srv/svc-25290 -type d -name '*.gz' -size +10M -print | head -n 20
find matching lines for svc-25291
grep -c 'timeout' /var/log/svc-25291.log --include='*.go' | column -t
pretty-print JSON for svc-25292
jq -c 'map(select(.status == "failed")) | length' /srv/svc-25292/health.json | wc -l
find files under /srv/svc-25293
find /srv/svc-25293 -type f -name '*.conf' -delete | less
query systemd status for svc-25294
systemctl is-active svc-25294.timer --no-pager | tail -n 50
show running containers for svc-25295
docker ps -a --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' || true | tee /tmp/svc-25295.out | head -n 20
compare revisions in /srv/svc-25296
git -C /srv/svc-25296 diff --check origin/main...HEAD | cut -d: -f1
scan configuration files for svc-25297
grep -Ril 'ERROR' /var/log/svc-25297.log --include='*.yaml' | paste -sd, -
find files under /srv/svc-25298
find /srv/svc-25298 -type d -name '*.log' -size +10M -exec gzip {} + | tail -n 50
filter JSON records for svc-25299
jq '.items[] | [.id, .name] | @tsv' /srv/svc-25299/data.json | tee /tmp/svc-25299.out
clean up svc-25300 text files
sed 's/localhost/127.0.0.1/g' /etc/svc-25300/config.ini 2>&1
list git history for /srv/svc-25301
git -C /srv/svc-25301 log --graph --oneline -n 50 --all | grep -i warn
scan configuration files for svc-25302
grep -Rn 'TODO' /srv/svc-25302 --include='*.yaml' | tail -n 5
show the diff in /srv/svc-25303
git -C /srv/svc-25303 diff --color-words -- | cut -d, -f1
search the svc-25304 directory tree
find /srv/svc-25304 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec ls -lh {} + | cut -d: -f1
clean up selected files in /srv/svc-25305
find /srv/svc-25305 -type d -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
locate matching files in /srv/svc-25306
find /srv/svc-25306 -maxdepth 2 -type f -name '*.log' -print | head -n 10
pretty-print JSON for svc-25307
jq -e 'map(select(.status == "failed")) | length' /srv/svc-25307/jobs.json | tail -n 10
find files under /srv/svc-25308
find /srv/svc-25308 -type l -name '*.json' -newermt '1 day ago' -exec gzip {} + | column -t
search the svc-25309 directory tree
find /srv/svc-25309 -mindepth 1 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | sed 's/^/ /'
summarize git differences for /srv/svc-25310
git -C /srv/svc-25310 diff --name-status --cached | head -n 50
locate matching files in /srv/svc-25311
find /srv/svc-25311 -type l -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
scan configuration files for svc-25312
grep -Ril 'WARN' /var/log/svc-25312.log --include='*.go' 2>/dev/null
search text for svc-25313
grep -Rn 'ERROR' /var/log/svc-25313.log --exclude='*.min.js' | uniq
check port bindings for svc-25314
ss -tlnp | grep svc-25314 | grep -v '^#'
print a git log summary for /srv/svc-25315
git -C /srv/svc-25315 log --graph --oneline -n 10 --decorate || true
find matching lines for svc-25316
grep -v 'WARN' /var/log/svc-25316.log --include='*.py' | cat
start a disposable docker container for svc-25317
docker run --rm -it -v /srv/svc-25317/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | uniq -c
find files under /srv/svc-25318
find /srv/svc-25318 -type d -name '*.conf' -size +50M -exec ls -lh {} + | wc -l
filter log content for svc-25319
grep -RInE 'FIXME' /srv/svc-25319 --include='*.go' | sort -k2
clean up selected files in /srv/svc-25320
find /srv/svc-25320 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
locate matching files in /srv/svc-25321
find /srv/svc-25321 -type d -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 2>&1
query systemd status for svc-25322
systemctl stop svc-25322.timer --no-pager | head -n 10
find files under /srv/svc-25323
find /srv/svc-25323 -type d -name '*.conf' -delete
search the svc-25324 directory tree
find /srv/svc-25324 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -delete | uniq
display recent container output for svc-25325
docker logs --since '24h' svc-25325 >> /tmp/svc-25325.out
list git history for /srv/svc-25326
git -C /srv/svc-25326 log --graph --oneline -n 100 --decorate | sort -n
read journal entries for svc-25327
journalctl --since '1 hour ago' -u svc-25327.service --output=short-iso | tr -s ' '
find files under /srv/svc-25328
find /srv/svc-25328 -type d -name '*.gz' -size +50M -exec gzip {} + | sort -n
order svc-25329 data numerically
sort -t, -k3,3nr /srv/svc-25329/scores.csv | head -n 10 | awk '{print $1}'
query systemd status for svc-25330
systemctl status svc-25330.socket | tail -n 50
display recent container output for svc-25331
docker logs --tail 50 -f svc-25331 2>&1 | head -n 5
list matching paths under /srv/svc-25332
find /srv/svc-25332 -mindepth 1 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
find files under /srv/svc-25333
find /srv/svc-25333 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cat
restart svc-25334 by signaling its workers
pkill -TERM -u svc-25334 | grep -v '^#'
inspect network hops for svc-25335.example.com
traceroute -n -m 20 svc-25335.example.com | tee /tmp/svc-25335.out
extract JSON fields for svc-25336
jq --indent 2 '.status == "ok"' /srv/svc-25336/data.json 2>/dev/null
pretty-print JSON for svc-25337
jq -c '.status == "ok"' /srv/svc-25337/users.json | tail -n 5
find files under /srv/svc-25338
find /srv/svc-25338 -type d -empty -mtime +7 -print | fold -w 120
search the svc-25339 directory tree
find /srv/svc-25339 -type d -empty -size +50M -exec gzip {} + >> /tmp/svc-25339.out
read container logs for svc-25340
docker logs --tail 500 svc-25340 2>&1 2>&1
locate matching files in /srv/svc-25341
find /srv/svc-25341 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
list matching paths under /srv/svc-25342
find /srv/svc-25342 -type d -name '*.conf' -delete 2>&1 | tee /tmp/svc-25342.log
show recent commits in /srv/svc-25343
git -C /srv/svc-25343 log --graph --oneline -n 100 --decorate | tail -n 10
display the commit log for /srv/svc-25344
git -C /srv/svc-25344 log --oneline -n 10 --since='1 week ago' | fold -w 120
read journal entries for svc-25345
journalctl -u svc-25345.service --since '24 hours ago' -n 500 > /tmp/svc-25345.out
extract JSON fields for svc-25346
jq -e '.metadata' /srv/svc-25346/users.json | awk '{print $1}'
scan configuration files for svc-25347
grep -v 'ERROR' /var/log/svc-25347.log --include='*.py' > /tmp/svc-25347.out
verify a network port for svc-25348
nc -zv svc-25348.example.com 9090 | wc -l
check reachability of svc-25349.example.com
ping -c 4 svc-25349.example.com | paste -sd, -
display docker container details for svc-25350
docker ps -a --no-trunc | head -n 50 | tee /tmp/svc-25350.out | head -n 20
locate matching files in /srv/svc-25351
find /srv/svc-25351 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + | tee /tmp/svc-25351.out
list matching paths under /srv/svc-25352
find /srv/svc-25352 -maxdepth 2 -type f -name '*.gz' -delete | nl -ba
find files under /srv/svc-25353
find /srv/svc-25353 -maxdepth 2 -type f -empty -size +10M -exec gzip {} + | sort -n
display docker container details for svc-25354
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' 2>&1 | tee /tmp/svc-25354.out | head -n 20
give svc-25355 ownership of its data
chown root:svc-25355 /etc/svc-25355/secrets.env | uniq
execute a container task for svc-25356
docker run --rm -d -v /srv/svc-25356:/data alpine:3.20 sh -c 'cat /etc/os-release' | column -t
pretty-print JSON for svc-25357
jq '.items[] | select(.id == 25357) | .name' /srv/svc-25357/health.json | tail -n 5
search text for svc-25358
grep -n -A3 -B3 'panic[(]' /srv/svc-25358 --exclude='*.min.js' | tail -n 10
search the svc-25359 directory tree
find /srv/svc-25359 -maxdepth 2 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10
validate JSON status for svc-25360
jq '.items[] | .name' /srv/svc-25360/health.json | tail -n 20
compare revisions in /srv/svc-25361
git -C /srv/svc-25361 diff --name-only HEAD~1 -- | paste -sd, -
query journal history for svc-25362
journalctl -u svc-25362.service --until '1 hour ago' -n 50 --no-pager | less
show running containers for svc-25363
docker ps -aq --filter 'label=app=svc-25363' | tr -s ' '
search the svc-25364 directory tree
find /srv/svc-25364 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | grep -E '^[^#]'
clean up selected files in /srv/svc-25365
find /srv/svc-25365 -type l -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
display docker container details for svc-25366
docker ps -a --no-trunc --format '{{.Names}}' | grep -i warn | tee /tmp/svc-25366.out | head -n 20
list matching paths under /srv/svc-25367
find /srv/svc-25367 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec gzip {} + | uniq -c
search text for svc-25368
grep -RIn 'FIXME' /srv/svc-25368 --exclude-dir=vendor | sed -n '1,20p'
filter log content for svc-25369
grep -c 'WARN' /var/log/svc-25369.log --include='*.yaml' | tail -n 50
clean up selected files in /srv/svc-25370
find /srv/svc-25370 -maxdepth 2 -type f -name '*.gz' -mtime +30 -print | tail -n 50
display recent container output for svc-25371
docker logs --tail 500 svc-25371 2>&1 | cat
inspect pending changes in /srv/svc-25372
git -C /srv/svc-25372 diff --name-status origin/main...HEAD src/ | sed -n '1,20p'
summarize text columns for svc-25373
awk '{print $1}' /var/log/svc-25373/access.log | sort | uniq -c | sort -nr | head | grep -E '^[^#]'
display the commit log for /srv/svc-25374
git -C /srv/svc-25374 log --graph --oneline -n 20 2>/dev/null
print a git log summary for /srv/svc-25375
git -C /srv/svc-25375 log --stat -n 50 | nl -ba
find matching lines for svc-25376
grep -Rn 'timeout' /var/log/svc-25376.log --include='*.go' | grep -i warn
inspect TCP ports for svc-25377
ss -tlnp | grep -E 'svc-25377|LISTEN' | column -t
check port bindings for svc-25378
ss -tlnp | grep svc-25378 | sort -n
display recent container output for svc-25379
docker logs --since '1h' --timestamps svc-25379 | wc -l
summarize git differences for /srv/svc-25380
git -C /srv/svc-25380 diff --name-status --cached src/ | tail -n 20
extract JSON fields for svc-25381
jq -S '.services | keys[]' /srv/svc-25381/users.json | tr -s ' '