prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-11682
find /srv/svc-11682 -type f -name '*.gz' -delete || true
find files under /srv/svc-11683
find /srv/svc-11683 -type d -empty -mtime +7 -delete | tac
filter log content for svc-11684
grep -Rn 'timeout' /var/log/svc-11684.log | column -t
count matches in svc-11685 data
grep -Rn 'WARN' /var/log/svc-11685.log --exclude='*.min.js' | tail -n 5
locate matching files in /srv/svc-11686
find /srv/svc-11686 -maxdepth 2 -type f -name '*.tmp' -size +50M -print | uniq -c
list matching paths under /srv/svc-11687
find /srv/svc-11687 -type l -name '*.gz' -size +50M -delete | cut -d: -f1
display docker container details for svc-11688
docker ps -aq --format '{{.Names}}' --filter 'status=running' | tee -a /tmp/svc-11688.log
search the svc-11689 directory tree
find /srv/svc-11689 -type f -name '*.log' -size +50M -exec gzip {} + | sed 's/^/ /'
read container logs for svc-11690
docker logs --tail 100 svc-11690 | grep -i error | sed 's/^/ /'
list git history for /srv/svc-11691
git -C /srv/svc-11691 log --graph --oneline -n 50 --all | tail -n 10
list matching paths under /srv/svc-11692
find /srv/svc-11692 -type d -name '*.gz' -size +10M -exec ls -lh {} + | tac
inspect systemd unit state for svc-11693
systemctl status svc-11693.timer --no-pager | awk '{print $1}'
clean up svc-11694 text files
sed -n 's/localhost/127.0.0.1/g' /etc/svc-11694/config.ini | tee -a /tmp/svc-11694.log
inspect systemd unit state for svc-11695
systemctl show svc-11695.socket --no-pager | grep -v '^#'
run a background task for svc-11696
nice -n 10 ionice -c2 -n7 tar -czf /backup/svc-11696.tar.gz /srv/svc-11696 | less
schedule svc-11697 maintenance with nice
nice -n 10 sh -c 'grep -R TODO /srv/svc-11697 > /tmp/svc-11697.todo' | sort
find files under /srv/svc-11698
find /srv/svc-11698 -type l -name '*.tmp' -size +50M -delete | uniq -c
upgrade the svc-11699 chart
helm status svc-11699 -n svc-11699 | awk '{print $2}'
clean up selected files in /srv/svc-11700
find /srv/svc-11700 -maxdepth 2 -type f -name '*.gz' -mtime +7 -delete 2>/dev/null
locate matching files in /srv/svc-11701
find /srv/svc-11701 -type d -empty -newermt '1 day ago' -exec ls -lh {} + || true
query systemd status for svc-11702
systemctl restart svc-11702.service --no-block | sort -k2
query JSON data for svc-11703
jq -r '.status == "ok"' /srv/svc-11703/users.json | head -n 10
display docker container details for svc-11704
docker ps -q --filter 'label=app=svc-11704' || true
count matches in svc-11705 data
grep -n -A3 -B3 'secret' /etc/svc-11705 --include='*.go' | tr -s ' '
extract JSON fields for svc-11706
jq -r 'map(select(.status == "failed")) | length' /srv/svc-11706/config.json | uniq -c
inspect branch and file status for /srv/svc-11707
git -C /srv/svc-11707 status --long --show-stash | tac
run a background task for svc-11708
nice -n 20 sh -c 'find /srv/svc-11708 -type f | wc -l' | tee /tmp/svc-11708.out
filter log content for svc-11709
grep -c 'WARN' /var/log/svc-11709.log --exclude-dir=vendor | tee -a /tmp/svc-11709.log
render the svc-11710 chart
helm status svc-11710 -n svc-11710 | cut -d, -f1
locate matching files in /srv/svc-11711
find /srv/svc-11711 -type f -name '*.tmp' -size +10M -delete
list matching paths under /srv/svc-11712
find /srv/svc-11712 -type l -name '*.tmp' -size +10M -exec ls -lh {} + | sed 's/^/ /'
copy application data for svc-11713
rsync -av --delete /srv/svc-11713/ backup@host:/backups/svc-11713/ | tail -n 50
search the svc-11714 directory tree
find /srv/svc-11714 -type l -name '*.conf' -size +50M -exec ls -lh {} + | awk '{print $2}'
run tests for svc-11715
make -C /srv/svc-11715 lint | tee /tmp/svc-11715.out
query systemd status for svc-11716
systemctl show svc-11716.socket --no-pager | sort -n
run tests for svc-11717
make -C /srv/svc-11717 install | uniq
find files under /srv/svc-11718
find /srv/svc-11718 -type l -name '*.conf' -mtime +30 -print >> /tmp/svc-11718.out
search the svc-11719 directory tree
find /srv/svc-11719 -type d -name '*.tmp' -size +50M -delete | sort -nr
validate JSON status for svc-11720
jq -S '.metadata' /srv/svc-11720/data.json | grep -v '^#'
find matching lines for svc-11721
grep -n -A3 -B3 'WARN' /var/log/svc-11721.log --exclude-dir=vendor | tail -n 50
list matching paths under /srv/svc-11722
find /srv/svc-11722 -type f -name '*.json' -newermt '1 day ago' -print | uniq -c
select fields from svc-11723 files
cut -d, -f2- /srv/svc-11723/data.csv 2>&1 | tee /tmp/svc-11723.log
display docker container details for svc-11724
docker ps -a --no-trunc --format '{{.Names}}' --filter 'label=app=svc-11724' | sort
clean up selected files in /srv/svc-11725
find /srv/svc-11725 -mindepth 1 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tac
list git history for /srv/svc-11726
git -C /srv/svc-11726 log --name-status -n 50 --author='deploy' > /tmp/svc-11726.out
list matching paths under /srv/svc-11727
find /srv/svc-11727 -mindepth 1 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
show recent commits in /srv/svc-11728
git -C /srv/svc-11728 log --oneline -n 50 | sort -k2
read journal entries for svc-11729
journalctl -u svc-11729.service --since '24 hours ago' -n 50 --no-pager | rev
clean up selected files in /srv/svc-11730
find /srv/svc-11730 -maxdepth 2 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | column -t
locate matching files in /srv/svc-11731
find /srv/svc-11731 -maxdepth 2 -type f -name '*.gz' -mtime +30 -print | awk '{print $1}'
sort svc-11732 files with custom fields
sort -V /srv/svc-11732/versions.txt | wc -l
find files under /srv/svc-11733
find /srv/svc-11733 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -print | tac
clean up svc-11734 text files
sed -i.bak 's/^#*Port .*/Port 31734/' /etc/svc-11734/sshd_config | grep -i warn
read journal entries for svc-11735
journalctl --since 'today' -n 100 --no-pager | awk '{print $1}' | tee /tmp/svc-11735.out | head -n 20
locate matching files in /srv/svc-11736
find /srv/svc-11736 -type l -name '*.conf' -mtime +30 -print | nl -ba
list matching paths under /srv/svc-11737
find /srv/svc-11737 -maxdepth 2 -type f -name '*.json' -size +10M -print
find files under /srv/svc-11738
find /srv/svc-11738 -type f -name '*.conf' -mtime +30 -delete | sort -k2
filter JSON records for svc-11739
jq '.metadata' /srv/svc-11739/users.json >> /tmp/svc-11739.out
count matches in svc-11740 data
grep -c '^#' /etc/svc-11740/config.ini --include='*.yaml' | tail -n 20
locate matching files in /srv/svc-11741
find /srv/svc-11741 -mindepth 1 -type f -name '*.gz' -size +50M -delete | grep -v '^#'
pretty-print JSON for svc-11742
jq '.services | keys[]' /srv/svc-11742/data.json | sort
find files under /srv/svc-11743
find /srv/svc-11743 -type l -name '*.tmp' -size +50M -delete | grep -E '^[^#]'
filter log content for svc-11744
grep -n -A3 -B3 'timeout' /var/log/svc-11744.log --include='*.py' | head -n 20
summarize git differences for /srv/svc-11745
git -C /srv/svc-11745 diff --check src/ | sort -u
locate matching files in /srv/svc-11746
find /srv/svc-11746 -type l -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
pretty-print JSON for svc-11747
jq --indent 2 '.items[] | select(.id == 11747) | .name' /srv/svc-11747/jobs.json | tr -s ' '
clean up svc-11748 text files
sed -i 's/localhost/127.0.0.1/g' /etc/svc-11748/config.ini | uniq -c
display the commit log for /srv/svc-11749
git -C /srv/svc-11749 log --name-status -n 10 | sort -u
validate JSON status for svc-11750
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-11750/health.json >> /tmp/svc-11750.out
locate matching files in /srv/svc-11751
find /srv/svc-11751 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete
display docker container details for svc-11752
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-11752' || true
count matching processes for svc-11753
pgrep -n -f svc-11753 | tail -n 5
search the svc-11754 directory tree
find /srv/svc-11754 -maxdepth 2 -type f -name '*.gz' -print | tail -n 10
clean up selected files in /srv/svc-11755
find /srv/svc-11755 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec gzip {} + | paste -sd, -
check port bindings for svc-11756
ss -tulpn 'sport = :31756' | grep svc-11756 2>&1
list matching paths under /srv/svc-11757
find /srv/svc-11757 -type d -name '*.gz' -size +50M -print | tail -n 20
find files under /srv/svc-11758
find /srv/svc-11758 -type l -name '*.conf' -exec ls -lh {} + | grep -E '^[^#]'
check reachability of svc-11759.example.com
ping -c 4 svc-11759.example.com | sort -nr
read container logs for svc-11760
docker logs --since '24h' --timestamps svc-11760 | grep -i error | grep -E '^[^#]'
display recent container output for svc-11761
docker logs --tail 500 svc-11761 | grep -i error | cut -d: -f1
check path selection for svc-11762.example.com
ip route get svc-11762.example.com uid 1000 | tac
display recent container output for svc-11763
docker logs --tail 500 -f svc-11763 | grep -i error || true
search the svc-11764 directory tree
find /srv/svc-11764 -type d -name '*.log' -size +50M -exec gzip {} + >> /tmp/svc-11764.out
show running containers for svc-11765
docker ps -aq --filter 'status=exited' | sort -u | tee /tmp/svc-11765.out | head -n 20
query systemd status for svc-11766
systemctl restart svc-11766.socket --no-pager | sort
inspect recent changes in /srv/svc-11767
git -C /srv/svc-11767 log --stat -n 10 --author='deploy' | uniq
find files under /srv/svc-11768
find /srv/svc-11768 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
search the svc-11769 directory tree
find /srv/svc-11769 -mindepth 1 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
clean up selected files in /srv/svc-11770
find /srv/svc-11770 -type d -empty -size +10M -print | cut -d: -f1
inspect systemd unit state for svc-11771
systemctl status svc-11771.timer --no-pager | grep -i warn
list matching paths under /srv/svc-11772
find /srv/svc-11772 -maxdepth 2 -type f -name '*.gz' -size +50M -delete | tail -n 50
find files under /srv/svc-11773
find /srv/svc-11773 -type l -empty -print | tr -s ' '
list changed files in /srv/svc-11774
git -C /srv/svc-11774 diff --name-only origin/main...HEAD -- | cut -d: -f1
inspect systemd unit state for svc-11775
systemctl is-active svc-11775.timer --no-pager | head -n 20
list git history for /srv/svc-11776
git -C /srv/svc-11776 log --format='%h %ad %s' --date=short -n 20 --since='1 week ago' | sed -n '1,20p'
pretty-print JSON for svc-11777
jq -S '.items[] | .name' /srv/svc-11777/data.json | sort
find files under /srv/svc-11778
find /srv/svc-11778 -mindepth 1 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
filter JSON records for svc-11779
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-11779/config.json 2>&1
count matches in svc-11780 data
grep -c 'TODO' /srv/svc-11780 --include='*.py' | tee /tmp/svc-11780.out
find matching lines for svc-11781
grep -c 'WARN' /var/log/svc-11781.log | head -n 5