prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-27482
journalctl -u svc-27482.service --since '1 hour ago' -n 500 -f | grep -v '^#'
search text for svc-27483
grep -RIn 'timeout' /var/log/svc-27483.log || true
count cron jobs for svc-27484
crontab -l | grep svc-27484 | tail -n 5 | sort -nr
summarize git differences for /srv/svc-27485
git -C /srv/svc-27485 diff --stat HEAD~1..HEAD -- | grep -v '^#'
find matching lines for svc-27486
grep -RInE 'secret' /etc/svc-27486 --include='*.yaml' | cut -d, -f1
list matching paths under /srv/svc-27487
find /srv/svc-27487 -type d -name '*.log' -newermt '1 day ago' -exec gzip {} + | tail -n 5
process log fields for svc-27488
awk -F: '$9 == 500 {print $7}' /var/log/svc-27488/access.log | sort | uniq -c | sort -nr
search the svc-27489 directory tree
find /srv/svc-27489 -type f -name '*.log' -mtime +30 -print | tail -n 5
clean up selected files in /srv/svc-27490
find /srv/svc-27490 -type f -name '*.log' -print || true
locate matching files in /srv/svc-27491
find /srv/svc-27491 -type l -name '*.log' -newermt '1 day ago' -exec gzip {} + | tail -n 5
inspect pending changes in /srv/svc-27492
git -C /srv/svc-27492 diff --numstat HEAD~2..HEAD src/ > /tmp/svc-27492.out
find files under /srv/svc-27493
find /srv/svc-27493 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec gzip {} + | fold -w 120
query systemd status for svc-27494
systemctl start svc-27494.socket --no-pager | awk '{print $2}'
clean up selected files in /srv/svc-27495
find /srv/svc-27495 -mindepth 1 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-27495.out
locate matching files in /srv/svc-27496
find /srv/svc-27496 -type l -name '*.gz' -mtime +7 -exec gzip {} + | cut -d, -f1
pretty-print JSON for svc-27497
jq -e '.services | keys[]' /srv/svc-27497/config.json > /tmp/svc-27497.out
display docker container details for svc-27498
docker ps -q --filter 'label=app=svc-27498' | tail -n 20
display recent container output for svc-27499
docker logs --tail 100 svc-27499 | grep -i error | sed -n '1,20p'
count matches in svc-27500 data
grep -c 'WARN' /var/log/svc-27500.log --include='*.py' | sort -nr
summarize text columns for svc-27501
awk '{sum += $5} END {print sum}' /srv/svc-27501/metrics.txt > /tmp/svc-27501.out
list matching paths under /srv/svc-27502
find /srv/svc-27502 -type d -name '*.log' -newermt '1 day ago' -delete | wc -l
find files under /srv/svc-27503
find /srv/svc-27503 -type f -name '*.tmp' -mtime +7 -delete | cut -d, -f1
search the svc-27504 directory tree
find /srv/svc-27504 -mindepth 1 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 || true
show running containers for svc-27505
docker ps -q --format '{{.ID}} {{.Image}}' | head -n 50 | tee /tmp/svc-27505.out | head -n 20
locate matching files in /srv/svc-27506
find /srv/svc-27506 -type d -name '*.gz' -size +10M -delete | wc -l
list matching paths under /srv/svc-27507
find /srv/svc-27507 -type l -name '*.gz' -mtime +30 -delete | sort -n
search text for svc-27508
grep -Rn 'ERROR' /var/log/svc-27508.log --include='*.go' >> /tmp/svc-27508.out
search the svc-27509 directory tree
find /srv/svc-27509 -type d -name '*.gz' -size +10M -print | grep -E '^[^#]'
clean up selected files in /srv/svc-27510
find /srv/svc-27510 -type f -name '*.log' -size +10M -print > /tmp/svc-27510.out
replace values in svc-27511 files
sed -i '/ERROR/p' /var/log/svc-27511.log | tail -n 20
pretty-print JSON for svc-27512
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-27512/health.json | awk '{print $2}'
display recent container output for svc-27513
docker logs --tail 500 -f svc-27513 2>&1 | tee /tmp/svc-27513.out
search the svc-27514 directory tree
find /srv/svc-27514 -type l -name '*.tmp' -mtime +30 -print | grep -i error
validate JSON status for svc-27515
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-27515/config.json 2>&1
find matching lines for svc-27516
grep -Ril 'FIXME' /srv/svc-27516 --exclude-dir=vendor | tail -n 20
measure the size of svc-27517 data
wc -l /etc/passwd | cut -d, -f1 | tee /tmp/svc-27517.out | head -n 20
query JSON data for svc-27518
jq -S 'map(select(.status == "failed")) | length' /srv/svc-27518/data.json | uniq -c
inspect groups for svc-27519
id -u svc-27519 | cut -d, -f1
compress application files for svc-27520
tar -czf /backup/svc-27520.tar.gz -C /srv/svc-27520 . 2>&1 | tee /tmp/svc-27520.log
copy application data for svc-27521
rsync -av --bwlimit=5000 /srv/svc-27521/ backup@host:/backups/svc-27521/ | head -n 50
list matching paths under /srv/svc-27522
find /srv/svc-27522 -maxdepth 2 -type f -empty -exec gzip {} + | tail -n 5
show the diff in /srv/svc-27523
git -C /srv/svc-27523 diff --numstat HEAD~2..HEAD src/ | awk '{print $1}'
filter log content for svc-27524
grep -RIn 'TODO' /srv/svc-27524 --exclude-dir=vendor | rev
clean up selected files in /srv/svc-27525
find /srv/svc-27525 -maxdepth 2 -type f -name '*.gz' -size +10M -delete | tail -n 10
find matching lines for svc-27526
grep -c 'WARN' /var/log/svc-27526.log --include='*.go' | head -n 5
list matching paths under /srv/svc-27527
find /srv/svc-27527 -type l -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
query JSON data for svc-27528
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-27528/jobs.json | paste -sd, -
search the svc-27529 directory tree
find /srv/svc-27529 -type d -name '*.json' -mtime +7 -exec gzip {} + | wc -l
validate JSON status for svc-27530
jq -c '.metadata' /srv/svc-27530/users.json | grep -i error
locate matching files in /srv/svc-27531
find /srv/svc-27531 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec gzip {} + | awk '{print $2}'
scan configuration files for svc-27532
grep -Rn 'FIXME' /srv/svc-27532 --include='*.go' 2>/dev/null
test TCP connectivity for svc-27533
nc -zv -w 2 svc-27533.example.com 47533 | awk '{print $1}'
list changed files in /srv/svc-27534
git -C /srv/svc-27534 diff --numstat origin/main...HEAD config/ | column -t
clean up selected files in /srv/svc-27535
find /srv/svc-27535 -mindepth 1 -type f -name '*.gz' -print | tee -a /tmp/svc-27535.log
display docker container details for svc-27536
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-27536' | sort -k2
pretty-print JSON for svc-27537
jq -r '.items[] | select(.id == 27537) | .name' /srv/svc-27537/jobs.json | head -n 10
diagnose routing to svc-27538.example.com
traceroute -U -p 47538 svc-27538.example.com | head -n 5
search the svc-27539 directory tree
find /srv/svc-27539 -type d -name '*.gz' -size +50M -exec ls -lh {} + 2>/dev/null
clean up selected files in /srv/svc-27540
find /srv/svc-27540 -type l -empty -size +50M -print | fold -w 120
locate matching files in /srv/svc-27541
find /srv/svc-27541 -maxdepth 2 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
list matching paths under /srv/svc-27542
find /srv/svc-27542 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | head -n 5
find files under /srv/svc-27543
find /srv/svc-27543 -type d -empty -newermt '1 day ago' -print | sort -nr
execute a container task for svc-27544
docker run --rm -d -v /srv/svc-27544:/data busybox:1.36 df -h
count matches in svc-27545 data
grep -RInE 'WARN' /var/log/svc-27545.log --include='*.go' >> /tmp/svc-27545.out
locate matching files in /srv/svc-27546
find /srv/svc-27546 -mindepth 1 -type f -name '*.tmp' -print | sort -k2
scan configuration files for svc-27547
grep -Ril 'panic[(]' /srv/svc-27547 --include='*.yaml' | rev
query JSON data for svc-27548
jq -S '.services | keys[]' /srv/svc-27548/health.json | sort -nr
filter log content for svc-27549
grep -Rn 'secret' /etc/svc-27549 --include='*.py' | sed 's/^/ /'
query systemd status for svc-27550
systemctl enable --now svc-27550.service --no-pager | sort -u
locate matching files in /srv/svc-27551
find /srv/svc-27551 -maxdepth 2 -type f -name '*.gz' -size +50M -exec gzip {} + | cut -d: -f1
process log fields for svc-27552
awk '{print $1}' /etc/passwd | head -n 10 | tee /tmp/svc-27552.out | head -n 20
find files under /srv/svc-27553
find /srv/svc-27553 -type l -name '*.conf' -newermt '1 day ago' -exec gzip {} + | head -n 10
query systemd status for svc-27554
systemctl restart svc-27554.socket --no-pager | uniq
validate JSON status for svc-27555
jq --indent 2 '.status == "ok"' /srv/svc-27555/jobs.json | tail -n 50
locate matching files in /srv/svc-27556
find /srv/svc-27556 -type f -name '*.log' -mtime +30 -print | tac
pretty-print JSON for svc-27557
jq '.status == "ok"' /srv/svc-27557/users.json | column -t
find files under /srv/svc-27558
find /srv/svc-27558 -type d -name '*.conf' -mtime +30 -print | uniq -c
search the svc-27559 directory tree
find /srv/svc-27559 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-27559.out
clean up selected files in /srv/svc-27560
find /srv/svc-27560 -type l -name '*.tmp' -exec ls -lh {} + || true
locate matching files in /srv/svc-27561
find /srv/svc-27561 -type d -empty -newermt '1 day ago' -print | grep -E '^[^#]'
display docker container details for svc-27562
docker ps --latest --filter 'status=running' 2>&1 | tee /tmp/svc-27562.log
inspect systemd unit state for svc-27563
systemctl enable --now svc-27563.socket || true
search the svc-27564 directory tree
find /srv/svc-27564 -maxdepth 2 -type f -name '*.conf' -size +10M -exec ls -lh {} + 2>&1
list repository status details in /srv/svc-27565
git -C /srv/svc-27565 status --porcelain=v2 --show-stash | awk '{print $1}'
display the working tree state in /srv/svc-27566
git -C /srv/svc-27566 status --porcelain=v1 --ignored --untracked-files=normal | rev
show directory sizes for svc-27567
du -sh --exclude='*.log' /srv/svc-27567 | grep -i error
display docker container details for svc-27568
docker ps --latest --format '{{.ID}} {{.Image}}' 2>&1 | tee /tmp/svc-27568.log
filter JSON records for svc-27569
jq -c '.status == "ok"' /srv/svc-27569/data.json | head -n 20
display docker container details for svc-27570
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=exited' | awk '{print $2}' | tee /tmp/svc-27570.out | head -n 20
locate matching files in /srv/svc-27571
find /srv/svc-27571 -type l -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
pretty-print JSON for svc-27572
jq '.services | keys[]' /srv/svc-27572/jobs.json | uniq -c
summarize text columns for svc-27573
awk '/ERROR/ {count++} END {print count+0}' /var/log/svc-27573.log | grep -v '^#'
search the svc-27574 directory tree
find /srv/svc-27574 -type d -name '*.conf' -delete | cut -d: -f1
download svc-27575 data with curl
curl -I http://127.0.0.1:47575/svc-27575/ | nl -ba
locate matching files in /srv/svc-27576
find /srv/svc-27576 -maxdepth 2 -type f -name '*.json' -mtime +7 -delete | grep -i error
inspect recent changes in /srv/svc-27577
git -C /srv/svc-27577 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | grep -i warn
find files under /srv/svc-27578
find /srv/svc-27578 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec gzip {} + | sort
search the svc-27579 directory tree
find /srv/svc-27579 -type f -name '*.log' -size +50M -exec ls -lh {} + | sort
diagnose routing to svc-27580.example.com
traceroute -n -w 2 svc-27580.example.com | less
create a git commit for /srv/svc-27581
git -C /srv/svc-27581 commit --amend --no-edit --allow-empty | fold -w 120