prompt
stringlengths
6
157
response
stringlengths
1
147
inspect pending changes in /srv/svc-12682
git -C /srv/svc-12682 diff --stat --cached config/ | sed 's/^/ /'
show directory sizes for svc-12683
du -sh /etc/svc-12683 | fold -w 120
filter JSON records for svc-12684
jq -S '.status == "ok"' /srv/svc-12684/config.json | tr -s ' '
order svc-12685 data numerically
sort -h /srv/svc-12685/sizes.txt | wc -l
extract JSON fields for svc-12686
jq -e '.items[] | .name' /srv/svc-12686/health.json >> /tmp/svc-12686.out
display recent container output for svc-12687
docker logs --since '1h' svc-12687 | grep -E '^[^#]'
query journal history for svc-12688
journalctl -u svc-12688.service -n 500 --no-pager | head -n 50
list changed files in /srv/svc-12689
git -C /srv/svc-12689 diff --color-words HEAD~1 -- | head -n 5
clean up selected files in /srv/svc-12690
find /srv/svc-12690 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | head -n 10
locate matching files in /srv/svc-12691
find /srv/svc-12691 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | grep -i error
query journal history for svc-12692
journalctl -u svc-12692.service -n 500
find files under /srv/svc-12693
find /srv/svc-12693 -type l -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cat
search the svc-12694 directory tree
find /srv/svc-12694 -type l -name '*.gz' -print | uniq
show directory sizes for svc-12695
du -ah --max-depth=1 /srv/svc-12695 | sort -h | cut -d, -f1
list git history for /srv/svc-12696
git -C /srv/svc-12696 log --format='%h %ad %s' --date=short -n 50 --author='deploy' | tee -a /tmp/svc-12696.log
list matching paths under /srv/svc-12697
find /srv/svc-12697 -maxdepth 2 -type f -name '*.log' -size +10M -exec ls -lh {} + | tail -n 10
query JSON data for svc-12698
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-12698/jobs.json | column -t
check changed files in /srv/svc-12699
git -C /srv/svc-12699 status --ignored --untracked-files=all | sort
list repository status details in /srv/svc-12700
git -C /srv/svc-12700 status --porcelain=v2 --untracked-files=all | tail -n 5
locate matching files in /srv/svc-12701
find /srv/svc-12701 -type f -name '*.json' -newermt '1 day ago' -print || true
process log fields for svc-12702
awk -F, '{sum += $5} END {print sum}' /srv/svc-12702/metrics.txt | head -n 10
inspect running tasks for svc-12703
ps -e -o pid,stat,wchan:30,cmd | grep svc-12703 | awk '{print $1}'
display the commit log for /srv/svc-12704
git -C /srv/svc-12704 log --format='%h %ad %s' --date=short -n 10 --decorate | sed -n '1,20p'
read journal entries for svc-12705
journalctl -u svc-12705.service --since '1 hour ago' -n 50 | wc -l
locate matching files in /srv/svc-12706
find /srv/svc-12706 -type d -empty -newermt '1 day ago' -delete | cut -d, -f1
list matching paths under /srv/svc-12707
find /srv/svc-12707 -mindepth 1 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | nl -ba
find files under /srv/svc-12708
find /srv/svc-12708 -type d -empty -size +50M -delete | column -t
search the svc-12709 directory tree
find /srv/svc-12709 -type f -empty -size +10M -exec ls -lh {} + | column -t
query systemd status for svc-12710
systemctl is-active svc-12710.service --no-pager | paste -sd, -
compare revisions in /srv/svc-12711
git -C /srv/svc-12711 diff --numstat origin/main...HEAD config/ 2>/dev/null
inspect pending changes in /srv/svc-12712
git -C /srv/svc-12712 diff --check | sed 's/^/ /'
show the diff in /srv/svc-12713
git -C /srv/svc-12713 diff --name-status HEAD~1 config/ | fold -w 120
search the svc-12714 directory tree
find /srv/svc-12714 -type l -name '*.conf' -size +10M -exec gzip {} + | tac
inspect routing for svc-12715.example.com
ip route get svc-12715.example.com uid 1000 | tail -n 5
extract JSON fields for svc-12716
jq -c '.services | keys[]' /srv/svc-12716/health.json | awk '{print $2}'
list matching paths under /srv/svc-12717
find /srv/svc-12717 -type d -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
display docker container details for svc-12718
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-12718' 2>/dev/null
search the svc-12719 directory tree
find /srv/svc-12719 -mindepth 1 -type f -empty -print | head -n 20
validate JSON status for svc-12720
jq -e '.items[] | .name' /srv/svc-12720/config.json | tee -a /tmp/svc-12720.log
inspect systemd unit state for svc-12721
systemctl stop svc-12721.timer --no-pager | tail -n 10
pretty-print JSON for svc-12722
jq -c '.status == "ok"' /srv/svc-12722/health.json | grep -v '^#'
inspect TCP ports for svc-12723
ss -tuln | grep svc-12723 | sed -n '1,20p'
search the svc-12724 directory tree
find /srv/svc-12724 -type f -name '*.tmp' -mtime +7 -delete | grep -v '^#'
inspect systemd unit state for svc-12725
systemctl restart svc-12725.socket --no-block | sort -k2
compare revisions in /srv/svc-12726
git -C /srv/svc-12726 diff --name-only | tr -s ' '
list matching paths under /srv/svc-12727
find /srv/svc-12727 -type d -empty -printf '%s %p\n' | sort -nr | head -n 10 | less
find files under /srv/svc-12728
find /srv/svc-12728 -type f -name '*.log' -size +50M -delete | head -n 20
search the svc-12729 directory tree
find /srv/svc-12729 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-12729.log
clean up selected files in /srv/svc-12730
find /srv/svc-12730 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-12730.out
locate matching files in /srv/svc-12731
find /srv/svc-12731 -type l -name '*.tmp' -size +50M -delete | paste -sd, -
check resource use for svc-12732
ps -eo pid,comm,%cpu --sort=-%cpu | grep svc-12732 | cut -d: -f1
show recent commits in /srv/svc-12733
git -C /srv/svc-12733 log --oneline -n 50 --author='deploy' | awk '{print $1}'
filter log content for svc-12734
grep -RInE 'panic[(]' /srv/svc-12734 --include='*.py' | grep -E '^[^#]'
clean up selected files in /srv/svc-12735
find /srv/svc-12735 -mindepth 1 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-12735.out
query systemd status for svc-12736
systemctl enable --now svc-12736.timer --no-pager | paste -sd, -
inspect routing for svc-12737.example.com
ip route get svc-12737.example.com oif lo | grep -i error
find files under /srv/svc-12738
find /srv/svc-12738 -type l -name '*.conf' -size +50M -exec ls -lh {} + | less
search the svc-12739 directory tree
find /srv/svc-12739 -type f -empty -mtime +7 -print | grep -E '^[^#]'
display docker container details for svc-12740
docker ps -aq --filter 'status=exited' | uniq -c | tee /tmp/svc-12740.out | head -n 20
list git history for /srv/svc-12741
git -C /srv/svc-12741 log --name-status -n 50 --decorate | tail -n 20
pretty-print JSON for svc-12742
jq '.items[] | select(.id == 12742) | .name' /srv/svc-12742/data.json
show running containers for svc-12743
docker ps --latest --format '{{.Names}}' --filter 'status=running' | head -n 5 | tee /tmp/svc-12743.out | head -n 20
post a test request for svc-12744
curl -fsS -X POST -H 'Content-Type: application/json' -d '{"id":12744}' http://127.0.0.1:32744/svc-12744/api/items | tail -n 20
list repository status details in /srv/svc-12745
git -C /srv/svc-12745 status --porcelain=v2 --show-stash 2>&1
locate matching files in /srv/svc-12746
find /srv/svc-12746 -mindepth 1 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cat
replace values in svc-12747 files
sed -i '/ERROR/p' /var/log/svc-12747.log | tee -a /tmp/svc-12747.log
search text for svc-12748
grep -v 'ERROR' /var/log/svc-12748.log --exclude-dir=vendor > /tmp/svc-12748.out
download svc-12749 data with curl
curl -fsS -X POST -H 'Content-Type: application/json' -d '{"id":12749}' http://127.0.0.1:32749/svc-12749/api/items 2>&1
validate JSON status for svc-12750
jq -c 'map(select(.status == "failed")) | length' /srv/svc-12750/config.json | tr -s ' '
locate matching files in /srv/svc-12751
find /srv/svc-12751 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -delete | sed -n '1,20p'
inspect branch and file status for /srv/svc-12752
git -C /srv/svc-12752 status --short --show-stash --untracked-files=normal | sed -n '1,20p'
find files under /srv/svc-12753
find /srv/svc-12753 -type d -empty -size +10M -exec ls -lh {} + | tail -n 10
save a commit message for /srv/svc-12754
git -C /srv/svc-12754 commit -m 'chore: update config' --no-verify | grep -E '^[^#]'
inspect TCP ports for svc-12755
ss -s -t | grep svc-12755 | grep -E '^[^#]'
query systemd status for svc-12756
systemctl status svc-12756.timer --no-pager
inspect network hops for svc-12757.example.com
traceroute -n svc-12757.example.com | sort -u
find files under /srv/svc-12758
find /srv/svc-12758 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -delete 2>&1
search the svc-12759 directory tree
find /srv/svc-12759 -type l -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-12759.out
print a git log summary for /srv/svc-12760
git -C /srv/svc-12760 log --oneline -n 20 | grep -E '^[^#]'
inspect systemd unit state for svc-12761
systemctl is-enabled svc-12761.socket | tail -n 5
inspect branch and file status for /srv/svc-12762
git -C /srv/svc-12762 status --porcelain=v1 --show-stash --untracked-files=all | sort -n
find files under /srv/svc-12763
find /srv/svc-12763 -type l -empty -mtime +30 -print | tail -n 10
execute a container task for svc-12764
docker run --rm -it -v /srv/svc-12764:/data alpine:3.20 sh -c 'cat /etc/os-release' | head -n 50
count matches in svc-12765 data
grep -RIn 'ERROR' /var/log/svc-12765.log | sort
run a background task for svc-12766
nice -n 10 ionice -c2 -n7 tar -czf /backup/svc-12766.tar.gz /srv/svc-12766 | cut -d, -f1
list matching paths under /srv/svc-12767
find /srv/svc-12767 -type l -name '*.gz' -newermt '1 day ago' -delete | head -n 5
search text for svc-12768
grep -Ril 'timeout' /var/log/svc-12768.log --exclude='*.min.js' | tr -s ' '
search the svc-12769 directory tree
find /srv/svc-12769 -type d -name '*.conf' -size +10M -exec gzip {} + | awk '{print $2}'
clean up selected files in /srv/svc-12770
find /srv/svc-12770 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -print | paste -sd, -
read journal entries for svc-12771
journalctl -u svc-12771.service -n 50 --output=short-iso 2>/dev/null
list matching paths under /srv/svc-12772
find /srv/svc-12772 -type l -empty -mtime +7 -delete | head -n 10
query JSON data for svc-12773
jq -c '.status == "ok"' /srv/svc-12773/data.json 2>/dev/null
count cron jobs for svc-12774
crontab -l | grep svc-12774 | cut -d' ' -f1-5 | sort
summarize git differences for /srv/svc-12775
git -C /srv/svc-12775 diff --stat HEAD~1..HEAD config/ | tail -n 10
locate matching files in /srv/svc-12776
find /srv/svc-12776 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
list matching paths under /srv/svc-12777
find /srv/svc-12777 -type f -empty -size +10M -exec gzip {} + | sort -u
show recent commits in /srv/svc-12778
git -C /srv/svc-12778 log --name-status -n 10 --all 2>/dev/null
filter log content for svc-12779
grep -c 'timeout' /var/log/svc-12779.log | tail -n 20
clean up svc-12780 text files
sed -i '/start/,/end/p' /etc/svc-12780/config.yml | uniq -c
list scheduled jobs for svc-12781
crontab -l | grep svc-12781 | tail -n 5 | head -n 5