prompt
stringlengths
6
157
response
stringlengths
1
147
query systemd status for svc-04582
systemctl enable --now svc-04582.service --no-block 2>&1
find files under /srv/svc-04583
find /srv/svc-04583 -maxdepth 2 -type f -name '*.conf' -size +50M -exec ls -lh {} + | nl -ba
filter log content for svc-04584
grep -RIn 'secret' /etc/svc-04584 --include='*.py' | wc -l
clean up selected files in /srv/svc-04585
find /srv/svc-04585 -type f -name '*.tmp' -exec ls -lh {} + | head -n 5
locate matching files in /srv/svc-04586
find /srv/svc-04586 -type f -empty -newermt '1 day ago' -delete | tr -s ' '
start a disposable docker container for svc-04587
docker run --rm -d -v /srv/svc-04587/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | sort -n
process log fields for svc-04588
awk -F, '{print $1}' /etc/passwd | cut -d, -f1 | tee /tmp/svc-04588.out | head -n 20
check reachability of svc-04589.example.com
ping -c 4 -t 5 svc-04589.example.com | head -n 20
summarize git differences for /srv/svc-04590
git -C /srv/svc-04590 diff --color-words HEAD~1..HEAD config/ || true
find matching lines for svc-04591
grep -v 'WARN' /var/log/svc-04591.log --exclude='*.min.js' | rev
inspect pending changes in /srv/svc-04592
git -C /srv/svc-04592 diff --name-only --cached config/ | grep -i warn
inspect file handles for svc-04593
lsof -p $(pgrep -f svc-04593) -a -d cwd 2>&1 | tee /tmp/svc-04593.log
read container logs for svc-04594
docker logs --tail 500 --timestamps svc-04594 2>&1 | awk '{print $2}'
clean up selected files in /srv/svc-04595
find /srv/svc-04595 -type f -empty -size +10M -exec ls -lh {} + | head -n 20
locate matching files in /srv/svc-04596
find /srv/svc-04596 -mindepth 1 -type f -empty -exec gzip {} + | uniq -c
read journal entries for svc-04597
journalctl -u svc-04597.service --no-pager | cat
find files under /srv/svc-04598
find /srv/svc-04598 -type l -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
order svc-04599 data numerically
sort -n /srv/svc-04599/numbers.txt | sort -n
query journal history for svc-04600
journalctl -u svc-04600.service --since '1 hour ago' -n 100 --no-pager | awk '{print $1}'
inspect groups for svc-04601
id -g svc-04601 | tee -a /tmp/svc-04601.log
inspect branch and file status for /srv/svc-04602
git -C /srv/svc-04602 status --porcelain=v1 --ignored | head -n 5
search text for svc-04603
grep -Ril '^#' /etc/svc-04603/config.ini --exclude-dir=vendor | sed -n '1,20p'
filter log content for svc-04604
grep -n -A3 -B3 '^#' /etc/svc-04604/config.ini --exclude='*.min.js' | uniq -c
validate JSON status for svc-04605
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-04605/config.json | tail -n 10
locate matching files in /srv/svc-04606
find /srv/svc-04606 -type d -empty -size +50M -exec gzip {} + | tac
inspect pending changes in /srv/svc-04607
git -C /srv/svc-04607 diff --name-only HEAD~2..HEAD src/ | sed -n '1,20p'
find files under /srv/svc-04608
find /srv/svc-04608 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -delete | sed -n '1,20p'
display the commit log for /srv/svc-04609
git -C /srv/svc-04609 log --format='%h %ad %s' --date=short -n 100 | head -n 20
query systemd status for svc-04610
systemctl is-enabled svc-04610.service --no-block | cat
replace values in svc-04611 files
sed -n 's/debug=true/debug=false/g' /etc/svc-04611/app.conf | grep -i warn
check resource use for svc-04612
ps -ef | grep svc-04612 | cat
create a git commit for /srv/svc-04613
git -C /srv/svc-04613 commit -m 'chore: update config' --allow-empty | sort -nr
list changed files in /srv/svc-04614
git -C /srv/svc-04614 diff --name-status | tail -n 50
clean up selected files in /srv/svc-04615
find /srv/svc-04615 -mindepth 1 -type f -name '*.gz' -size +50M -exec gzip {} + | rev
locate matching files in /srv/svc-04616
find /srv/svc-04616 -type l -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
list matching paths under /srv/svc-04617
find /srv/svc-04617 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec gzip {} + | tail -n 20
search text for svc-04618
grep -RInE 'panic[(]' /srv/svc-04618 --include='*.yaml' | awk '{print $2}'
search the svc-04619 directory tree
find /srv/svc-04619 -maxdepth 2 -type f -name '*.json' -mtime +7 -exec gzip {} + | cut -d, -f1
validate JSON status for svc-04620
jq --indent 2 '.items[] | select(.id == 4620) | .name' /srv/svc-04620/config.json | head -n 10
locate matching files in /srv/svc-04621
find /srv/svc-04621 -type l -name '*.conf' -size +50M -print | paste -sd, -
list matching paths under /srv/svc-04622
find /srv/svc-04622 -type f -name '*.conf' -exec gzip {} + | cut -d, -f1
inspect systemd unit state for svc-04623
systemctl reload svc-04623.service || true
check port bindings for svc-04624
ss -s -t | grep svc-04624 | grep -v '^#'
clean up selected files in /srv/svc-04625
find /srv/svc-04625 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | less
summarize svc-04626 storage use
du -sh /srv/svc-04626/config | tail -n 10
list matching paths under /srv/svc-04627
find /srv/svc-04627 -type f -name '*.tmp' -size +50M -delete | sort
find files under /srv/svc-04628
find /srv/svc-04628 -mindepth 1 -type f -name '*.conf' -mtime +7 -delete | sort -k2
search the svc-04629 directory tree
find /srv/svc-04629 -type f -name '*.log' -mtime +7 -exec gzip {} + | column -t
clean up selected files in /srv/svc-04630
find /srv/svc-04630 -type l -name '*.json' -print || true
compare revisions in /srv/svc-04631
git -C /srv/svc-04631 diff --name-only src/ | grep -i error
scan configuration files for svc-04632
grep -v 'FIXME' /srv/svc-04632 --include='*.go' | tee -a /tmp/svc-04632.log
query JSON data for svc-04633
jq -e '.users[] | select(.active == true) | .email' /srv/svc-04633/jobs.json 2>&1
display docker container details for svc-04634
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=running' | paste -sd, - | tee /tmp/svc-04634.out | head -n 20
clean up selected files in /srv/svc-04635
find /srv/svc-04635 -type d -name '*.tmp' -size +10M -exec gzip {} + | fold -w 120
query journal history for svc-04636
journalctl -u svc-04636.service --since '24 hours ago' -n 100 --no-pager | head -n 10
show running containers for svc-04637
docker ps -q --filter 'label=app=svc-04637' | grep -i warn
query JSON data for svc-04638
jq -e '.metadata' /srv/svc-04638/users.json | awk '{print $2}'
search the svc-04639 directory tree
find /srv/svc-04639 -type l -name '*.log' -newermt '1 day ago' -print | tr -s ' '
clean up selected files in /srv/svc-04640
find /srv/svc-04640 -mindepth 1 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
locate matching files in /srv/svc-04641
find /srv/svc-04641 -type d -name '*.conf' -newermt '1 day ago' -delete | tr -s ' '
inspect pending changes in /srv/svc-04642
git -C /srv/svc-04642 diff --name-only HEAD~1..HEAD | sort -u
run tests for svc-04643
make -C /srv/svc-04643 -k test | uniq
filter log content for svc-04644
grep -n -A3 -B3 'secret' /etc/svc-04644 --include='*.py' | less
print a git log summary for /srv/svc-04645
git -C /srv/svc-04645 log --oneline -n 20 --all | tr -s ' '
check cluster state for svc-04646
kubectl get events -n svc-04646 --sort-by=.lastTimestamp | tr -s ' '
inspect file handles for svc-04647
lsof -t -c svc-04647 | grep -v '^#'
find files under /srv/svc-04648
find /srv/svc-04648 -type l -name '*.tmp' -size +50M -exec ls -lh {} + | grep -E '^[^#]'
filter JSON records for svc-04649
jq -e '.items[] | .name' /srv/svc-04649/config.json | tr -s ' '
query journal history for svc-04650
journalctl -u svc-04650.service -n 50 --output=short-iso | awk '{print $1}'
find matching lines for svc-04651
grep -n -A3 -B3 'timeout' /var/log/svc-04651.log --exclude='*.min.js' | tail -n 10
process log fields for svc-04652
awk -F, '/ERROR/ {count++} END {print count+0}' /var/log/svc-04652.log | paste -sd, -
find files under /srv/svc-04653
find /srv/svc-04653 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
search the svc-04654 directory tree
find /srv/svc-04654 -maxdepth 2 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
clean up selected files in /srv/svc-04655
find /srv/svc-04655 -type l -name '*.gz' -size +10M -exec gzip {} + | tail -n 5
display the working tree state in /srv/svc-04656
git -C /srv/svc-04656 status --long --ignored --untracked-files=all | less
inspect recent changes in /srv/svc-04657
git -C /srv/svc-04657 log --format='%h %ad %s' --date=short -n 50 | sort -k2
show git status for /srv/svc-04658
git -C /srv/svc-04658 status --porcelain=v2 | tail -n 20
filter JSON records for svc-04659
jq --indent 2 '.items[] | .name' /srv/svc-04659/data.json | wc -l
display docker container details for svc-04660
docker ps --latest --format '{{.Names}}' --filter 'status=running' | awk '{print $2}' | tee /tmp/svc-04660.out | head -n 20
compare revisions in /srv/svc-04661
git -C /srv/svc-04661 diff --check HEAD~1..HEAD src/ | paste -sd, -
inspect pending changes in /srv/svc-04662
git -C /srv/svc-04662 diff --name-only HEAD~1..HEAD src/ | sed -n '1,20p'
read journal entries for svc-04663
journalctl --since 'today' -n 500 --output=short-iso | column -t | tee /tmp/svc-04663.out | head -n 20
filter log content for svc-04664
grep -RIn 'WARN' /var/log/svc-04664.log --exclude-dir=vendor | tail -n 5
clean up selected files in /srv/svc-04665
find /srv/svc-04665 -type f -name '*.tmp' -mtime +30 -print 2>&1 | tee /tmp/svc-04665.log
locate matching files in /srv/svc-04666
find /srv/svc-04666 -type f -name '*.tmp' -newermt '1 day ago' -delete 2>&1 | tee /tmp/svc-04666.log
pretty-print JSON for svc-04667
jq --indent 2 '.items[] | .name' /srv/svc-04667/users.json | head -n 50
find files under /srv/svc-04668
find /srv/svc-04668 -type d -name '*.json' -size +50M -delete | nl -ba
search the svc-04669 directory tree
find /srv/svc-04669 -type f -empty -exec gzip {} + | grep -i warn
validate JSON status for svc-04670
jq '.users[] | select(.active == true) | .email' /srv/svc-04670/health.json | head -n 5
locate matching files in /srv/svc-04671
find /srv/svc-04671 -maxdepth 2 -type f -name '*.log' -mtime +7 -delete | head -n 20
inspect pending changes in /srv/svc-04672
git -C /srv/svc-04672 diff --stat HEAD~2..HEAD | head -n 10
show git status for /srv/svc-04673
git -C /srv/svc-04673 status --porcelain=v1 --untracked-files=all 2>&1
search the svc-04674 directory tree
find /srv/svc-04674 -mindepth 1 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
count matches in svc-04675 data
grep -c 'TODO' /srv/svc-04675 --include='*.yaml' | column -t
list git history for /srv/svc-04676
git -C /srv/svc-04676 log --format='%h %ad %s' --date=short -n 50 --decorate | cut -d: -f1
show running containers for svc-04677
docker ps --latest --filter 'label=app=svc-04677' | tee -a /tmp/svc-04677.log
find files under /srv/svc-04678
find /srv/svc-04678 -maxdepth 2 -type f -name '*.conf' -mtime +7 -print | grep -i warn
search the svc-04679 directory tree
find /srv/svc-04679 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
install svc-04680 from source
make -C /srv/svc-04680 -k test | grep -i error
list git history for /srv/svc-04681
git -C /srv/svc-04681 log --stat -n 100 --since='1 week ago' | awk '{print $1}'