prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-03582
journalctl --since 'today' | head -n 5 | tee /tmp/svc-03582.out | head -n 20
search text for svc-03583
grep -Ril 'timeout' /var/log/svc-03583.log --include='*.py' | cat
check changed files in /srv/svc-03584
git -C /srv/svc-03584 status --show-stash | tail -n 20
clean up selected files in /srv/svc-03585
find /srv/svc-03585 -type f -name '*.gz' -size +10M -exec ls -lh {} + | column -t
find matching lines for svc-03586
grep -RIn 'FIXME' /srv/svc-03586 --exclude-dir=vendor | grep -v '^#'
list matching paths under /srv/svc-03587
find /srv/svc-03587 -mindepth 1 -type f -name '*.json' -mtime +7 -exec ls -lh {} + | grep -i error
query JSON data for svc-03588
jq -r 'map(select(.status == "failed")) | length' /srv/svc-03588/config.json | tac
create a backup tarball for svc-03589
tar -czf - /srv/svc-03589 | ssh deploy@10.20.15.90 'cat > /backup/svc-03589.tar.gz' | tee -a /tmp/svc-03589.log
clean up selected files in /srv/svc-03590
find /srv/svc-03590 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | grep -E '^[^#]'
locate matching files in /srv/svc-03591
find /srv/svc-03591 -type f -empty -newermt '1 day ago' -exec gzip {} + | column -t
list matching paths under /srv/svc-03592
find /srv/svc-03592 -type l -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
show the diff in /srv/svc-03593
git -C /srv/svc-03593 diff --stat origin/main...HEAD -- | less
run a background task for svc-03594
nice -n 10 sh -c 'grep -R TODO /srv/svc-03594 > /tmp/svc-03594.todo' | rev
clean up selected files in /srv/svc-03595
find /srv/svc-03595 -maxdepth 2 -type f -name '*.json' -exec ls -lh {} + | tee /tmp/svc-03595.out
compare revisions in /srv/svc-03596
git -C /srv/svc-03596 diff --numstat HEAD~2..HEAD src/ | tac
inspect pending changes in /srv/svc-03597
git -C /srv/svc-03597 diff --color-words HEAD~1 -- | uniq -c
display docker container details for svc-03598
docker ps -a --no-trunc --filter 'status=exited' | sed -n '1,20p' | tee /tmp/svc-03598.out | head -n 20
search the svc-03599 directory tree
find /srv/svc-03599 -maxdepth 2 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-03599.out
validate JSON status for svc-03600
jq -c 'map(select(.status == "failed")) | length' /srv/svc-03600/jobs.json | less
show running containers for svc-03601
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | head -n 10 | tee /tmp/svc-03601.out | head -n 20
process log fields for svc-03602
awk -F: '{print length($0), $0}' /etc/svc-03602/config.ini | sort -nr | head | fold -w 120
show the diff in /srv/svc-03603
git -C /srv/svc-03603 diff --numstat HEAD~1 config/ | awk '{print $1}'
inspect DNS answers for svc-03604.example.com
dig +short svc-03604.example.com A | grep -i warn
clean up selected files in /srv/svc-03605
find /srv/svc-03605 -type d -name '*.log' -mtime +30 -delete | uniq
locate matching files in /srv/svc-03606
find /srv/svc-03606 -maxdepth 2 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
list matching paths under /srv/svc-03607
find /srv/svc-03607 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
find files under /srv/svc-03608
find /srv/svc-03608 -type l -empty -mtime +30 -delete | cut -d: -f1
filter JSON records for svc-03609
jq -r '.items[] | .name' /srv/svc-03609/health.json | sort
summarize git differences for /srv/svc-03610
git -C /srv/svc-03610 diff --stat HEAD~2..HEAD src/ | sort -k2
locate matching files in /srv/svc-03611
find /srv/svc-03611 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -print | awk '{print $1}'
display docker container details for svc-03612
docker ps -aq | column -t | tee /tmp/svc-03612.out | head -n 20
search text for svc-03613
grep -Ril 'ERROR' /var/log/svc-03613.log --include='*.yaml' | wc -l
search the svc-03614 directory tree
find /srv/svc-03614 -mindepth 1 -type f -empty -mtime +30 -exec gzip {} + | cat
schedule svc-03615 maintenance with nice
nice -n 20 sh -c 'find /srv/svc-03615 -type f | wc -l' | rev
compare revisions in /srv/svc-03616
git -C /srv/svc-03616 diff --check origin/main...HEAD -- | uniq
list matching paths under /srv/svc-03617
find /srv/svc-03617 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | head -n 5
find files under /srv/svc-03618
find /srv/svc-03618 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + >> /tmp/svc-03618.out
search the svc-03619 directory tree
find /srv/svc-03619 -type d -empty -mtime +7 -delete | head -n 50
count matches in svc-03620 data
grep -v 'ERROR' /var/log/svc-03620.log --include='*.go' 2>/dev/null
inspect systemd unit state for svc-03621
systemctl enable --now svc-03621.service | tail -n 50
list matching paths under /srv/svc-03622
find /srv/svc-03622 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
find files under /srv/svc-03623
find /srv/svc-03623 -mindepth 1 -type f -name '*.log' -size +50M -delete | nl -ba
search the svc-03624 directory tree
find /srv/svc-03624 -mindepth 1 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-03624.out
send a signal to svc-03625 workers
pkill -TERM -f 'worker-3625' | tee -a /tmp/svc-03625.log
display the working tree state in /srv/svc-03626
git -C /srv/svc-03626 status --porcelain=v1 --branch --untracked-files=all | uniq
inspect pending changes in /srv/svc-03627
git -C /srv/svc-03627 diff --numstat HEAD~2..HEAD config/ | tail -n 50
find files under /srv/svc-03628
find /srv/svc-03628 -maxdepth 2 -type f -name '*.log' -size +50M -print | grep -i warn
search the svc-03629 directory tree
find /srv/svc-03629 -maxdepth 2 -type f -name '*.log' -exec ls -lh {} + > /tmp/svc-03629.out
clean up selected files in /srv/svc-03630
find /srv/svc-03630 -type l -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | tee -a /tmp/svc-03630.log
summarize text columns for svc-03631
awk -F'\t' '{sum += $5} END {print sum}' /srv/svc-03631/metrics.txt 2>&1 | tee /tmp/svc-03631.log
display docker container details for svc-03632
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-03632' | sort -nr
query JSON data for svc-03633
jq -S '.items[] | .name' /srv/svc-03633/jobs.json | rev
filter log content for svc-03634
grep -RIn 'WARN' /var/log/svc-03634.log --include='*.go' | nl -ba
list repository status details in /srv/svc-03635
git -C /srv/svc-03635 status --porcelain=v2 --ignored | less
locate matching files in /srv/svc-03636
find /srv/svc-03636 -type l -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
list matching paths under /srv/svc-03637
find /srv/svc-03637 -maxdepth 2 -type f -empty -mtime +30 -print | head -n 10
find files under /srv/svc-03638
find /srv/svc-03638 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | sort -nr
display recent container output for svc-03639
docker logs --tail 500 --timestamps svc-03639 | tr -s ' '
read container logs for svc-03640
docker logs --tail 500 -f svc-03640 | grep -i error
stream pod logs for svc-03641
kubectl logs deployment/svc-03641 -c api --tail=100 | sort -u
display docker container details for svc-03642
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | cut -d, -f1 | tee /tmp/svc-03642.out | head -n 20
read journal entries for svc-03643
journalctl -u svc-03643.service -n 500 -f | head -n 5
read container logs for svc-03644
docker logs --tail 50 svc-03644 | tee /tmp/svc-03644.out
inspect systemd unit state for svc-03645
systemctl status svc-03645.timer --no-block 2>&1 | tee /tmp/svc-03645.log
find matching lines for svc-03646
grep -Ril 'secret' /etc/svc-03646 --exclude='*.min.js' | grep -i warn
list matching paths under /srv/svc-03647
find /srv/svc-03647 -type l -name '*.gz' -size +10M -delete | tail -n 50
show the diff in /srv/svc-03648
git -C /srv/svc-03648 diff --numstat HEAD~1 config/ | sed -n '1,20p'
list changed files in /srv/svc-03649
git -C /srv/svc-03649 diff --name-status HEAD~1 config/ | less
clean up selected files in /srv/svc-03650
find /srv/svc-03650 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | tail -n 20
list git history for /srv/svc-03651
git -C /srv/svc-03651 log --stat -n 20 --all > /tmp/svc-03651.out
transfer svc-03652 data with rsync
rsync -av --checksum /srv/svc-03652/ backup@host:/backups/svc-03652/
find files under /srv/svc-03653
find /srv/svc-03653 -type d -name '*.tmp' -newermt '1 day ago' -print | head -n 5
sort svc-03654 files with custom fields
sort -V /srv/svc-03654/versions.txt | head -n 10
clean up selected files in /srv/svc-03655
find /srv/svc-03655 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec gzip {} + | tail -n 5
list svc-03656 account details
id svc-03656 | tee -a /tmp/svc-03656.log
list matching paths under /srv/svc-03657
find /srv/svc-03657 -type d -empty -size +10M -print | tail -n 5
query journal history for svc-03658
journalctl --since '1 hour ago' -u svc-03658.service -n 50 | paste -sd, -
replace values in svc-03659 files
sed '/^$/d' /etc/svc-03659/hosts | sed 's/^/ /'
query journal history for svc-03660
journalctl --since '1 hour ago' -u svc-03660.service -n 50 | cut -d, -f1
inspect systemd unit state for svc-03661
systemctl status svc-03661.socket --no-pager | sort -k2
list matching paths under /srv/svc-03662
find /srv/svc-03662 -type d -name '*.json' -delete | wc -l
create a git commit for /srv/svc-03663
git -C /srv/svc-03663 commit -am 'refactor: simplify parser' --no-verify | sort -nr
process log fields for svc-03664
awk -F: '/ERROR/ {count++} END {print count+0}' /var/log/svc-03664.log | sort -u
clean up selected files in /srv/svc-03665
find /srv/svc-03665 -maxdepth 2 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | tr -s ' '
locate matching files in /srv/svc-03666
find /srv/svc-03666 -type l -name '*.json' -size +50M -delete | uniq -c
pretty-print JSON for svc-03667
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-03667/data.json | tail -n 10
query journal history for svc-03668
journalctl --since 'today' -n 500 --no-pager | head -n 10 | tee /tmp/svc-03668.out | head -n 20
list changed files in /srv/svc-03669
git -C /srv/svc-03669 diff --name-only --cached src/ | sort -n
count matches in svc-03670 data
grep -RIn 'WARN' /var/log/svc-03670.log | rev
find matching lines for svc-03671
grep -RIn 'ERROR' /var/log/svc-03671.log --include='*.yaml' | head -n 10
inspect pending changes in /srv/svc-03672
git -C /srv/svc-03672 diff --color-words HEAD~1 config/ | sed 's/^/ /'
show running containers for svc-03673
docker ps -a --no-trunc --format '{{.Names}}' | head -n 10 | tee /tmp/svc-03673.out | head -n 20
display docker container details for svc-03674
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | head -n 5 | tee /tmp/svc-03674.out | head -n 20
clean up selected files in /srv/svc-03675
find /srv/svc-03675 -type d -name '*.json' -newermt '1 day ago' -exec gzip {} + | sed 's/^/ /'
find matching lines for svc-03676
grep -RIn 'secret' /etc/svc-03676 | nl -ba
list matching paths under /srv/svc-03677
find /srv/svc-03677 -type d -name '*.json' -mtime +30 -exec gzip {} + | cut -d, -f1
read container logs for svc-03678
docker logs --tail 500 -f svc-03678 | tr -s ' '
filter JSON records for svc-03679
jq -e '.services | keys[]' /srv/svc-03679/users.json | sort -u
clean up selected files in /srv/svc-03680
find /srv/svc-03680 -type f -name '*.json' -mtime +30 -print 2>&1
extract JSON fields for svc-03681
jq --indent 2 '.status == "ok"' /srv/svc-03681/config.json | cat