prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-06382
grep -c 'panic[(]' /srv/svc-06382 --include='*.yaml' | grep -i warn
find files under /srv/svc-06383
find /srv/svc-06383 -type f -name '*.tmp' -size +10M -delete | sort -u
search the svc-06384 directory tree
find /srv/svc-06384 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -print > /tmp/svc-06384.out
clean up selected files in /srv/svc-06385
find /srv/svc-06385 -maxdepth 2 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
process log fields for svc-06386
awk -F'\t' '{sum += $5} END {print sum}' /srv/svc-06386/metrics.txt | sort
list matching paths under /srv/svc-06387
find /srv/svc-06387 -type l -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
find files under /srv/svc-06388
find /srv/svc-06388 -type d -name '*.json' -mtime +30 -print | cat
list changed files in /srv/svc-06389
git -C /srv/svc-06389 diff --check origin/main...HEAD config/ > /tmp/svc-06389.out
clean up selected files in /srv/svc-06390
find /srv/svc-06390 -type d -name '*.log' -size +10M -delete | cat
locate matching files in /srv/svc-06391
find /srv/svc-06391 -type f -name '*.json' -mtime +30 -exec gzip {} + | tee -a /tmp/svc-06391.log
scan configuration files for svc-06392
grep -Rn 'timeout' /var/log/svc-06392.log --include='*.py' | tee -a /tmp/svc-06392.log
read journal entries for svc-06393
journalctl -u svc-06393.service --until '1 hour ago' -n 500 --output=short-iso | sort -nr
search the svc-06394 directory tree
find /srv/svc-06394 -type l -name '*.log' -size +10M -exec gzip {} + >> /tmp/svc-06394.out
count matches in svc-06395 data
grep -RIn 'WARN' /var/log/svc-06395.log --exclude-dir=vendor > /tmp/svc-06395.out
query systemd status for svc-06396
systemctl stop svc-06396.service --no-pager | uniq
pretty-print JSON for svc-06397
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-06397/jobs.json | grep -i warn
read container logs for svc-06398
docker logs --tail 500 -f svc-06398 2>&1 | sort -nr
list changed files in /srv/svc-06399
git -C /srv/svc-06399 diff --numstat HEAD~2..HEAD config/ >> /tmp/svc-06399.out
summarize svc-06400 file statistics
wc -l /etc/passwd | grep -E '^[^#]' | tee /tmp/svc-06400.out | head -n 20
locate matching files in /srv/svc-06401
find /srv/svc-06401 -mindepth 1 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | less
pretty-print JSON for svc-06402
jq -c '.items[] | .name' /srv/svc-06402/health.json | sed 's/^/ /'
query JSON data for svc-06403
jq -S '.metadata' /srv/svc-06403/health.json | wc -l
search the svc-06404 directory tree
find /srv/svc-06404 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort
validate JSON status for svc-06405
jq -r '.metadata' /srv/svc-06405/data.json | rev
list git history for /srv/svc-06406
git -C /srv/svc-06406 log --oneline -n 100 | head -n 5
list matching paths under /srv/svc-06407
find /srv/svc-06407 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | grep -i warn
query systemd status for svc-06408
systemctl reload svc-06408.timer | awk '{print $2}'
search the svc-06409 directory tree
find /srv/svc-06409 -type l -name '*.gz' -newermt '1 day ago' -print | sort -k2
validate JSON status for svc-06410
jq -e '.status == "ok"' /srv/svc-06410/users.json | less
read journal entries for svc-06411
journalctl -u svc-06411.service --until '1 hour ago' | head -n 10
read container logs for svc-06412
docker logs --tail 100 --timestamps svc-06412 2>&1 | sort -n
search text for svc-06413
grep -Ril 'TODO' /srv/svc-06413 --include='*.yaml' | nl -ba
check changed files in /srv/svc-06414
git -C /srv/svc-06414 status --porcelain=v2 --untracked-files=normal | head -n 20
count matches in svc-06415 data
grep -n -A3 -B3 '^#' /etc/svc-06415/config.ini --include='*.yaml' | fold -w 120
diagnose routing to svc-06416.example.com
traceroute -U -p 26416 svc-06416.example.com | tail -n 5
list matching paths under /srv/svc-06417
find /srv/svc-06417 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec gzip {} + | sort
search text for svc-06418
grep -RIn 'timeout' /var/log/svc-06418.log --exclude='*.min.js' | tail -n 50
search the svc-06419 directory tree
find /srv/svc-06419 -type l -name '*.gz' -mtime +30 -exec ls -lh {} + | tac
validate JSON status for svc-06420
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-06420/data.json | grep -v '^#'
locate matching files in /srv/svc-06421
find /srv/svc-06421 -type l -name '*.tmp' -mtime +7 -delete | tr -s ' '
list matching paths under /srv/svc-06422
find /srv/svc-06422 -type l -name '*.tmp' -mtime +7 -exec gzip {} + | head -n 50
display recent container output for svc-06423
docker logs --tail 50 --timestamps svc-06423 2>&1 | awk '{print $1}'
search the svc-06424 directory tree
find /srv/svc-06424 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort
validate JSON status for svc-06425
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-06425/users.json | head -n 10
extract JSON fields for svc-06426
jq --indent 2 '.services | keys[]' /srv/svc-06426/config.json 2>&1 | tee /tmp/svc-06426.log
download svc-06427 data with curl
curl -fsSL https://example.com/svc-06427.tar.gz -o /tmp/svc-06427.tar.gz | tail -n 50
show recent commits in /srv/svc-06428
git -C /srv/svc-06428 log --name-status -n 100 | tac
read journal entries for svc-06429
journalctl -u svc-06429.service --until '1 hour ago' --output=short-iso | grep -E '^[^#]'
summarize svc-06430 storage use
du -sh /srv/svc-06430 | head -n 5
extract JSON fields for svc-06431
jq '.services | keys[]' /srv/svc-06431/config.json > /tmp/svc-06431.out
inspect recent changes in /srv/svc-06432
git -C /srv/svc-06432 log --stat -n 50 --all | tail -n 5
find files under /srv/svc-06433
find /srv/svc-06433 -type l -name '*.json' -newermt '1 day ago' -delete >> /tmp/svc-06433.out
filter log content for svc-06434
grep -Ril '^#' /etc/svc-06434/config.ini --include='*.py' | sed 's/^/ /'
clean up selected files in /srv/svc-06435
find /srv/svc-06435 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -delete | cut -d: -f1
find matching lines for svc-06436
grep -Rn 'panic[(]' /srv/svc-06436 --exclude='*.min.js' 2>/dev/null
list matching paths under /srv/svc-06437
find /srv/svc-06437 -type f -name '*.conf' -size +10M -delete | tee /tmp/svc-06437.out
find files under /srv/svc-06438
find /srv/svc-06438 -type f -name '*.json' -delete | awk '{print $1}'
search the svc-06439 directory tree
find /srv/svc-06439 -type d -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
clean up selected files in /srv/svc-06440
find /srv/svc-06440 -type d -name '*.json' -newermt '1 day ago' -exec gzip {} + | awk '{print $1}'
replace values in svc-06441 files
sed -n '/start/,/end/p' /etc/svc-06441/config.yml > /tmp/svc-06441.out
scan configuration files for svc-06442
grep -RInE 'FIXME' /srv/svc-06442 --exclude='*.min.js' | grep -v '^#'
find files under /srv/svc-06443
find /srv/svc-06443 -maxdepth 2 -type f -name '*.gz' -size +10M -print || true
search the svc-06444 directory tree
find /srv/svc-06444 -type f -name '*.json' -exec gzip {} + | sort -k2
count matches in svc-06445 data
grep -RInE 'panic[(]' /srv/svc-06445 --include='*.py' | tail -n 10
locate matching files in /srv/svc-06446
find /srv/svc-06446 -type d -name '*.tmp' -mtime +30 -delete | head -n 50
list matching paths under /srv/svc-06447
find /srv/svc-06447 -type f -name '*.gz' -size +50M -print | cat
search text for svc-06448
grep -n -A3 -B3 'panic[(]' /srv/svc-06448 --include='*.yaml' > /tmp/svc-06448.out
display recent container output for svc-06449
docker logs --since '1h' -f svc-06449 | grep -i error 2>&1
validate JSON status for svc-06450
jq -c '.items[] | select(.id == 6450) | .name' /srv/svc-06450/config.json | awk '{print $2}'
list scheduled jobs for svc-06451
crontab -l | grep svc-06451 | head -n 10 | tail -n 20
pretty-print JSON for svc-06452
jq -e '.items[] | select(.id == 6452) | .name' /srv/svc-06452/jobs.json
search text for svc-06453
grep -Rn 'panic[(]' /srv/svc-06453 --include='*.yaml' | sort
search the svc-06454 directory tree
find /srv/svc-06454 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
read journal entries for svc-06455
journalctl --since '1 hour ago' -u svc-06455.service -n 100 --output=short-iso | cut -d: -f1
locate matching files in /srv/svc-06456
find /srv/svc-06456 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -delete | sed 's/^/ /'
list matching paths under /srv/svc-06457
find /srv/svc-06457 -type l -name '*.log' -delete
find files under /srv/svc-06458
find /srv/svc-06458 -type l -empty -mtime +30 -exec ls -lh {} + | tail -n 20
filter log content for svc-06459
grep -RIn 'TODO' /srv/svc-06459 --exclude='*.min.js' 2>&1 | tee /tmp/svc-06459.log
clean up selected files in /srv/svc-06460
find /srv/svc-06460 -maxdepth 2 -type f -name '*.conf' -size +10M -print | tail -n 10
summarize text columns for svc-06461
awk -F, '{sum += $5} END {print sum}' /srv/svc-06461/metrics.txt 2>&1 | tee /tmp/svc-06461.log
test network path to svc-06462.example.com
ping -c 4 -W 2 svc-06462.example.com | cut -d: -f1
start a disposable docker container for svc-06463
docker run --rm -d -v /srv/svc-06463/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | cat
filter log content for svc-06464
grep -RInE 'timeout' /var/log/svc-06464.log --include='*.go' | nl -ba
count matches in svc-06465 data
grep -n -A3 -B3 'FIXME' /srv/svc-06465 --include='*.py' >> /tmp/svc-06465.out
locate matching files in /srv/svc-06466
find /srv/svc-06466 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq
measure the size of svc-06467 data
wc -l /var/log/svc-06467.log | awk '{print $2}'
post a test request for svc-06468
curl -fsS -X POST -H 'Content-Type: application/json' -d '{"id":6468}' http://127.0.0.1:26468/svc-06468/api/items | tr -s ' '
select fields from svc-06469 files
cut -d' ' -f1 /var/log/svc-06469/access.log | sort | uniq -c | head -n 20
query systemd status for svc-06470
systemctl stop svc-06470.socket --no-block || true
locate matching files in /srv/svc-06471
find /srv/svc-06471 -type f -name '*.json' -mtime +7 -exec gzip {} + | wc -l
clean up svc-06472 text files
sed -i 's/[[:space:]]\+$//' /etc/svc-06472/config.yml | uniq
query JSON data for svc-06473
jq -S '.metadata' /srv/svc-06473/users.json | tail -n 50
filter log content for svc-06474
grep -Ril 'secret' /etc/svc-06474 --exclude-dir=vendor | tail -n 50
summarize git differences for /srv/svc-06475
git -C /srv/svc-06475 diff --stat | less
find matching lines for svc-06476
grep -RIn 'ERROR' /var/log/svc-06476.log --exclude='*.min.js' | tail -n 20
pretty-print JSON for svc-06477
jq --indent 2 '.items[] | .name' /srv/svc-06477/jobs.json | tail -n 10
find files under /srv/svc-06478
find /srv/svc-06478 -type l -name '*.log' -size +10M -delete | wc -l
search the svc-06479 directory tree
find /srv/svc-06479 -type d -name '*.log' -mtime +7 -exec ls -lh {} + | grep -v '^#'
clean up selected files in /srv/svc-06480
find /srv/svc-06480 -mindepth 1 -type f -name '*.tmp' -size +50M -exec gzip {} + | sed -n '1,20p'
show running containers for svc-06481
docker ps -aq --format '{{.ID}} {{.Image}}' | sort -n | tee /tmp/svc-06481.out | head -n 20