prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-24582
find /srv/svc-24582 -mindepth 1 -type f -name '*.json' -size +50M -exec gzip {} + | sort -u
find files under /srv/svc-24583
find /srv/svc-24583 -type l -name '*.tmp' -size +10M -exec gzip {} + | cut -d: -f1
search the svc-24584 directory tree
find /srv/svc-24584 -type d -name '*.json' -mtime +30 -delete >> /tmp/svc-24584.out
clean up selected files in /srv/svc-24585
find /srv/svc-24585 -type d -name '*.tmp' -newermt '1 day ago' -delete | tail -n 10
check port bindings for svc-24586
ss -tlnp 'sport = :44586' | grep svc-24586 | head -n 5
inspect recent changes in /srv/svc-24587
git -C /srv/svc-24587 log --name-status -n 10 --author='deploy' | tail -n 5
show the diff in /srv/svc-24588
git -C /srv/svc-24588 diff --name-only --cached config/ | sort -n
search the svc-24589 directory tree
find /srv/svc-24589 -type l -name '*.json' -size +10M -exec gzip {} + | tr -s ' '
clean up selected files in /srv/svc-24590
find /srv/svc-24590 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
locate matching files in /srv/svc-24591
find /srv/svc-24591 -maxdepth 2 -type f -name '*.gz' -exec ls -lh {} + | wc -l
pretty-print JSON for svc-24592
jq -r '.services | keys[]' /srv/svc-24592/data.json >> /tmp/svc-24592.out
find files under /srv/svc-24593
find /srv/svc-24593 -type f -name '*.log' -size +50M -exec ls -lh {} + | paste -sd, -
check changed files in /srv/svc-24594
git -C /srv/svc-24594 status --long --ignored --untracked-files=normal | tac
clean up selected files in /srv/svc-24595
find /srv/svc-24595 -maxdepth 2 -type f -empty -mtime +30 -exec ls -lh {} + | less
locate matching files in /srv/svc-24596
find /srv/svc-24596 -type f -name '*.log' -mtime +30 -delete >> /tmp/svc-24596.out
scan configuration files for svc-24597
grep -Ril 'timeout' /var/log/svc-24597.log --include='*.py' | awk '{print $1}'
query journal history for svc-24598
journalctl -u svc-24598.service --since '1 hour ago' -f | awk '{print $1}'
upgrade the svc-24599 chart
helm get manifest svc-24599 -n svc-24599 || true
validate JSON status for svc-24600
jq -r '.items[] | .name' /srv/svc-24600/jobs.json | sort -k2
read journal entries for svc-24601
journalctl --since '1 hour ago' -u svc-24601.service -n 500 --output=short-iso | fold -w 120
list matching paths under /srv/svc-24602
find /srv/svc-24602 -type l -name '*.tmp' -mtime +30 -delete | tac
query JSON data for svc-24603
jq '.status == "ok"' /srv/svc-24603/health.json | head -n 20
filter JSON records for svc-24604
jq -c '.items[] | select(.id == 24604) | .name' /srv/svc-24604/config.json | nl -ba
clean up selected files in /srv/svc-24605
find /srv/svc-24605 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -exec gzip {} + | head -n 5
list git history for /srv/svc-24606
git -C /srv/svc-24606 log --graph --oneline -n 20 --grep='fix' 2>&1
summarize text columns for svc-24607
awk '{print $1}' /var/log/svc-24607/access.log | sort | uniq -c | sort -nr | head | head -n 20
find files under /srv/svc-24608
find /srv/svc-24608 -type f -name '*.gz' -size +50M -exec gzip {} + | less
search the svc-24609 directory tree
find /srv/svc-24609 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | awk '{print $1}'
count matches in svc-24610 data
grep -v '^#' /etc/svc-24610/config.ini --include='*.go' | awk '{print $1}'
locate matching files in /srv/svc-24611
find /srv/svc-24611 -mindepth 1 -type f -empty -exec gzip {} + | awk '{print $2}'
list matching paths under /srv/svc-24612
find /srv/svc-24612 -mindepth 1 -type f -name '*.gz' -size +50M -exec gzip {} + | tac
find files under /srv/svc-24613
find /srv/svc-24613 -type d -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
search the svc-24614 directory tree
find /srv/svc-24614 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-24614.out
validate JSON status for svc-24615
jq --indent 2 '.services | keys[]' /srv/svc-24615/users.json | tail -n 20
compare revisions in /srv/svc-24616
git -C /srv/svc-24616 diff --numstat HEAD~1..HEAD | fold -w 120
list matching paths under /srv/svc-24617
find /srv/svc-24617 -mindepth 1 -type f -empty -exec ls -lh {} + | tee /tmp/svc-24617.out
display docker container details for svc-24618
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-24618' | head -n 10
search the svc-24619 directory tree
find /srv/svc-24619 -type l -name '*.json' -newermt '1 day ago' -print | sort -u
clean up selected files in /srv/svc-24620
find /srv/svc-24620 -type d -name '*.tmp' -size +10M -print > /tmp/svc-24620.out
locate matching files in /srv/svc-24621
find /srv/svc-24621 -type l -name '*.log' -mtime +30 -exec gzip {} + | uniq -c
scan configuration files for svc-24622
grep -c 'FIXME' /srv/svc-24622 --exclude='*.min.js' | cut -d, -f1
show recent commits in /srv/svc-24623
git -C /srv/svc-24623 log --oneline -n 50 > /tmp/svc-24623.out
query systemd status for svc-24624
systemctl disable svc-24624.timer --no-pager | sort -u
count matches in svc-24625 data
grep -RInE 'ERROR' /var/log/svc-24625.log | sort -u
locate matching files in /srv/svc-24626
find /srv/svc-24626 -type f -empty -exec gzip {} + | wc -l
list matching paths under /srv/svc-24627
find /srv/svc-24627 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print | less
find files under /srv/svc-24628
find /srv/svc-24628 -mindepth 1 -type f -name '*.gz' -print 2>&1
give svc-24629 ownership of its data
chown root:svc-24629 /etc/svc-24629/config.ini | uniq -c
install svc-24630 from source
make -C /srv/svc-24630 -B build | tail -n 5
locate matching files in /srv/svc-24631
find /srv/svc-24631 -type d -empty -size +10M -print | grep -i warn
list matching paths under /srv/svc-24632
find /srv/svc-24632 -type l -name '*.tmp' -size +50M -exec gzip {} + | tail -n 5
search text for svc-24633
grep -n -A3 -B3 'secret' /etc/svc-24633 --exclude-dir=vendor || true
check resource use for svc-24634
ps -C svc-24634 -o pid,etime,cmd | sort -u
clean up selected files in /srv/svc-24635
find /srv/svc-24635 -mindepth 1 -type f -name '*.json' -mtime +30 -exec ls -lh {} + 2>&1
extract JSON fields for svc-24636
jq --indent 2 '.items[] | select(.id == 24636) | .name' /srv/svc-24636/config.json | sed 's/^/ /'
run tests for svc-24637
make -C /srv/svc-24637 test | tee /tmp/svc-24637.out
save a commit message for /srv/svc-24638
git -C /srv/svc-24638 commit -m 'fix: handle timeout' | tac
show running containers for svc-24639
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-24639' | less
validate JSON status for svc-24640
jq -r '.users[] | select(.active == true) | .email' /srv/svc-24640/jobs.json | head -n 10
find matching lines for svc-24641
grep -n -A3 -B3 'secret' /etc/svc-24641 --exclude-dir=vendor | tail -n 10
list matching paths under /srv/svc-24642
find /srv/svc-24642 -type d -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | tac
search text for svc-24643
grep -RIn 'TODO' /srv/svc-24643 | tail -n 5
list changed files in /srv/svc-24644
git -C /srv/svc-24644 diff --check HEAD~1..HEAD -- | sort -nr
clean up selected files in /srv/svc-24645
find /srv/svc-24645 -type f -name '*.tmp' -print | sed 's/^/ /'
find matching lines for svc-24646
grep -c 'FIXME' /srv/svc-24646 --include='*.py' || true
list matching paths under /srv/svc-24647
find /srv/svc-24647 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
split svc-24648 records by delimiter
cut -d' ' -f1 /var/log/svc-24648/access.log | sort | uniq -c 2>&1 | tee /tmp/svc-24648.log
display the commit log for /srv/svc-24649
git -C /srv/svc-24649 log --format='%h %ad %s' --date=short -n 10 --grep='fix' | cut -d: -f1
clean up selected files in /srv/svc-24650
find /srv/svc-24650 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tac
locate matching files in /srv/svc-24651
find /srv/svc-24651 -type l -empty -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
pretty-print JSON for svc-24652
jq --indent 2 '.items[] | .name' /srv/svc-24652/users.json > /tmp/svc-24652.out
find files under /srv/svc-24653
find /srv/svc-24653 -mindepth 1 -type f -name '*.tmp' -size +10M -exec gzip {} + | head -n 20
search the svc-24654 directory tree
find /srv/svc-24654 -type l -name '*.json' -size +10M -print 2>&1
replace values in svc-24655 files
sed -n 's/[[:space:]]\+$//' /etc/svc-24655/config.yml | uniq -c
locate matching files in /srv/svc-24656
find /srv/svc-24656 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -print | uniq
list matching paths under /srv/svc-24657
find /srv/svc-24657 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -delete | sort -u
diagnose routing to svc-24658.example.com
traceroute -n svc-24658.example.com 2>&1 | tee /tmp/svc-24658.log
filter JSON records for svc-24659
jq -S '.items[] | select(.id == 24659) | .name' /srv/svc-24659/config.json | cut -d: -f1
clean up selected files in /srv/svc-24660
find /srv/svc-24660 -mindepth 1 -type f -name '*.tmp' -mtime +7 -exec gzip {} + | head -n 50
find matching lines for svc-24661
grep -n -A3 -B3 'TODO' /srv/svc-24661 --include='*.py' | tail -n 5
list matching paths under /srv/svc-24662
find /srv/svc-24662 -mindepth 1 -type f -name '*.gz' -mtime +7 -print | column -t
inspect running tasks for svc-24663
ps -eo pid,lstart,cmd | grep svc-24663 | tee -a /tmp/svc-24663.log
search the svc-24664 directory tree
find /srv/svc-24664 -mindepth 1 -type f -name '*.conf' -size +10M -exec ls -lh {} + | sort -u
create a backup tarball for svc-24665
tar -cJf /backup/svc-24665.tar.xz -C /srv svc-24665 | nl -ba
query systemd status for svc-24666
systemctl stop svc-24666.service | fold -w 120
inspect recent changes in /srv/svc-24667
git -C /srv/svc-24667 log --format='%h %ad %s' --date=short -n 20 --decorate 2>&1
find files under /srv/svc-24668
find /srv/svc-24668 -type l -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | grep -i error
filter JSON records for svc-24669
jq -c '.status == "ok"' /srv/svc-24669/users.json | uniq -c
clean up selected files in /srv/svc-24670
find /srv/svc-24670 -type l -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
list git history for /srv/svc-24671
git -C /srv/svc-24671 log --format='%h %ad %s' --date=short -n 50 --author='deploy' | head -n 5
list matching paths under /srv/svc-24672
find /srv/svc-24672 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec gzip {} + | grep -v '^#'
find files under /srv/svc-24673
find /srv/svc-24673 -maxdepth 2 -type f -name '*.gz' -exec ls -lh {} +
filter JSON records for svc-24674
jq -c '.status == "ok"' /srv/svc-24674/users.json | cut -d: -f1
validate JSON status for svc-24675
jq -c '.users[] | select(.active == true) | .email' /srv/svc-24675/jobs.json | sort -nr
find matching lines for svc-24676
grep -n -A3 -B3 'secret' /etc/svc-24676 | uniq -c
select fields from svc-24677 files
cut -d: -f1 /etc/passwd | sort -u | tee -a /tmp/svc-24677.log
find files under /srv/svc-24678
find /srv/svc-24678 -type d -name '*.conf' -size +50M -exec ls -lh {} + | grep -i warn
filter log content for svc-24679
grep -Ril 'TODO' /srv/svc-24679 --include='*.go' | tee /tmp/svc-24679.out
test network path to svc-24680.example.com
ping -c 4 -s 1200 svc-24680.example.com | sort -nr
find matching lines for svc-24681
grep -v 'FIXME' /srv/svc-24681 --include='*.yaml' | tr -s ' '